wok annotate get-softmodem-driver/receipt @ rev 17043
Add mxml
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 19 17:47:01 2014 +0200 (2014-08-19) |
parents | 4aed2b24febc |
children | 01119cbefbc3 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="get-softmodem-driver" |
pascal@13591 | 4 VERSION="0.11" |
pascal@13591 | 5 CATEGORY="non-free" |
pascal@13591 | 6 SHORT_DESC="Get misc softmodem drivers." |
pascal@13591 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15199 | 8 LICENSE="BSD" |
pascal@13591 | 9 WEB_SITE="http://hg.slitaz.org/wok/file/$PACKAGE/stuff/$PACKAGE" |
pascal@13591 | 10 TAGS="modem dialup" |
pascal@13591 | 11 |
pascal@15199 | 12 DEPENDS="alsa-lib-dev cpio linux-source slitaz-toolchain" |
pascal@15199 | 13 |
pascal@13591 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 15 genpkg_rules() |
pascal@13591 | 16 { |
pascal@13591 | 17 mkdir -p $fs/usr/bin |
pascal@13591 | 18 cp $stuff/$PACKAGE $fs/usr/bin |
pascal@13591 | 19 for i in hsfmodem hcfpcimodem martian slmodem; do |
pascal@13591 | 20 ln -s $PACKAGE $fs/usr/bin/get-$i-driver |
pascal@13591 | 21 done |
pascal@13591 | 22 mkdir -p $fs/usr/share/softmodem |
pascal@13591 | 23 cp -a $stuff/*diff $fs/usr/share/softmodem |
pascal@13591 | 24 cp -a $stuff/*receipt $fs/usr/share/softmodem |
pascal@13591 | 25 cp -a $stuff/*init $fs/usr/share/softmodem |
pascal@13591 | 26 cp -a $stuff/*country $fs/usr/share/softmodem |
pascal@13591 | 27 cp -a $stuff/zone.tab $fs/usr/share/softmodem |
pascal@13591 | 28 } |