wok-4.x view pcmciautils/receipt @ rev 140

Add e17 packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 16 19:33:37 2008 +0100 (2008-01-16)
parents bcd4a80b8cd6
children 4615573735e2
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 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 }