diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2002-08-06 20:27:24 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2002-08-06 20:27:24 +0000 |
commit | 0331ae2bb99eb36108c28b7a694b2af415a3527d (patch) | |
tree | 250352c97fa1a5c2b1c25ad0080617a361c921d7 /sys-apps/pcmcia-cs | |
parent | Removed mask for pcmcia-cs-3.2.0 and removed some comments about a mask that ... (diff) | |
download | historical-0331ae2bb99eb36108c28b7a694b2af415a3527d.tar.gz historical-0331ae2bb99eb36108c28b7a694b2af415a3527d.tar.bz2 historical-0331ae2bb99eb36108c28b7a694b2af415a3527d.zip |
Removing some very old ebuilds
Diffstat (limited to 'sys-apps/pcmcia-cs')
-rw-r--r-- | sys-apps/pcmcia-cs/pcmcia-cs-3.1.31-r7.ebuild | 111 | ||||
-rw-r--r-- | sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r3.ebuild | 110 | ||||
-rw-r--r-- | sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r4.ebuild | 115 | ||||
-rw-r--r-- | sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r3.ebuild | 123 | ||||
-rw-r--r-- | sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r5.ebuild | 128 | ||||
-rw-r--r-- | sys-apps/pcmcia-cs/pcmcia-cs-3.1.35_beta2.ebuild | 137 |
6 files changed, 0 insertions, 724 deletions
diff --git a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.31-r7.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.1.31-r7.ebuild deleted file mode 100644 index 9e34c89f85f0..000000000000 --- a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.31-r7.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.1.31-r7.ebuild,v 1.7 2002/08/01 11:40:16 seemant Exp $ - -# This ebuild installs ${FILESDIR}/hermes.conf, which you can get from -# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/hermes.conf - -S=${WORKDIR}/${P} -DESCRIPTION="PCMCIA tools for Linux" -SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz" -HOMEPAGE="http://pcmcia-cs.sourceforge.net" -KEYWORDS="x86" -SLOT="0" -DEPEND="sys-kernel/linux-headers" -RDEPEND="" -LICENSE="GPL-2" - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that pcmcia-cs should use for configuration. - -src_unpack() { - unpack ${A} - cd ${S} - cp Configure Configure.orig - sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure - #man pages will now install into /usr/share/man -} - -src_compile() { - local myconf - if [ -n "`use trusted`" ] ; then - myconf="--trust" - else - myconf="--notrust" - fi - - if [ -n "`use apm`" ] ; then - myconf="$myconf --apm" - else - myconf="$myconf --noapm" - fi - - if [ -n "`use pnp`" ] ; then - myconf="$myconf --pnp" - else - myconf="$myconf --nopnp" - fi - - if [ -n "`use nocardbus`" ] ; then - myconf="$myconf --nocardbus" - else - myconf="$myconf --cardbus" - fi - - echo $myconf - #use $CFLAGS for user tools, but standard kernel optimizations for the kernel modules (for compatibility) - ./Configure -n \ - --target=${D} \ - --srctree \ - --kernel=/usr/src/linux \ - --arch="i386" \ - --uflags="$CFLAGS" \ - --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ - $myconf || die "failed configuring" - # nopnp and noapm are important, because without them the pcmcia-cs - # tools will require a kernel with ISA PnP and/or APM support, - # which cannot be guaranteed. We need to make sure the tools - # work *all* the time, not just some of the time. - - # The --srctree option tells pcmcia-cs to configure for the kernel in /usr/src/linux - # rather than the currently-running kernel. It's Gentoo Linux policy to configure for - # the kernel in /usr/src/linux - emake all || die "failed compiling" -} - -src_install () { - make PREFIX=${D} install || die "failed installing" - cd ${D} - rm -rf etc/rc*.d - # remove X util if USE X isn't set - # this is simply much easier than patching configure or the makefiles - # not to build them in the first place - use X || rm -rf usr/X11R6 - # todo: if they are nstalled, move them to /usr - - insinto /etc/conf.d - newins ${FILESDIR}/pcmcia.conf pcmcia - - insinto /etc/pcmcia - doins ${FILESDIR}/network - - # install our own init script - exeinto /etc/init.d - newexe ${FILESDIR}/pcmcia.rc6 pcmcia - if [ -z "`use build`" ] - then - cd ${S} - # install docs - dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ - README-2.4 SUPPORTED.CARDS doc/* - else - rm -rf ${D}/usr/share/man - fi - rm -f ${D}/etc/modules.conf - rm -rf ${D}/var/lib/pcmcia -} - -src_postinst() { - einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the PCMCIA support in the kernel." - einfo "(Otherwise, you might experience CardServices version mismatch errors)" -} diff --git a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r3.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r3.ebuild deleted file mode 100644 index 06f954de5904..000000000000 --- a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r3.ebuild,v 1.8 2002/08/01 11:40:16 seemant Exp $ - -# This ebuild installs ${FILESDIR}/hermes.conf, which you can get from -# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/hermes.conf - -S=${WORKDIR}/${P} -DESCRIPTION="PCMCIA tools for Linux" -SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz" -HOMEPAGE="http://pcmcia-cs.sourceforge.net" -KEYWORDS="x86" -SLOT="0" -DEPEND="sys-kernel/linux-headers" -RDEPEND="" -LICENSE="GPL-2" - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that pcmcia-cs should use for configuration. - -src_unpack() { - unpack ${A} - cd ${S} - cp Configure Configure.orig - sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure - #man pages will now install into /usr/share/man -} - -src_compile() { - local myconf - if [ -n "`use trusted`" ] ; then - myconf="--trust" - else - myconf="--notrust" - fi - - if [ -n "`use apm`" ] ; then - myconf="$myconf --apm" - else - myconf="$myconf --noapm" - fi - - if [ -n "`use pnp`" ] ; then - myconf="$myconf --pnp" - else - myconf="$myconf --nopnp" - fi - - if [ -n "`use nocardbus`" ] ; then - myconf="$myconf --nocardbus" - else - myconf="$myconf --cardbus" - fi - - #use $CFLAGS for user tools, but standard kernel optimizations for the kernel modules (for compatibility) - ./Configure -n \ - --target=${D} \ - --srctree \ - --kernel=/usr/src/linux \ - --arch="i386" \ - --uflags="$CFLAGS" \ - --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ - $myconf || die "failed configuring" - # nopnp and noapm are important, because without them the pcmcia-cs - # tools will require a kernel with ISA PnP and/or APM support, - # which cannot be guaranteed. We need to make sure the tools - # work *all* the time, not just some of the time. - - # The --srctree option tells pcmcia-cs to configure for the kernel in /usr/src/linux - # rather than the currently-running kernel. It's Gentoo Linux policy to configure for - # the kernel in /usr/src/linux - emake all || die "failed compiling" -} - -src_install () { - make PREFIX=${D} install || die "failed installing" - cd ${D} - rm -rf etc/rc*.d - # remove X - # this is simply much easier than patching configure or the makefiles - # not to build them in the first place - rm -rf usr/X11R6 - # todo: if they are nstalled, move them to /usr - - insinto /etc/conf.d - newins ${FILESDIR}/pcmcia.conf pcmcia - - exeinto /etc/pcmcia - doexe ${FILESDIR}/network - - # install our own init script - exeinto /etc/init.d - newexe ${FILESDIR}/pcmcia.rc6 pcmcia - if [ -z "`use build`" ] - then - cd ${S} - # install docs - dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ - README-2.4 SUPPORTED.CARDS doc/* - else - rm -rf ${D}/usr/share/man - fi - rm -f ${D}/etc/modules.conf - rm -rf ${D}/var/lib/pcmcia -} - -src_postinst() { - einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the PCMCIA support in the kernel." - einfo "(Otherwise, you might experience CardServices version mismatch errors)" -} diff --git a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r4.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r4.ebuild deleted file mode 100644 index 0c48e5d73a06..000000000000 --- a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r4.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.1.33-r4.ebuild,v 1.6 2002/08/01 11:40:16 seemant Exp $ - -# This ebuild installs ${FILESDIR}/hermes.conf, which you can get from -# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/hermes.conf - -S=${WORKDIR}/${P} -DESCRIPTION="PCMCIA tools for Linux" -SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz" -# http://ozlabs.org/people/dgibson/dldwd/orinoco-0.11a.tar.gz" -HOMEPAGE="http://pcmcia-cs.sourceforge.net" -KEYWORDS="x86" -SLOT="0" -DEPEND="sys-kernel/linux-headers" -RDEPEND="" -LICENSE="GPL-2" - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that pcmcia-cs should use for configuration. - -#src_unpack() { -# unpack ${P}.tar.gz -# unpack orinoco-0.11a.tar.gz -# cd ${S} -# mv ../orinoco-0.11a/hermes*.{c,h} \ -# ../orinoco-0.11a/orinoco*.{c,h} \ -# ../orinoco-0.11a/ieee802_11.h wireless/ -# cp Configure Configure.orig -# sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure -# #man pages will now install into /usr/share/man -#} - -src_compile() { - local myconf - if [ -n "`use trusted`" ] ; then - myconf="--trust" - else - myconf="--notrust" - fi - - if [ -n "`use apm`" ] ; then - myconf="$myconf --apm" - else - myconf="$myconf --noapm" - fi - - if [ -n "`use pnp`" ] ; then - myconf="$myconf --pnp" - else - myconf="$myconf --nopnp" - fi - - if [ -n "`use nocardbus`" ] ; then - myconf="$myconf --nocardbus" - else - myconf="$myconf --cardbus" - fi - - #use $CFLAGS for user tools, but standard kernel optimizations for the kernel modules (for compatibility) - ./Configure -n \ - --target=${D} \ - --srctree \ - --kernel=/usr/src/linux \ - --arch="i386" \ - --uflags="$CFLAGS" \ - --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ - $myconf || die "failed configuring" - # nopnp and noapm are important, because without them the pcmcia-cs - # tools will require a kernel with ISA PnP and/or APM support, - # which cannot be guaranteed. We need to make sure the tools - # work *all* the time, not just some of the time. - - # The --srctree option tells pcmcia-cs to configure for the kernel in /usr/src/linux - # rather than the currently-running kernel. It's Gentoo Linux policy to configure for - # the kernel in /usr/src/linux - emake all || die "failed compiling" -} - -src_install () { - make PREFIX=${D} install || die "failed installing" - cd ${D} - rm -rf etc/rc*.d - # remove X - # this is simply much easier than patching configure or the makefiles - # not to build them in the first place - rm -rf usr/X11R6 - # todo: if they are nstalled, move them to /usr - - insinto /etc/conf.d - newins ${FILESDIR}/pcmcia.conf pcmcia - - exeinto /etc/pcmcia -# doexe ${FILESDIR}/network - - # install our own init script - exeinto /etc/init.d - newexe ${FILESDIR}/pcmcia.rc6 pcmcia - if [ -z "`use build`" ] - then - cd ${S} - # install docs - dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ - README-2.4 SUPPORTED.CARDS doc/* - else - rm -rf ${D}/usr/share/man - fi - rm -f ${D}/etc/modules.conf - rm -rf ${D}/var/lib/pcmcia -} - -src_postinst() { - einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the PCMCIA support in the kernel." - einfo "(Otherwise, you might experience CardServices version mismatch errors)" -} diff --git a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r3.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r3.ebuild deleted file mode 100644 index becf43fa13e5..000000000000 --- a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r3.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r3.ebuild,v 1.2 2002/07/14 19:20:19 aliz Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="PCMCIA tools for Linux" -SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz" - -HOMEPAGE="http://pcmcia-cs.sourceforge.net" -KEYWORDS="x86" -DEPEND="sys-kernel/linux-headers" -RDEPEND="" -SLOT="0" -LICENSE="GPL" - -# check arch for configure -if [ ${ARCH} = "x86" ] ; then - MY_ARCH="i386" -else - MY_ARCH="ppc" -fi - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that pcmcia-cs should use for configuration. - -src_unpack() { - unpack ${P}.tar.gz -# patch -p0 < ${FILESDIR}/gentoo-${P}.patch - - cd ${S} - cp Configure Configure.orig - sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure - #man pages will now install into /usr/share/man -} - -src_compile() { - local myconf - if [ -n "`use trusted`" ] ; then - myconf="--trust" - else - myconf="--notrust" - fi - - if [ -n "`use apm`" ] ; then - myconf="$myconf --apm" - else - myconf="$myconf --noapm" - fi - - if [ -n "`use pnp`" ] ; then - myconf="$myconf --pnp" - else - myconf="$myconf --nopnp" - fi - - if [ -n "`use nocardbus`" ] ; then - myconf="$myconf --nocardbus" - else - myconf="$myconf --cardbus" - fi - - #use $CFLAGS for user tools, but standard kernel optimizations for the kernel modules (for compatibility) - ./Configure -n \ - --target=${D} \ - --srctree \ - --kernel=/usr/src/linux \ - --arch="${MY_ARCH}" \ - --uflags="$CFLAGS" \ - --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ - $myconf || die "failed configuring" - # nopnp and noapm are important, because without them the pcmcia-cs - # tools will require a kernel with ISA PnP and/or APM support, - # which cannot be guaranteed. We need to make sure the tools - # work *all* the time, not just some of the time. - - # The --srctree option tells pcmcia-cs to configure for the kernel in /usr/src/linux - # rather than the currently-running kernel. It's Gentoo Linux policy to configure for - # the kernel in /usr/src/linux - emake all || die "failed compiling" -} - -src_install () { - make PREFIX=${D} install || die "failed installing" - cd ${D} - rm -rf etc/rc*.d - # remove X - # this is simply much easier than patching configure or the makefiles - # not to build them in the first place - rm -rf usr/X11R6 - # todo: if they are nstalled, move them to /usr - - insinto /etc/conf.d - newins ${FILESDIR}/pcmcia.conf pcmcia - - exeinto /etc/pcmcia - doexe ${FILESDIR}/network - - # install our own init script - exeinto /etc/init.d - newexe ${FILESDIR}/pcmcia.rc6 pcmcia - if [ -z "`use build`" ] - then - cd ${S} - # install docs - dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ - README-2.4 SUPPORTED.CARDS doc/* - else - rm -rf ${D}/usr/share/man - fi - rm -f ${D}/etc/modules.conf - rm -rf ${D}/var/lib/pcmcia - - # if on ppc set the ppc revised config.opts - if [ ${ARCH} = "ppc" ] ; then - insinto /etc/pcmcia - newins ${FILESDIR}/ppc.config.opts config.opts - fi -} - -src_postinst() { - einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the PCMCIA support in the kernel." - einfo "(Otherwise, you might experience CardServices version mismatch errors)" -} diff --git a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r5.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r5.ebuild deleted file mode 100644 index 3950a14f6be0..000000000000 --- a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r5.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.1.34-r5.ebuild,v 1.2 2002/07/14 19:20:19 aliz Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="PCMCIA tools for Linux" -SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz - http://ozlabs.org/people/dgibson/dldwd/orinoco-0.12a.tar.gz" - -HOMEPAGE="http://pcmcia-cs.sourceforge.net" -KEYWORDS="x86" -DEPEND="sys-kernel/linux-headers" -RDEPEND="" -SLOT="0" -LICENSE="GPL" - -# check arch for configure -if [ ${ARCH} = "x86" ] ; then - MY_ARCH="i386" -else - MY_ARCH="ppc" -fi - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that pcmcia-cs should use for configuration. - -src_unpack() { - unpack ${P}.tar.gz -# patch -p0 < ${FILESDIR}/gentoo-${P}.patch - - unpack orinoco-0.12a.tar.gz - cd ${S} - mv ../orinoco-0.12a/hermes*.{c,h} \ - ../orinoco-0.12a/orinoco*.{c,h} \ - ../orinoco-0.12a/ieee802_11.h wireless/ - cp Configure Configure.orig - sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure - #man pages will now install into /usr/share/man -} - -src_compile() { - local myconf - if [ -n "`use trusted`" ] ; then - myconf="--trust" - else - myconf="--notrust" - fi - - if [ -n "`use apm`" ] ; then - myconf="$myconf --apm" - else - myconf="$myconf --noapm" - fi - - if [ -n "`use pnp`" ] ; then - myconf="$myconf --pnp" - else - myconf="$myconf --nopnp" - fi - - if [ -n "`use nocardbus`" ] ; then - myconf="$myconf --nocardbus" - else - myconf="$myconf --cardbus" - fi - - #use $CFLAGS for user tools, but standard kernel optimizations for the kernel modules (for compatibility) - ./Configure -n \ - --target=${D} \ - --srctree \ - --kernel=/usr/src/linux \ - --arch="${MY_ARCH}" \ - --uflags="$CFLAGS" \ - --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ - $myconf || die "failed configuring" - # nopnp and noapm are important, because without them the pcmcia-cs - # tools will require a kernel with ISA PnP and/or APM support, - # which cannot be guaranteed. We need to make sure the tools - # work *all* the time, not just some of the time. - - # The --srctree option tells pcmcia-cs to configure for the kernel in /usr/src/linux - # rather than the currently-running kernel. It's Gentoo Linux policy to configure for - # the kernel in /usr/src/linux - emake all || die "failed compiling" -} - -src_install () { - make PREFIX=${D} install || die "failed installing" - cd ${D} - rm -rf etc/rc*.d - # remove X - # this is simply much easier than patching configure or the makefiles - # not to build them in the first place - rm -rf usr/X11R6 - # todo: if they are nstalled, move them to /usr - - insinto /etc/conf.d - newins ${FILESDIR}/pcmcia.conf pcmcia - - exeinto /etc/pcmcia - doexe ${FILESDIR}/network - - # install our own init script - exeinto /etc/init.d - newexe ${FILESDIR}/pcmcia.rc6 pcmcia - if [ -z "`use build`" ] - then - cd ${S} - # install docs - dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ - README-2.4 SUPPORTED.CARDS doc/* - else - rm -rf ${D}/usr/share/man - fi - rm -f ${D}/etc/modules.conf - rm -rf ${D}/var/lib/pcmcia - - # if on ppc set the ppc revised config.opts - if [ ${ARCH} = "ppc" ] ; then - insinto /etc/pcmcia - newins ${FILESDIR}/ppc.config.opts config.opts - fi -} - -src_postinst() { - einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the PCMCIA support in the kernel." - einfo "(Otherwise, you might experience CardServices version mismatch errors)" -} diff --git a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.35_beta2.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.1.35_beta2.ebuild deleted file mode 100644 index 0ce5de91b513..000000000000 --- a/sys-apps/pcmcia-cs/pcmcia-cs-3.1.35_beta2.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.1.35_beta2.ebuild,v 1.1 2002/07/12 10:31:23 cardoe Exp $ - -S=${WORKDIR}/pcmcia-cs-3.1.35 -DESCRIPTION="PCMCIA tools for Linux" -SRC_URI="http://pcmcia-cs.sourceforge.net/ftp/NEW/pcmcia-cs.02-Jul-02.tar.gz - http://ozlabs.org/people/dgibson/dldwd/orinoco-0.12b.tar.gz" - -HOMEPAGE="http://pcmcia-cs.sourceforge.net" -DEPEND="sys-kernel/linux-headers" -RDEPEND="" -SLOT="0" -LICENSE="GPL" -KEYWORDS="x86" - -# check arch for configure -if [ ${ARCH} = "x86" ] ; then - MY_ARCH="i386" -else - MY_ARCH="ppc" -fi - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that pcmcia-cs should use for configuration. - -src_unpack() { - unpack pcmcia-cs.02-Jul-02.tar.gz -# patch -p0 < ${FILESDIR}/gentoo-${P}.patch - - unpack orinoco-0.12b.tar.gz - cd ${S} - mv ../orinoco-0.12b/hermes*.{c,h} \ - ../orinoco-0.12b/orinoco*.{c,h} \ - ../orinoco-0.12b/ieee802_11.h wireless/ - cp Configure Configure.orig - sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure - #man pages will now install into /usr/share/man - - cd ${S} - ### As per the SourceForge web site reqs and bug #3400 - # We'll replace all ide_cs with ide-cs - cp etc/config etc/config.orig - sed -e 's:ide_cs:ide-cs:g' etc/config.orig > etc/config - rm -f etc/config.orig - - -} - -src_compile() { - local myconf - if [ -n "`use trusted`" ] ; then - myconf="--trust" - else - myconf="--notrust" - fi - - if [ -n "`use apm`" ] ; then - myconf="$myconf --apm" - else - myconf="$myconf --noapm" - fi - - if [ -n "`use pnp`" ] ; then - myconf="$myconf --pnp" - else - myconf="$myconf --nopnp" - fi - - if [ -n "`use nocardbus`" ] ; then - myconf="$myconf --nocardbus" - else - myconf="$myconf --cardbus" - fi - - #use $CFLAGS for user tools, but standard kernel optimizations for the kernel modules (for compatibility) - ./Configure -n \ - --target=${D} \ - --srctree \ - --kernel=/usr/src/linux \ - --arch="${MY_ARCH}" \ - --uflags="$CFLAGS" \ - --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ - $myconf || die "failed configuring" - # nopnp and noapm are important, because without them the pcmcia-cs - # tools will require a kernel with ISA PnP and/or APM support, - # which cannot be guaranteed. We need to make sure the tools - # work *all* the time, not just some of the time. - - # The --srctree option tells pcmcia-cs to configure for the kernel in /usr/src/linux - # rather than the currently-running kernel. It's Gentoo Linux policy to configure for - # the kernel in /usr/src/linux - emake all || die "failed compiling" -} - -src_install () { - make PREFIX=${D} install || die "failed installing" - cd ${D} - rm -rf etc/rc*.d - # remove X - # this is simply much easier than patching configure or the makefiles - # not to build them in the first place - rm -rf usr/X11R6 - # todo: if they are nstalled, move them to /usr - - insinto /etc/conf.d - newins ${FILESDIR}/pcmcia.conf pcmcia - - exeinto /etc/pcmcia - doexe ${FILESDIR}/network - - # install our own init script - exeinto /etc/init.d - newexe ${FILESDIR}/pcmcia.rc6 pcmcia - if [ -z "`use build`" ] - then - cd ${S} - # install docs - dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ - README-2.4 SUPPORTED.CARDS doc/* - else - rm -rf ${D}/usr/share/man - fi - rm -f ${D}/etc/modules.conf - rm -rf ${D}/var/lib/pcmcia - - # if on ppc set the ppc revised config.opts - if [ ${ARCH} = "ppc" ] ; then - insinto /etc/pcmcia - newins ${FILESDIR}/ppc.config.opts config.opts - fi -} - -src_postinst() { - einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the PCMCIA support in the kernel." - einfo "(Otherwise, you might experience CardServices version mismatch errors)" -} |