wok-6.x annotate get-softmodem-driver/receipt @ rev 25436
Up bacon (4.5), clex (4.7), rcssmin (1.1.1), remind (04.00.03)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 31 16:18:16 2022 +0000 (2022-08-31) |
parents | 42b8478866fb |
children | 8ea0030e77cb |
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@25436 | 9 WEB_SITE="http://hg.slitaz.org/wok/file/$PACKAGE/stuff/" |
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 } |