wok annotate get-softmodem-driver/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | |
children | 42b8478866fb |
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@13591 | 8 DEPENDS="alsa-lib-dev cpio linux-source slitaz-toolchain" |
pascal@13591 | 9 WEB_SITE="http://hg.slitaz.org/wok/file/$PACKAGE/stuff/$PACKAGE" |
pascal@13591 | 10 TAGS="modem dialup" |
pascal@13591 | 11 |
pascal@13591 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 13 genpkg_rules() |
pascal@13591 | 14 { |
pascal@13591 | 15 mkdir -p $fs/usr/bin |
pascal@13591 | 16 cp $stuff/$PACKAGE $fs/usr/bin |
pascal@13591 | 17 for i in hsfmodem hcfpcimodem martian slmodem; do |
pascal@13591 | 18 ln -s $PACKAGE $fs/usr/bin/get-$i-driver |
pascal@13591 | 19 done |
pascal@13591 | 20 mkdir -p $fs/usr/share/softmodem |
pascal@13591 | 21 cp -a $stuff/*diff $fs/usr/share/softmodem |
pascal@13591 | 22 cp -a $stuff/*receipt $fs/usr/share/softmodem |
pascal@13591 | 23 cp -a $stuff/*init $fs/usr/share/softmodem |
pascal@13591 | 24 cp -a $stuff/*country $fs/usr/share/softmodem |
pascal@13591 | 25 cp -a $stuff/zone.tab $fs/usr/share/softmodem |
pascal@13591 | 26 } |