wok diff usbip-module/receipt @ rev 1650

Add setserial
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:37:28 2008 +0000 (2008-11-08)
parents
children c1610baa4cf4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/usbip-module/receipt	Sat Nov 08 13:37:28 2008 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="usbip-module"
     1.7 +VERSION="0.1.6"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="general USB device sharing system over IP network, kernel modules."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://usbip.sourceforge.net/"
    1.12 +WANTED="usbip"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	kver=$(grep "kernel version" ../linux/linux-*/.config)
    1.18 +	kver=${kver##* }
    1.19 +	EXTRAVERSION=_$kver
    1.20 +	cp -a $_pkg/lib $fs
    1.21 +}
    1.22 +
    1.23 +# Post install/remove commands for Tazpkg.
    1.24 +post_install()
    1.25 +{
    1.26 +	depmod -a -b "$1/"
    1.27 +}
    1.28 +
    1.29 +post_remove()
    1.30 +{
    1.31 +	depmod -a
    1.32 +}