wok-stable view pcmciautils/receipt @ rev 607

Up: slitaz-base-files (2.0) - New daemons config, adduser.conf and more devices node
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:29:28 2008 +0200 (2008-04-18)
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 }