wok view pcmciautils/receipt @ rev 11729
added openconnect (3.15)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Tue Feb 21 07:21:19 2012 -0800 (2012-02-21) |
parents | 48a8ecc07cf7 |
children | 51a1ebbda768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmciautils"
4 VERSION="018"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utils to use with PCMCIA cards"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux sysfsutils udev"
9 BUILD_DEPENDS="sysfsutils-dev bison flex"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
12 #WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
13 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/kernel/pcmcia/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # We need lex...
19 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia
27 cp -a $src/pccardctl $fs/sbin
28 cp -a $src/pcmcia-check-broken-cis $fs/sbin
29 cp -a $src/pcmcia-socket-startup $fs/sbin
30 # Udev rules and config.
31 cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d
32 cp -a $src/config/config.opts $fs/etc/pcmcia
33 # Fix path
34 sed -i s#/lib/udev/pcmcia-check-broken-cis#/sbin/pcmcia-check-broken-cis# \
35 $fs/etc/udev/rules.d/60-pcmcia.rules
36 sed -i s#/lib/udev/pcmcia-socket-startup#/sbin/pcmcia-socket-startup# \
37 $fs/etc/udev/rules.d/60-pcmcia.rules
38 }
40 post_install()
41 {
42 tazpkg reconfigure udev --root=$1
43 }