wok-6.x annotate pcmciautils/receipt @ rev 1394
Up: pcmciautils 3.0.1, fix: BUILD_DEPNEDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Sep 17 23:55:57 2008 +0200 (2008-09-17) |
parents | 4615573735e2 |
children | 678071bbccce |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="pcmciautils" |
erjo@1394 | 4 VERSION="015" |
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" |
erjo@1394 | 9 BUILD_DEPENDS="sysfsutils-dev" |
pankso@26 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@26 | 11 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" |
pankso@26 | 12 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL" |
pankso@26 | 13 |
pankso@26 | 14 # Rules to configure and make the package. |
pankso@26 | 15 compile_rules() |
pankso@26 | 16 { |
pankso@26 | 17 # We need lex... |
pankso@26 | 18 cd $src |
pankso@26 | 19 make |
pankso@26 | 20 } |
pankso@26 | 21 |
pankso@26 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 23 genpkg_rules() |
pankso@26 | 24 { |
pankso@26 | 25 mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia |
pankso@26 | 26 cp -a $src/pccardctl $fs/sbin |
pankso@26 | 27 cp -a $src/pcmcia-check-broken-cis $fs/sbin |
pankso@26 | 28 cp -a $src/pcmcia-socket-startup $fs/sbin |
pankso@26 | 29 strip -s $fs/sbin/* |
pankso@26 | 30 # Udev rules and config. |
pankso@26 | 31 cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d |
pankso@26 | 32 cp -a $src/config/config.opts $fs/etc/pcmcia |
pankso@26 | 33 } |