wok annotate pcmcia-cis/receipt @ rev 12117

Up: tazdev (1.5) - Use pkgs to create minimal chroot, improvment and fixes
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 09:57:31 2012 +0100 (2012-03-13)
parents
children
rev   line source
domcox@2854 1 # SliTaz package receipt.
domcox@2854 2
domcox@2854 3 PACKAGE="pcmcia-cis"
domcox@2854 4 VERSION="3.2.8"
domcox@2854 5 CATEGORY="system-tools"
domcox@2854 6 SHORT_DESC="Card Information Structure files needed by some pcmcia cards"
domcox@2854 7 MAINTAINER="domcox@slitaz.org"
domcox@2854 8 DEPENDS="pcmciautils"
domcox@2854 9 SOURCE="pcmcia-cs"
domcox@2854 10 TARBALL="$SOURCE-$VERSION.tar.gz"
domcox@2854 11 WEB_SITE="http://pcmcia-cs.sourceforge.net"
domcox@2854 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
domcox@2854 13
domcox@2854 14 genpkg_rules()
domcox@2854 15 {
domcox@2854 16 # From the Linux Kernel 2.6 PCMCIA - mini-HOWTO
domcox@2854 17 # http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
domcox@2854 18 # Get .dat files from pcmcia-cs and store it into /lib/firmware/
domcox@2854 19 mkdir -p $fs/lib/firmware
domcox@2854 20 cp -a $src/etc/cis/*.dat $fs/lib/firmware
domcox@2854 21 # Rename extension to .cis
domcox@2854 22 cd $fs/lib/firmware
domcox@2854 23 for NAME in $(ls .); do
domcox@2854 24 mv -f ${NAME} ${NAME%.*}.cis
domcox@2854 25 done
domcox@2854 26 }
domcox@2854 27