wok-6.x view usbip-module/receipt @ rev 8282
Up: xfce4-panel to 4.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 30 15:47:37 2011 +0000 (2011-01-30) |
parents | f306d126580e |
children |
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 DEPENDS="linux"
9 WEB_SITE="http://usbip.sourceforge.net/"
10 WANTED="usbip"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
16 EXTRAVERSION=_${KERNEL_VERSION}
17 cp -a $_pkg/lib $fs
18 }
20 # Post install/remove commands for Tazpkg.
21 post_install()
22 {
23 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
24 }
26 post_remove()
27 {
28 depmod -a
29 }