summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-07-29 21:52:58 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-07-29 21:52:58 +0000
commitb03b087562eebfd67641ec51ab71d97323d2bedb (patch)
tree50a86e18bd4f80c0c7b21495af10508cf7696192
parentbug 99807 (diff)
downloadgentoo-2-b03b087562eebfd67641ec51ab71d97323d2bedb.tar.gz
gentoo-2-b03b087562eebfd67641ec51ab71d97323d2bedb.tar.bz2
gentoo-2-b03b087562eebfd67641ec51ab71d97323d2bedb.zip
Version bump.
(Portage version: 2.0.51.22-r2)
-rw-r--r--sys-apps/pcmciautils/ChangeLog8
-rw-r--r--sys-apps/pcmciautils/Manifest4
-rw-r--r--sys-apps/pcmciautils/files/digest-pcmciautils-0071
-rw-r--r--sys-apps/pcmciautils/pcmciautils-007.ebuild83
4 files changed, 94 insertions, 2 deletions
diff --git a/sys-apps/pcmciautils/ChangeLog b/sys-apps/pcmciautils/ChangeLog
index 1574b7c762e9..7f3857ea4432 100644
--- a/sys-apps/pcmciautils/ChangeLog
+++ b/sys-apps/pcmciautils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/pcmciautils
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.4 2005/07/18 13:40:48 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.5 2005/07/29 21:52:58 brix Exp $
+
+*pcmciautils-007 (29 Jul 2005)
+
+ 29 Jul 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +pcmciautils-007.ebuild:
+ Version bump.
*pcmciautils-006 (18 Jul 2005)
diff --git a/sys-apps/pcmciautils/Manifest b/sys-apps/pcmciautils/Manifest
index 110f01b0647f..17290af42eaa 100644
--- a/sys-apps/pcmciautils/Manifest
+++ b/sys-apps/pcmciautils/Manifest
@@ -1,8 +1,10 @@
MD5 d36b75afaddb10a2d663e0e190b7cc65 pcmciautils-006.ebuild 2085
MD5 ef9afb8150cad447362b8e6c691b0f8c pcmciautils-005.ebuild 2109
+MD5 6126fc774339221019640a994b8bf0b7 pcmciautils-007.ebuild 1982
MD5 fec29ac448be6d79876ece42f82bb37d pcmciautils-004.ebuild 2109
-MD5 ea90ce6e5f91f9b80f01024d02b6992c ChangeLog 773
+MD5 e589a935c022acdf5aaa352d8f87439d ChangeLog 903
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
MD5 a05c18e20e1f29790f87ab132a81cafb files/digest-pcmciautils-004 67
MD5 4d79fbb020b785f23109834236205053 files/digest-pcmciautils-005 67
MD5 0343058964e42be7b8771c5431062acc files/digest-pcmciautils-006 67
+MD5 807939d55ad5fb4a2ec533a1d40ecd62 files/digest-pcmciautils-007 67
diff --git a/sys-apps/pcmciautils/files/digest-pcmciautils-007 b/sys-apps/pcmciautils/files/digest-pcmciautils-007
new file mode 100644
index 000000000000..af9418eee8de
--- /dev/null
+++ b/sys-apps/pcmciautils/files/digest-pcmciautils-007
@@ -0,0 +1 @@
+MD5 af6e65394a194d50df60153f975948b7 pcmciautils-007.tar.bz2 34421
diff --git a/sys-apps/pcmciautils/pcmciautils-007.ebuild b/sys-apps/pcmciautils/pcmciautils-007.ebuild
new file mode 100644
index 000000000000..3091cd9e084a
--- /dev/null
+++ b/sys-apps/pcmciautils/pcmciautils-007.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/pcmciautils-007.ebuild,v 1.1 2005/07/29 21:52:58 brix Exp $
+
+inherit eutils toolchain-funcs linux-info
+
+DESCRIPTION="PCMCIA userspace utilities for Linux kernel 2.6.13 and beyond"
+
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/"
+SRC_URI="mirror://kernel/linux/utils/kernel/pcmcia/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="cis debug staticsocket"
+RDEPEND=">=sys-fs/sysfsutils-1.2.0-r1
+ >=sys-apps/module-init-tools-3.2_pre4
+ >=sys-apps/hotplug-20040920
+ >=sys-apps/coldplug-20040920
+ cis? ( sys-apps/pcmcia-cs-cis )"
+DEPEND="${RDEPEND}
+ dev-util/yacc
+ sys-devel/flex
+ sys-apps/sed"
+PROVIDE="virtual/pcmcia"
+
+CONFIG_CHECK="PCMCIA"
+ERROR_PCMCIA="${P} requires 16-bit PCMCIA support (CONFIG_PCMCIA)"
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ if kernel_is lt 2 6 13; then
+ eerror
+ eerror "${P} requires at least kernel 2.6.13."
+ eerror
+ die "${P} requires at least kernel 2.6.13."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:^\(KERNEL_DIR\) = .*:\1 = ${KV_DIR}:" \
+ -e "s:^\(V\)=false:\1=true:" \
+ ${S}/Makefile
+
+ if use debug; then
+ sed -i \
+ -e "s:^\(DEBUG\) = .*:\1 = true:" \
+ ${S}/Makefile
+ fi
+
+ if use staticsocket; then
+ sed -i -e "s:^\(STARTUP\) = .*:\1 = false:" ${S}/Makefile
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LD="$(tc-getCC)" CFLAGS="${CFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "A mini-HOWTO for using pcmciautils can be found at:"
+ einfo "http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html"
+ ewarn
+ ewarn "If you relied on pcmcia-cs to automatically load the"
+ ewarn "appropriate PCMCIA-related modules upon boot, you need"
+ ewarn "to add "
+ ewarn " pcmcia"
+ ewarn "and the PCMCIA socket driver you need for this system"
+ ewarn "(yenta-socket, i82092, i82365, ...) to"
+ ewarn "/etc/modules.autoload.d/kernel-2.6"
+ ewarn
+}