summaryrefslogtreecommitdiff
blob: 54f45cae0ef338744895f5d2060554933216b752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boolstuff/boolstuff-0.1.13.ebuild,v 1.3 2010/06/13 14:47:13 phajdan.jr Exp $

EAPI="2"

inherit autotools

DESCRIPTION="A C++ library that supports a few operations on boolean expression binary trees."
HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/boolstuff.html"
SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static"

src_prepare(){
	#fix documentation installation
	sed -i "s/doc\/\$(PACKAGE)-\$(VERSION)/doc\/${PF}/" \
		Makefile.am || die "failed to fix docdir"
	eautoreconf

}

src_configure(){
	econf $(use_enable static)
}

src_install () {
	emake DESTDIR="${D}" install || die "install failed"
}