wok view pcmcia-cis/receipt @ rev 6161

Up: thunderbird-langpack-de (3.1.3)
author Dominique Corbex <domcox@slitaz.org>
date Fri Sep 10 12:21:01 2010 +0200 (2010-09-10)
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 }