diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-13 17:32:47 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-13 17:32:47 +0000 |
commit | ef3446c256ae3a7e7b42832458853d3b5a108080 (patch) | |
tree | 54324b6a493617b91240bc71cf547797ba2554f3 /media-libs/nas/nas-1.6c-r1.ebuild | |
parent | manifest (diff) | |
download | gentoo-2-ef3446c256ae3a7e7b42832458853d3b5a108080.tar.gz gentoo-2-ef3446c256ae3a7e7b42832458853d3b5a108080.tar.bz2 gentoo-2-ef3446c256ae3a7e7b42832458853d3b5a108080.zip |
Remove the static lib if USE=-static
Diffstat (limited to 'media-libs/nas/nas-1.6c-r1.ebuild')
-rw-r--r-- | media-libs/nas/nas-1.6c-r1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/nas/nas-1.6c-r1.ebuild b/media-libs/nas/nas-1.6c-r1.ebuild index 6a153874c651..3d908bc9a4fe 100644 --- a/media-libs/nas/nas-1.6c-r1.ebuild +++ b/media-libs/nas/nas-1.6c-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r1.ebuild,v 1.4 2004/04/13 16:12:41 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r1.ebuild,v 1.5 2004/04/13 17:32:47 eradicator Exp $ DESCRIPTION="Network Audio System" SRC_URI="http://radscan.com/nas/${P}.src.tar.gz" @@ -10,7 +10,7 @@ SLOT="0" LICENSE="X11" KEYWORDS="x86 ~sparc ~ppc ~hppa ~alpha ~amd64 ~ia64 ~mips" -IUSE="" +IUSE="static" # This is ridculuous, we only need xmkmf, but no other package # provides it. 20020607 (Seemant): Actually, the homepage says it needs @@ -44,6 +44,9 @@ src_install () { mv ${D}/etc/nas/nasd.conf.eg ${D}/etc/nas/nasd.conf dosed 's,\(MixerInit.*\)"\(.*\)",\1"no",' /etc/nas/nasd.conf + # Remove the static lib + use static || rm ${D}/usr/X11R6/lib/libaudio.a + insinto /etc/conf.d newins ${FILESDIR}/nas.conf.d nas exeinto /etc/init.d |