From 051f31630c67771d83adbab47d82440641cae5c5 Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Mon, 23 Apr 2007 11:32:19 +0000 Subject: [PATCH] add deps and use flags Package-Manager: portage-2.1.2.4 --- dev-scheme/stklos/ChangeLog | 5 ++++- dev-scheme/stklos/Manifest | 16 ++++++++-------- dev-scheme/stklos/stklos-0.82.ebuild | 28 ++++++++++++++++++++++++---- 3 files changed, 36 insertions(+), 13 deletions(-) diff --git a/dev-scheme/stklos/ChangeLog b/dev-scheme/stklos/ChangeLog index c1a3dad45afb..fb166a0eb8bc 100644 --- a/dev-scheme/stklos/ChangeLog +++ b/dev-scheme/stklos/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-scheme/stklos # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/stklos/ChangeLog,v 1.1 2007/04/19 15:21:19 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/stklos/ChangeLog,v 1.2 2007/04/23 11:32:19 hkbst Exp $ + + 23 Apr 2007; Marijn Schouten stklos-0.82.ebuild: + add deps and use flags *stklos-0.82 (19 Apr 2007) diff --git a/dev-scheme/stklos/Manifest b/dev-scheme/stklos/Manifest index d50a11444867..17b587b8ea46 100644 --- a/dev-scheme/stklos/Manifest +++ b/dev-scheme/stklos/Manifest @@ -1,12 +1,12 @@ DIST stklos-0.82.tar.gz 4077458 RMD160 34dff00248f590d216d3858cecc95299a7fb8a09 SHA1 e7858377dfb800055f9d34e0a375960960301503 SHA256 6d8e8a9577292faad5845218cd0289140bef4b8b398760e6eb0287b3c563672c -EBUILD stklos-0.82.ebuild 498 RMD160 bdf8a4c65b2c8aa88458e258903609aebbf0a7ca SHA1 a9281755c66cc5c21a390bd4b8c60f95473145e3 SHA256 1a01652a25ff77c6a53226868fa01c90a1ada15179928a38e9ba8184b0f5b50a -MD5 673c40037a9e03eccaa44ed1a5612096 stklos-0.82.ebuild 498 -RMD160 bdf8a4c65b2c8aa88458e258903609aebbf0a7ca stklos-0.82.ebuild 498 -SHA256 1a01652a25ff77c6a53226868fa01c90a1ada15179928a38e9ba8184b0f5b50a stklos-0.82.ebuild 498 -MISC ChangeLog 340 RMD160 cb5e69ec75de33d945c2a3e3b5795bb591adb3fe SHA1 d360ec73c4f6dfcf509ccdbdaca7b87d7d95529c SHA256 ffa9cf914b9eda10999b0b52c3677a6d9b5bcc9f9d411bfdf95b3ae76783090e -MD5 3e5d4ab05de43091eb2bc39f34ea3056 ChangeLog 340 -RMD160 cb5e69ec75de33d945c2a3e3b5795bb591adb3fe ChangeLog 340 -SHA256 ffa9cf914b9eda10999b0b52c3677a6d9b5bcc9f9d411bfdf95b3ae76783090e ChangeLog 340 +EBUILD stklos-0.82.ebuild 1421 RMD160 5e2b85364c7cbd79cd21f8cb85641d4fdf7be5e0 SHA1 62ce923f93e179004adf68eb90e628af2f350ddd SHA256 4628fffa4deffbcfee66e18191c6ddb78515f812e02dab3a2026a26beee3a287 +MD5 ff53be64315dbae29651328180e49bb9 stklos-0.82.ebuild 1421 +RMD160 5e2b85364c7cbd79cd21f8cb85641d4fdf7be5e0 stklos-0.82.ebuild 1421 +SHA256 4628fffa4deffbcfee66e18191c6ddb78515f812e02dab3a2026a26beee3a287 stklos-0.82.ebuild 1421 +MISC ChangeLog 436 RMD160 d0471cae0550d9e53a5a056d935fc971790dded8 SHA1 e534c38a773df9fcfd9e20ecf1500bf0a3e5152e SHA256 af2d191e3896c37c62601df1a500d0c8c717f213d13ab046d398ca43976bf573 +MD5 282cd631e96705d15b551da549629fc7 ChangeLog 436 +RMD160 d0471cae0550d9e53a5a056d935fc971790dded8 ChangeLog 436 +SHA256 af2d191e3896c37c62601df1a500d0c8c717f213d13ab046d398ca43976bf573 ChangeLog 436 MISC metadata.xml 587 RMD160 ce929e8ee245b9420f28c2f19a57fc77eba41ee1 SHA1 4b9196812338770a414cdbbb0ad894b5963ea764 SHA256 e03e7285b4247851ac554906e190d6e828574bf8cb5706188dc8c1a8ff084303 MD5 310ff323fb4cdc840898aa2cf2f89b0c metadata.xml 587 RMD160 ce929e8ee245b9420f28c2f19a57fc77eba41ee1 metadata.xml 587 diff --git a/dev-scheme/stklos/stklos-0.82.ebuild b/dev-scheme/stklos/stklos-0.82.ebuild index c72a1d560980..2aa25e122e78 100644 --- a/dev-scheme/stklos/stklos-0.82.ebuild +++ b/dev-scheme/stklos/stklos-0.82.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Technologies, Inc. +# Copyright 2007 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/stklos/stklos-0.82.ebuild,v 1.1 2007/04/19 15:21:19 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/stklos/stklos-0.82.ebuild,v 1.2 2007/04/23 11:32:19 hkbst Exp $ DESCRIPTION="fast and light Scheme implementation" HOMEPAGE="http://www.stklos.org" @@ -9,8 +9,28 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -IUSE="" -DEPEND="" +IUSE="threads ldap gtk gnome" +DEPEND="dev-libs/gmp dev-libs/libpcre dev-libs/boehm-gc + ldap? ( net-nds/openldap ) + gtk? ( x11-libs/gtk+ )" +# gnome? ( )" # some using gnome should figure out what package will enable gnome support +#silex and ``The Dominique Boucher LALR Package'' may also be deps, not in tree though +RDEPEND="${DEPEND}" + + +src_compile() { +# Inverses of options are treated like the options themselves. +# Therefore don't use use_enable or use_with or manually invert options. + +#anyone interested in lurc threads? not in tree though + econf $(use_enable threads threads pthreads) $(use ldap && echo --enable-ldap) $(use !gtk && echo --disable-gtk) $(use !gnome && echo --disable-gnome) + +# Thus unfortunately the following doesn't work +# econf --enable-threads=pthreads $(use_enable ldap) $(use_enable gtk) $(use_enable gnome) \ +# --without-gmp-light --without-provided-gc --without-provided-regexp + + emake || die "emake failed" +} src_install() { emake DESTDIR="${D}" install || die "Install failed" -- 2.26.2