contrib/pcmciautils/Pkgfile

21 lines
711 B
Plaintext
Raw Normal View History

2006-10-28 22:32:26 +02:00
# 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
2006-10-29 12:57:46 +01:00
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
2006-10-28 22:32:26 +02:00
# Depends on: sysfsutils
name=pcmciautils
2012-09-02 12:31:22 +02:00
version=018
2008-08-30 16:27:05 +02:00
release=1
2012-09-02 12:31:22 +02:00
# missing upstream source
#http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$name-$version.tar.bz2
source=(ftp://ftp.archlinux.org/other/$name/$name-$version.tar.xz \
2008-08-30 16:27:05 +02:00
$name-makefile.patch)
2006-10-28 22:32:26 +02:00
build() {
cd $name-$version
2008-08-30 16:27:05 +02:00
patch -p1 -i $SRC/$name-makefile.patch
2006-10-28 22:32:26 +02:00
make
make DESTDIR=$PKG install
mv $PKG/etc/udev/rules.d/60-pcmcia.rules $PKG/etc/udev/rules.d/65-pcmcia.rules
}