wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmciautils"
4 VERSION="014"
5 CATEGORY="extra"
6 SHORT_DESC="Utils to use with PCMCIA cards"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux sysfs 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 }