wok-next annotate get-softmodem-driver/stuff/hcfpcimodem.receipt @ rev 3543
Add axel tools
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Jun 23 11:52:01 2009 +0800 (2009-06-23) |
parents | e5ab27ad8b9e |
children |
rev | line source |
---|---|
domcox@3462 | 1 # SliTaz package receipt. |
domcox@3462 | 2 |
domcox@3462 | 3 PACKAGE="hcfpcimodem" |
domcox@3462 | 4 VERSION="1.19full" |
domcox@3462 | 5 CATEGORY="non-free" |
domcox@3478 | 6 SHORT_DESC="Driver for the Conexant HCF (controllerless) Softmodem family." |
domcox@3462 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@3462 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@3462 | 9 DEPENDS="module-init-tools linux-source" |
domcox@3462 | 10 WEB_SITE="http://www.linuxant.com/drivers" |
domcox@3462 | 11 WGET_URL="http://www.linuxant.com/drivers/hcf/full/archive/$PACKAGE-$VERSION/$TARBALL" |
domcox@3462 | 12 |
domcox@3462 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@3462 | 14 |
domcox@3462 | 15 post_install() |
domcox@3462 | 16 { |
domcox@3462 | 17 /usr/sbin/hcfpciconfig --auto |
domcox@3462 | 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/hcfpci* |
domcox@3478 | 24 status |
domcox@3494 | 25 rm -rf /usr/share/hcfpicmodem |
domcox@3494 | 26 rm -rf /etc/hcfpcimodem |
domcox@3478 | 27 } |