wok annotate get-softmodem-driver/stuff/hsfmodem.receipt @ rev 10405

udev: dont use your old rules anymore
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 04:36:08 2011 +0200 (2011-05-24)
parents e5ab27ad8b9e
children
rev   line source
domcox@3453 1 # SliTaz package receipt.
domcox@3453 2
domcox@3453 3 PACKAGE="hsfmodem"
domcox@3453 4 VERSION="7.80.02.04full"
domcox@3453 5 CATEGORY="non-free"
domcox@3478 6 SHORT_DESC="Driver for the Conexant (formerly Rockwell) HSF Softmodem family."
domcox@3453 7 MAINTAINER="domcox@slitaz.org"
domcox@3453 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
domcox@3453 9 DEPENDS="module-init-tools linux-source"
domcox@3453 10 WEB_SITE="http://www.linuxant.com/drivers"
domcox@3453 11 WGET_URL="http://www.linuxant.com/drivers/hsf/full/archive/$PACKAGE-$VERSION/$TARBALL"
domcox@3453 12
domcox@3453 13 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3453 14
domcox@3453 15 post_install()
domcox@3453 16 {
domcox@3453 17 /usr/sbin/hsfconfig --auto
domcox@3453 18 }
domcox@3478 19
domcox@3478 20 post_remove()
domcox@3478 21 {
domcox@3478 22 echo -n "Removing modules.."
domcox@3478 23 rm -rf /lib/modules/`uname -r`/extra/hsf*
domcox@3478 24 status
domcox@3494 25 rm -rf /usr/share/hsfmodem
domcox@3494 26 rm -rf /etc/hsfmodem
domcox@3478 27 }