wok-6.x view pcmcia-cis/receipt @ rev 7172
Up: openvas-libraries to 3.1.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 20:17:15 2010 +0000 (2010-11-07) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmcia-cis"
4 VERSION="3.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Card Information Structure files needed by some pcmcia cards"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="pcmciautils"
9 SOURCE="pcmcia-cs"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pcmcia-cs.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 genpkg_rules()
15 {
16 # From the Linux Kernel 2.6 PCMCIA - mini-HOWTO
17 # http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
18 # Get .dat files from pcmcia-cs and store it into /lib/firmware/
19 mkdir -p $fs/lib/firmware
20 cp -a $src/etc/cis/*.dat $fs/lib/firmware
21 # Rename extension to .cis
22 cd $fs/lib/firmware
23 for NAME in $(ls .); do
24 mv -f ${NAME} ${NAME%.*}.cis
25 done
26 }