wok-stable view get-softmodem-driver/stuff/hcfpcimodem.receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents e5ab27ad8b9e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hcfpcimodem"
4 VERSION="1.19full"
5 CATEGORY="non-free"
6 SHORT_DESC="Driver for the Conexant HCF (controllerless) Softmodem family."
7 MAINTAINER="domcox@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="module-init-tools linux-source"
10 WEB_SITE="http://www.linuxant.com/drivers"
11 WGET_URL="http://www.linuxant.com/drivers/hcf/full/archive/$PACKAGE-$VERSION/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
15 post_install()
16 {
17 /usr/sbin/hcfpciconfig --auto
18 }
20 post_remove()
21 {
22 echo -n "Removing modules.."
23 rm -rf /lib/modules/`uname -r`/extra/hcfpci*
24 status
25 rm -rf /usr/share/hcfpicmodem
26 rm -rf /etc/hcfpcimodem
27 }