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

Fix: attr
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 15 12:52:33 2015 +0000 (2015-02-15)
parents
children
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="hsfmodem"
pascal@13591 4 VERSION="7.80.02.04full"
pascal@13591 5 CATEGORY="non-free"
pascal@13591 6 SHORT_DESC="Driver for the Conexant (formerly Rockwell) HSF Softmodem family."
pascal@13591 7 MAINTAINER="domcox@slitaz.org"
pascal@13591 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13591 9 DEPENDS="module-init-tools linux-source"
pascal@13591 10 WEB_SITE="http://www.linuxant.com/drivers"
pascal@13591 11 WGET_URL="http://www.linuxant.com/drivers/hsf/full/archive/$PACKAGE-$VERSION/$TARBALL"
pascal@13591 12
pascal@13591 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 14
pascal@13591 15 post_install()
pascal@13591 16 {
pascal@13591 17 /usr/sbin/hsfconfig --auto
pascal@13591 18 }
pascal@13591 19
pascal@13591 20 post_remove()
pascal@13591 21 {
pascal@13591 22 echo -n "Removing modules.."
pascal@13591 23 rm -rf /lib/modules/`uname -r`/extra/hsf*
pascal@13591 24 status
pascal@13591 25 rm -rf /usr/share/hsfmodem
pascal@13591 26 rm -rf /etc/hsfmodem
pascal@13591 27 }