wok-6.x diff pcmcia-cis/receipt @ rev 2854

Add: pcmcia-cis (information files for some pcmcia cards)
author Dominique Corbex <domcox@users.sourceforge.net>
date Fri May 01 17:30:29 2009 +0200 (2009-05-01)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pcmcia-cis/receipt	Fri May 01 17:30:29 2009 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pcmcia-cis"
     1.7 +VERSION="3.2.8"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Card Information Structure files needed by some pcmcia cards"
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +DEPENDS="pcmciautils"
    1.12 +SOURCE="pcmcia-cs"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://pcmcia-cs.sourceforge.net"
    1.15 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.16 +
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	# From the Linux Kernel 2.6 PCMCIA - mini-HOWTO
    1.20 +	# http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
    1.21 +	# Get .dat files from pcmcia-cs and store it into /lib/firmware/
    1.22 +	mkdir -p $fs/lib/firmware
    1.23 +	cp -a $src/etc/cis/*.dat $fs/lib/firmware
    1.24 +	# Rename extension to .cis 
    1.25 +	cd $fs/lib/firmware
    1.26 +	for NAME in $(ls .); do 
    1.27 +		mv -f ${NAME} ${NAME%.*}.cis
    1.28 +	done
    1.29 +}
    1.30 +