wok-4.x annotate get-softmodem-driver/receipt @ rev 10744
leocad: fix receipt (was genpkg_rules in compile rules and so even if build failed package was made)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 10:57:50 2011 +0200 (2011-05-30) |
parents | 007b91d3da0b |
children |
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 |
slaxemulator@9700 | 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 |
slaxemulator@9700 | 21 cp -a $stuff/*diff $fs/usr/share/softmodem |
slaxemulator@9700 | 22 cp -a $stuff/*receipt $fs/usr/share/softmodem |
slaxemulator@9700 | 23 cp -a $stuff/*init $fs/usr/share/softmodem |
slaxemulator@9700 | 24 cp -a $stuff/*country $fs/usr/share/softmodem |
slaxemulator@9700 | 25 cp -a $stuff/zone.tab $fs/usr/share/softmodem |
domcox@3446 | 26 } |