summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pcmciautils/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/pcmciautils/PKGBUILD
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/pcmciautils/PKGBUILD')
-rw-r--r--abs/core-testing/pcmciautils/PKGBUILD34
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/core-testing/pcmciautils/PKGBUILD b/abs/core-testing/pcmciautils/PKGBUILD
deleted file mode 100644
index dbbb092..0000000
--- a/abs/core-testing/pcmciautils/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: judd <jvinet@zeroflux.org>
-pkgname=pcmciautils
-pkgver=014
-pkgrel=13
-pkgdesc="Utilities for inserting and removing PCMCIA cards"
-arch=(i686 x86_64)
-url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
-license=('GPL')
-groups=('base')
-depends=('glibc' 'sysfsutils' 'module-init-tools>=3.2pre9')
-conflicts=('pcmcia-cs')
-source=(http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-$pkgver.tar.bz2)
-md5sums=('3f07c926875f6c5dcb83240f39725177')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- sed -i -e 's,/usr/bin/install,/bin/install,g' Makefile
- make -j1 || return 1
- make DESTDIR=$startdir/pkg/ install
- # fix udev rules for new modalias layout
- sed -i -e 's/MODALIAS/ENV{MODALIAS}/g' -e 's/$modalias/$env{MODALIAS}/g'\
- $startdir/pkg/etc/udev/rules.d/60-pcmcia.rules
- # fix lspcmcia symlink
- ln -sf pccardctl $startdir/pkg/sbin/lspcmcia
- # adding static binaries for initrd setup
- make clean
- sed -i -e 's/STATIC\ =\ false/STATIC\ =\ true/g' Makefile
- make -j1 || return 1
- install -D -m755 pcmcia-check-broken-cis $startdir/pkg/sbin/pcmcia-check-broken-cis.static
- install -D -m755 pcmcia-socket-startup $startdir/pkg/sbin/pcmcia-socket-startup.static
- # fix modprobe rules to use the load-modules.sh
- sed -i -e "s#/sbin/modprobe#/lib/udev/load-modules.sh#g" $startdir/pkg/etc/udev/rules.d/*
-}