wok-current view usbip-module/receipt @ rev 2823
Add lemon (parser generator)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 29 21:29:04 2009 +0200 (2009-04-29) |
parents | c1610baa4cf4 |
children | f306d126580e |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbip-module"
4 VERSION="0.1.7"
5 CATEGORY="base-system"
6 SHORT_DESC="general USB device sharing system over IP network, kernel modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://usbip.sourceforge.net/"
9 WANTED="usbip"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config)
15 kver=${kver##* }
16 EXTRAVERSION=_$kver
17 cp -a $_pkg/lib $fs
18 }
20 # Post install/remove commands for Tazpkg.
21 post_install()
22 {
23 depmod -a -b "$1/"
24 }
26 post_remove()
27 {
28 depmod -a
29 }