diff options
Diffstat (limited to 'sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild')
-rw-r--r-- | sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild b/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild new file mode 100644 index 000000000000..62daab8e10cc --- /dev/null +++ b/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild,v 1.1 2008/02/09 13:24:32 drac Exp $ + +DESCRIPTION="Genetic Algorithm Utility Library" +HOMEPAGE="http://GAUL.sourceforge.net/" +SRC_URI="mirror://sourceforge/gaul/${P}-0.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="~x86 ~amd64" + +IUSE="debug" + +DEPEND="virtual/libc + >=sys-apps/sed-4" + +S="${WORKDIR}/${P}-0" + +src_compile() { + local myconf="--enable-slang=no" + if use debug ; then + myconf="${myconf} --enable-debug=yes --enable-memory-debug=yes" + else + myconf="${myconf} --enable-g=no" + fi + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "Install failed" + dodoc README +} |