summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2004-11-22 06:12:00 +0000
committerAlin Năstac <mrness@gentoo.org>2004-11-22 06:12:00 +0000
commitbfb0b1624fde6efd95ecde88e33c480950c12a20 (patch)
tree8bd1f8aeeaafccb6e415de0bbea4172e00dacdab /net-dialup/fritzcapi
parentUse econf/install with DESTDIR. (diff)
downloadhistorical-bfb0b1624fde6efd95ecde88e33c480950c12a20.tar.gz
historical-bfb0b1624fde6efd95ecde88e33c480950c12a20.tar.bz2
historical-bfb0b1624fde6efd95ecde88e33c480950c12a20.zip
add pcmcia and usb flags to IUSE
Diffstat (limited to 'net-dialup/fritzcapi')
-rw-r--r--net-dialup/fritzcapi/ChangeLog5
-rw-r--r--net-dialup/fritzcapi/Manifest10
-rw-r--r--net-dialup/fritzcapi/fritzcapi-2.6.26.7.ebuild18
3 files changed, 22 insertions, 11 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/Manifest b/net-dialup/fritzcapi/Manifest
index dfa630281deb..253148f6fd6f 100644
--- a/net-dialup/fritzcapi/Manifest
+++ b/net-dialup/fritzcapi/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 a063dbca5284139ce60c427f8c811b04 fritzcapi-2.6.26.7.ebuild 1450
+MD5 1f97975f589a67c14d90d9070cee4350 fritzcapi-2.6.26.7.ebuild 1559
MD5 1263c46695d96ea0f5d40540b938c13c metadata.xml 301
-MD5 00fbae82eb7e43a6bb1765b3704017d6 ChangeLog 423
+MD5 ae8e42da50b8f33c0fc3581e49d2c54d ChangeLog 534
MD5 accf9b4a9f56c30c485802543f4e44d5 files/digest-fritzcapi-2.6.26.7 76
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBn0dGjtv59x0+BrURAlXKAJ9xPxoBF5SYuikjOsaKtaCgWvCTQACfQn04
-oiFZeVJjfSYIgYt6hkdhjg0=
-=4HYR
+iD8DBQFBoYM8jtv59x0+BrURAmYNAKC+SRrbR/qRVYcRY1ntZlZ1vqzxfwCbBnEW
+hWd0wL0AT59oDtUYeU2hqwo=
+=ii8W
-----END PGP SIGNATURE-----
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
}