wok-stable diff pcmcia-cis/receipt @ rev 8706
libetpan: improve DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:18:59 2011 +0100 (2011-02-17) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pcmcia-cis/receipt Thu Feb 17 23:18:59 2011 +0100 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 +