wok-6.x annotate pcmciautils/receipt @ rev 26

Add : links, patch, pciutils, pcmciautils
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:53:54 2007 +0100 (2007-12-18)
parents
children ad2f590c9c94
rev   line source
pankso@26 1 # SliTaz package receipt.
pankso@26 2
pankso@26 3 PACKAGE="pcmciautils"
pankso@26 4 VERSION="014"
pankso@26 5 CATEGORY="extra"
pankso@26 6 SHORT_DESC="Utils to use with PCMCIA cards"
pankso@26 7 MAINTAINER="pankso@slitaz.org"
pankso@26 8 DEPENDS="linux sysfs udev"
pankso@26 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@26 10 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
pankso@26 11 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
pankso@26 12
pankso@26 13 # Rules to configure and make the package.
pankso@26 14 compile_rules()
pankso@26 15 {
pankso@26 16 # We need lex...
pankso@26 17 cd $src
pankso@26 18 make
pankso@26 19 }
pankso@26 20
pankso@26 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@26 22 genpkg_rules()
pankso@26 23 {
pankso@26 24 mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia
pankso@26 25 cp -a $src/pccardctl $fs/sbin
pankso@26 26 cp -a $src/pcmcia-check-broken-cis $fs/sbin
pankso@26 27 cp -a $src/pcmcia-socket-startup $fs/sbin
pankso@26 28 strip -s $fs/sbin/*
pankso@26 29 # Udev rules and config.
pankso@26 30 cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d
pankso@26 31 cp -a $src/config/config.opts $fs/etc/pcmcia
pankso@26 32 }