wok-next annotate get-softmodem-driver/receipt @ rev 3478

get-softmodem-driver: packages are now saved in tazwok packages_repository
author Dominique Corbex <domcox@users.sourceforge.net>
date Wed Jun 17 09:49:44 2009 +0200 (2009-06-17)
parents 65527a53933e
children 778f75d8af14
rev   line source
domcox@3446 1 # SliTaz package receipt.
domcox@3446 2
domcox@3446 3 PACKAGE="get-softmodem-driver"
domcox@3478 4 VERSION="0.8"
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"
domcox@3446 10
domcox@3446 11 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3446 12 genpkg_rules()
domcox@3446 13 {
domcox@3446 14 mkdir -p $fs/usr/bin
domcox@3446 15 cp stuff/$PACKAGE $fs/usr/bin
domcox@3478 16 for i in hsfmodem hcfpcimodem martian slmodem; do
domcox@3446 17 ln -s $PACKAGE $fs/usr/bin/get-$i-driver
domcox@3446 18 done
domcox@3452 19 mkdir -p $fs/usr/share/softmodem
domcox@3452 20 cp stuff/*diff $fs/usr/share/softmodem
domcox@3453 21 cp stuff/*receipt $fs/usr/share/softmodem
domcox@3464 22 cp stuff/*init $fs/usr/share/softmodem
domcox@3452 23 cp stuff/zone.tab $fs/usr/share/softmodem
domcox@3446 24 }