blob: ffc1e0f0763964e62c2040b3e9056d66f78d0433 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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}
)
}
|