contrib/pcmciautils/Pkgfile
2010-07-01 23:16:21 +03:00

19 lines
626 B
Plaintext

# Description: An initialization tools necessary to allow the PCMCIA subsystem to behave (almost) as every other hotpluggable bus system
# URL: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Depends on: sysfsutils
name=pcmciautils
version=017
release=1
source=(http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$name-$version.tar.bz2 \
$name-makefile.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-makefile.patch
make
make DESTDIR=$PKG install
mv $PKG/etc/udev/rules.d/60-pcmcia.rules $PKG/etc/udev/rules.d/65-pcmcia.rules
}