wok-4.x annotate pcmciautils/receipt @ rev 1040
Add get-wifi-firmware
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 11 15:12:13 2008 +0000 (2008-07-11) |
parents | ad2f590c9c94 |
children | 7855098a6b94 |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="pcmciautils" |
pankso@26 | 4 VERSION="014" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@26 | 6 SHORT_DESC="Utils to use with PCMCIA cards" |
pankso@26 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@54 | 8 DEPENDS="linux sysfsutils 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 } |