wok diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/get-softmodem-driver/receipt Thu Aug 15 17:45:49 2013 +0000 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="get-softmodem-driver" 1.7 +VERSION="0.11" 1.8 +CATEGORY="non-free" 1.9 +SHORT_DESC="Get misc softmodem drivers." 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +DEPENDS="alsa-lib-dev cpio linux-source slitaz-toolchain" 1.12 +WEB_SITE="http://hg.slitaz.org/wok/file/$PACKAGE/stuff/$PACKAGE" 1.13 +TAGS="modem dialup" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/bin 1.19 + cp $stuff/$PACKAGE $fs/usr/bin 1.20 + for i in hsfmodem hcfpcimodem martian slmodem; do 1.21 + ln -s $PACKAGE $fs/usr/bin/get-$i-driver 1.22 + done 1.23 + mkdir -p $fs/usr/share/softmodem 1.24 + cp -a $stuff/*diff $fs/usr/share/softmodem 1.25 + cp -a $stuff/*receipt $fs/usr/share/softmodem 1.26 + cp -a $stuff/*init $fs/usr/share/softmodem 1.27 + cp -a $stuff/*country $fs/usr/share/softmodem 1.28 + cp -a $stuff/zone.tab $fs/usr/share/softmodem 1.29 +}