wok-current annotate get-softmodem-driver/receipt @ rev 3494

get-softmodem-driver: automatic country detection added during slmodem install
author Dominique Corbex <domcox@users.sourceforge.net>
date Thu Jun 18 14:43:23 2009 +0200 (2009-06-18)
parents 778f75d8af14
children 07633a539a9d
rev   line source
domcox@3446 1 # SliTaz package receipt.
domcox@3446 2
domcox@3446 3 PACKAGE="get-softmodem-driver"
domcox@3479 4 VERSION="0.9"
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 }