/[gentoo-x86]/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild
Gentoo

Contents of /sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Aug 3 18:03:35 2012 UTC (2 years, 2 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +5 -5 lines
Added static-libs, keyword amd64-linux x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 bicatali 1.3 # Copyright 1999-2012 Gentoo Foundation
2 jlec 1.1 # Distributed under the terms of the GNU General Public License v2
3 bicatali 1.3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild,v 1.2 2011/06/26 14:47:52 jlec Exp $
4 jlec 1.1
5 jlec 1.2 EAPI=4
6 jlec 1.1
7     inherit autotools eutils
8    
9     DESCRIPTION="Genetic Algorithm Utility Library"
10     HOMEPAGE="http://GAUL.sourceforge.net/"
11     SRC_URI="mirror://sourceforge/gaul/${P}-0.tar.bz2"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 bicatali 1.3 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16     IUSE="debug slang static-libs"
17 jlec 1.1
18 jlec 1.2 DEPEND="
19     sys-apps/sed
20     slang? ( sys-libs/slang )"
21     RDEPEND="${DEPEND}"
22 jlec 1.1
23     S=${WORKDIR}/${P}-0
24    
25     src_prepare() {
26 jlec 1.2 epatch \
27     "${FILESDIR}"/${P}-slang2-error.patch \
28     "${FILESDIR}"/${P}-as-needed.patch
29 jlec 1.1 eautoreconf
30     }
31    
32     src_configure() {
33     local myconf
34     use slang || myconf="--enable-slang=no"
35     if use debug ; then
36     myconf="${myconf} --enable-debug=yes --enable-memory-debug=yes"
37     else
38     myconf="${myconf} --enable-g=no"
39     fi
40 bicatali 1.3 econf $(use_enable static-libs static) ${myconf}
41 jlec 1.1 }
42    
43     src_install() {
44 jlec 1.2 MAKEOPTS+=" -j1"
45     default
46 jlec 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20