wok view pcmciautils/receipt @ rev 1136
misc receipt form chadi.elahmad@gmail.com
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 09:52:02 2008 +0000 (2008-07-24) |
parents | ad2f590c9c94 |
children | 7855098a6b94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmciautils"
4 VERSION="014"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utils to use with PCMCIA cards"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux sysfsutils udev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
11 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # We need lex...
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia
25 cp -a $src/pccardctl $fs/sbin
26 cp -a $src/pcmcia-check-broken-cis $fs/sbin
27 cp -a $src/pcmcia-socket-startup $fs/sbin
28 strip -s $fs/sbin/*
29 # Udev rules and config.
30 cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d
31 cp -a $src/config/config.opts $fs/etc/pcmcia
32 }