wok-6.x annotate get-softmodem-driver/receipt @ rev 5897
Up: py3k (3.1.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 23 15:57:48 2010 +0200 (2010-07-23) |
parents | 07633a539a9d |
children | d1768332cee0 |
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" |
jozee@4994 | 10 TAGS="modem dialup" |
domcox@3446 | 11 |
domcox@3446 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@3446 | 13 genpkg_rules() |
domcox@3446 | 14 { |
domcox@3446 | 15 mkdir -p $fs/usr/bin |
domcox@3446 | 16 cp stuff/$PACKAGE $fs/usr/bin |
domcox@3478 | 17 for i in hsfmodem hcfpcimodem martian slmodem; do |
domcox@3446 | 18 ln -s $PACKAGE $fs/usr/bin/get-$i-driver |
domcox@3446 | 19 done |
domcox@3452 | 20 mkdir -p $fs/usr/share/softmodem |
domcox@3479 | 21 cp -a stuff/*diff $fs/usr/share/softmodem |
domcox@3479 | 22 cp -a stuff/*receipt $fs/usr/share/softmodem |
domcox@3479 | 23 cp -a stuff/*init $fs/usr/share/softmodem |
domcox@3494 | 24 cp -a stuff/*country $fs/usr/share/softmodem |
domcox@3479 | 25 cp -a stuff/zone.tab $fs/usr/share/softmodem |
domcox@3446 | 26 } |