diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-20 15:01:21 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-20 15:01:21 +0000 |
commit | 7a7a13944ceeb22302e4dc4164bd1842fba02e0e (patch) | |
tree | 5a55ff5a92374d6114cd59fe7f9a90a848109f1d /sys-apps/pcmciautils | |
parent | Added sys-apps/pcmciautils:udev (diff) | |
download | gentoo-2-7a7a13944ceeb22302e4dc4164bd1842fba02e0e.tar.gz gentoo-2-7a7a13944ceeb22302e4dc4164bd1842fba02e0e.tar.bz2 gentoo-2-7a7a13944ceeb22302e4dc4164bd1842fba02e0e.zip |
Version bump. This version installs as an udev handler when USE=udev, and as a hotplug handler when USE=-udev.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'sys-apps/pcmciautils')
-rw-r--r-- | sys-apps/pcmciautils/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/pcmciautils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/pcmciautils/files/digest-pcmciautils-010 | 1 | ||||
-rw-r--r-- | sys-apps/pcmciautils/pcmciautils-010.ebuild | 88 |
4 files changed, 100 insertions, 2 deletions
diff --git a/sys-apps/pcmciautils/ChangeLog b/sys-apps/pcmciautils/ChangeLog index 54fdbc6f0c74..bab114a24dd0 100644 --- a/sys-apps/pcmciautils/ChangeLog +++ b/sys-apps/pcmciautils/ChangeLog @@ -1,6 +1,13 @@ # 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.7 2005/08/29 20:32:12 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.8 2005/10/20 15:01:21 brix Exp $ + +*pcmciautils-010 (20 Oct 2005) + + 20 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> + +pcmciautils-010.ebuild: + Version bump. This version installs as an udev handler when USE=udev, and as + a hotplug handler when USE=-udev. *pcmciautils-008 (29 Aug 2005) diff --git a/sys-apps/pcmciautils/Manifest b/sys-apps/pcmciautils/Manifest index 728443afc71d..80ebd82cd054 100644 --- a/sys-apps/pcmciautils/Manifest +++ b/sys-apps/pcmciautils/Manifest @@ -1,6 +1,8 @@ +MD5 5c25e051ac8f3cac19e03b183237ed52 pcmciautils-010.ebuild 2148 MD5 6249d7d502898bc76d3a7e0a8558936a pcmciautils-008.ebuild 2085 MD5 9c74271019e4120031c3b2c9d27a5e38 pcmciautils-007.ebuild 2085 -MD5 6390e85a397a87c5bd6c65fd996b1c62 ChangeLog 1188 +MD5 ae5112aba3bdab0aa5d775a5446226e3 ChangeLog 1417 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 807939d55ad5fb4a2ec533a1d40ecd62 files/digest-pcmciautils-007 67 MD5 e7d980571f7d04762696f9e9da068383 files/digest-pcmciautils-008 67 +MD5 f0b6ef73c257acea57b05a10e0019fc2 files/digest-pcmciautils-010 67 diff --git a/sys-apps/pcmciautils/files/digest-pcmciautils-010 b/sys-apps/pcmciautils/files/digest-pcmciautils-010 new file mode 100644 index 000000000000..d9a6594efd80 --- /dev/null +++ b/sys-apps/pcmciautils/files/digest-pcmciautils-010 @@ -0,0 +1 @@ +MD5 ff3cb012fd1a8801e912054b45420ac2 pcmciautils-010.tar.bz2 35949 diff --git a/sys-apps/pcmciautils/pcmciautils-010.ebuild b/sys-apps/pcmciautils/pcmciautils-010.ebuild new file mode 100644 index 000000000000..f7925e3fe90d --- /dev/null +++ b/sys-apps/pcmciautils/pcmciautils-010.ebuild @@ -0,0 +1,88 @@ +# 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-010.ebuild,v 1.1 2005/10/20 15:01:21 brix Exp $ + +inherit 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 udev" +RDEPEND=">=sys-fs/sysfsutils-1.2.0-r1 + >=sys-apps/module-init-tools-3.2_pre4 + udev? ( >=sys-fs/udev-068 ) + !udev? ( >=sys-apps/hotplug-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:" \ + -e "s:^\(CFLAGS \:=.*\):\1 ${CFLAGS}:" \ + ${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 + + if use udev; then + sed -i -e "s:^\(UDEV\) = .*:\1 = true:" ${S}/Makefile + else + sed -i -e "s:^\(UDEV\) = .*:\1 = false:" ${S}/Makefile + fi +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" \ + || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make 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 +} |