wok view pcmcia-cis/receipt @ rev 11303

Up: kismet (2011-08-R1)
author Alexander Medvedev <devl547@gmail.com>
date Sat Nov 12 22:29:28 2011 +0000 (2011-11-12)
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 }