wok 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 a460be90b082
children ce5e512ab4b2
files pcmcia-cis/description.txt pcmcia-cis/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pcmcia-cis/description.txt	Fri May 01 17:30:29 2009 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +Some PCMCIA card need a "CIS" override (sort of a "firmware" override) to work correctly, this package provides the proper files. Supported cards are:
     1.5 +3Com Megahertz 3CCFEM556 LAN + 56k Modem
     1.6 +3Com Megahertz 3CXEM556 LAN + 56k Modem
     1.7 +ADVANTECH COMpad-32/85
     1.8 +ADVANTECH COMpad-32/85B-4
     1.9 +Allied Telesis,K.K Ethernet LAN Card CentreCOM LA-PCM
    1.10 +LanPro EP-4000A ethernet card
    1.11 +LINKSYS E-CARD
    1.12 +LINKSYS PCMLM28
    1.13 +MultiTech MT5634ZLX PCMCIA 56K DataFax
    1.14 +National Semiconductor Multiple Function Card LAN/Modem
    1.15 +NE2000-compatible Ethernet cards
    1.16 +PE-200 ethernet card
    1.17 +RS-COM 2P dual-serial-port IO card
    1.18 +Tamarack NE2000 card
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pcmcia-cis/receipt	Fri May 01 17:30:29 2009 +0200
     2.3 @@ -0,0 +1,27 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="pcmcia-cis"
     2.7 +VERSION="3.2.8"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Card Information Structure files needed by some pcmcia cards"
    2.10 +MAINTAINER="domcox@slitaz.org"
    2.11 +DEPENDS="pcmciautils"
    2.12 +SOURCE="pcmcia-cs"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://pcmcia-cs.sourceforge.net"
    2.15 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    2.16 +
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	# From the Linux Kernel 2.6 PCMCIA - mini-HOWTO
    2.20 +	# http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
    2.21 +	# Get .dat files from pcmcia-cs and store it into /lib/firmware/
    2.22 +	mkdir -p $fs/lib/firmware
    2.23 +	cp -a $src/etc/cis/*.dat $fs/lib/firmware
    2.24 +	# Rename extension to .cis 
    2.25 +	cd $fs/lib/firmware
    2.26 +	for NAME in $(ls .); do 
    2.27 +		mv -f ${NAME} ${NAME%.*}.cis
    2.28 +	done
    2.29 +}
    2.30 +