summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/gaul-devel/gaul-devel-0.1846.ebuild')
-rw-r--r--sci-libs/gaul-devel/gaul-devel-0.1846.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-libs/gaul-devel/gaul-devel-0.1846.ebuild b/sci-libs/gaul-devel/gaul-devel-0.1846.ebuild
new file mode 100644
index 000000000000..ffc1e0f07639
--- /dev/null
+++ b/sci-libs/gaul-devel/gaul-devel-0.1846.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 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.1846.ebuild,v 1.1 2004/12/28 20:25:09 ribosome Exp $
+
+
+DESCRIPTION="Genetic Algorithm Utility Library"
+HOMEPAGE="http://GAUL.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gaul/${P}-0.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="slang doc"
+
+DEPEND="slang? ( >=sys-libs/slang-1.4.5-r2 )
+ >=sys-apps/sed-4.0.7"
+
+RDEPEND="slang? ( >=sys-libs/slang-1.4.5-r2 )"
+
+# Will talk to Stewart about his version scheme...
+S=${WORKDIR}/${P}-0
+
+src_compile() {
+ local myconf
+ use slang || myconf="--enable-slang=no"
+
+ econf ${myconf} || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ #In order to compile anything after, this is needed!
+ #cp ${S}/config.h ${D}/${GAUL}/include/
+ #is it really? (george)
+
+ #this also is unnecesary
+ #dodir /etc/env.d/
+ #echo "LDPATH=/usr/lib/" >> ${D}/etc/env.d/25gaul
+
+ use doc && (
+ dodir /usr/share/${PN}
+ cp -a tests examples ${D}/usr/share/${PN}
+ )
+}