wok view pcmcia-cis/receipt @ rev 10562

openexr: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 22:38:15 2011 +0200 (2011-05-25)
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 }