wok-next diff get-softmodem-driver/stuff/hcfpcimodem.receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 4aed2b24febc
children
line diff
     1.1 --- a/get-softmodem-driver/stuff/hcfpcimodem.receipt	Thu Nov 08 09:35:38 2012 +0100
     1.2 +++ b/get-softmodem-driver/stuff/hcfpcimodem.receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -4,24 +4,20 @@
     1.4  VERSION="1.19full"
     1.5  CATEGORY="non-free"
     1.6  SHORT_DESC="Driver for the Conexant HCF (controllerless) Softmodem family."
     1.7 -MAINTAINER="domcox@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  DEPENDS="module-init-tools linux-source"
    1.11  WEB_SITE="http://www.linuxant.com/drivers"
    1.12  WGET_URL="http://www.linuxant.com/drivers/hcf/full/archive/$PACKAGE-$VERSION/$TARBALL"
    1.13  
    1.14 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 -
    1.16 -post_install()
    1.17 -{
    1.18 +post_install() {
    1.19  	/usr/sbin/hcfpciconfig --auto
    1.20  }
    1.21  
    1.22 -post_remove()
    1.23 -{
    1.24 -    echo -n "Removing modules.."
    1.25 -    rm -rf /lib/modules/`uname -r`/extra/hcfpci*
    1.26 -    status
    1.27 +post_remove() {
    1.28 +	action "Removing modules.."
    1.29 +	rm -rf /lib/modules/$(uname -r)/extra/hcfpci*
    1.30 +	status
    1.31  	rm -rf /usr/share/hcfpicmodem
    1.32  	rm -rf /etc/hcfpcimodem
    1.33 -}
    1.34 \ No newline at end of file
    1.35 +}