diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-11-22 06:12:00 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-11-22 06:12:00 +0000 |
commit | 5e25ae8c8a04f592fc36241ff8c77c36ad8bc667 (patch) | |
tree | 502351fd26a28e3005a504e8dd92c646b7019b64 /net-dialup | |
parent | Use econf/install with DESTDIR. (Manifest recommit) (diff) | |
download | gentoo-2-5e25ae8c8a04f592fc36241ff8c77c36ad8bc667.tar.gz gentoo-2-5e25ae8c8a04f592fc36241ff8c77c36ad8bc667.tar.bz2 gentoo-2-5e25ae8c8a04f592fc36241ff8c77c36ad8bc667.zip |
add pcmcia and usb flags to IUSE
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/fritzcapi/ChangeLog | 5 | ||||
-rw-r--r-- | net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild | 18 |
2 files changed, 17 insertions, 6 deletions
diff --git a/net-dialup/fritzcapi/ChangeLog b/net-dialup/fritzcapi/ChangeLog index ed1f5b5ff10b..46224f6dd393 100644 --- a/net-dialup/fritzcapi/ChangeLog +++ b/net-dialup/fritzcapi/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/fritzcapi # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/ChangeLog,v 1.1 2004/11/20 13:31:41 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/ChangeLog,v 1.2 2004/11/22 06:12:00 mrness Exp $ + + 22 Nov 2004; Alin Nastac <mrness@gentoo.org> fritzcapi-2.6.26.7.ebuild: + Add pcmcia and usb flags to IUSE. *fritzcapi-2.6.26.7 (20 Nov 2004) diff --git a/net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild b/net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild index 139aa7ac7fe9..055a414b30dc 100644 --- a/net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild +++ b/net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild,v 1.1 2004/11/20 13:31:41 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild,v 1.2 2004/11/22 06:12:00 mrness Exp $ inherit kernel-mod rpm @@ -13,11 +13,10 @@ SRC_URI="ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/km_${P/2.6./2.6-}. LICENSE="LGPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" +IUSE="pcmcia usb" RDEPEND=">=net-dialup/capi4k-utils-20040810" DEPEND="${RDEPEND} - app-arch/rpm2targz virtual/linux-sources" pkg_setup() { @@ -35,11 +34,20 @@ src_unpack() { } src_compile() { - unset ARCH - emake KERNEL_SOURCE="${ROOT}/usr/src/linux" modules || die "emake modules failed" + ( + unset ARCH + emake KERNEL_SOURCE="${ROOT}/usr/src/linux" modules || die "emake modules failed" + ) } src_install() { + if ! useq pcmcia ; then + rm fritz.*/src/*pcmcia*.ko + fi + if ! useq usb ; then + rm fritz.*/src/*usb*.ko + fi + insinto /lib/modules/${KV_VERSION_FULL}/extra doins fritz.*/src/*.ko } |