wok-6.x view pcmcia-cis/receipt @ rev 3312
Edit: Nicotine+ genpkg_rules
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Jun 06 21:50:00 2009 +0000 (2009-06-06) |
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 }