wok-next annotate get-softmodem-driver/receipt @ rev 3543

Add axel tools
author Liu Peng <rocky@slitaz.org>
date Tue Jun 23 11:52:01 2009 +0800 (2009-06-23)
parents 8fc90d8b565b
children 007b91d3da0b
rev   line source
domcox@3446 1 # SliTaz package receipt.
domcox@3446 2
domcox@3446 3 PACKAGE="get-softmodem-driver"
domcox@3498 4 VERSION="0.11"
domcox@3446 5 CATEGORY="non-free"
domcox@3446 6 SHORT_DESC="Get misc softmodem drivers."
domcox@3446 7 MAINTAINER="domcox@slitaz.org"
domcox@3473 8 DEPENDS="alsa-lib-dev cpio linux-source slitaz-toolchain"
domcox@3446 9 WEB_SITE="http://hg.slitaz.org/wok/file/$PACKAGE/stuff/$PACKAGE"
domcox@3446 10
domcox@3446 11 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3446 12 genpkg_rules()
domcox@3446 13 {
domcox@3446 14 mkdir -p $fs/usr/bin
domcox@3446 15 cp stuff/$PACKAGE $fs/usr/bin
domcox@3478 16 for i in hsfmodem hcfpcimodem martian slmodem; do
domcox@3446 17 ln -s $PACKAGE $fs/usr/bin/get-$i-driver
domcox@3446 18 done
domcox@3452 19 mkdir -p $fs/usr/share/softmodem
domcox@3479 20 cp -a stuff/*diff $fs/usr/share/softmodem
domcox@3479 21 cp -a stuff/*receipt $fs/usr/share/softmodem
domcox@3479 22 cp -a stuff/*init $fs/usr/share/softmodem
domcox@3494 23 cp -a stuff/*country $fs/usr/share/softmodem
domcox@3479 24 cp -a stuff/zone.tab $fs/usr/share/softmodem
domcox@3446 25 }