wok-6.x view usbip-module/receipt @ rev 5563

emotion, esmart, ewl, ffmpeg-svn, hubbub, libffcall, libnsgif, libparserutils, libsmpeg, mplayer-svn, rage, v4l-dvb: do not cache empty tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 14 11:03:45 2010 +0200 (2010-05-14)
parents 0fcac9995347
children 79fe602a6d4b
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 kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config)
16 kver=${kver##* }
17 EXTRAVERSION=_$kver
18 cp -a $_pkg/lib $fs
19 }
21 # Post install/remove commands for Tazpkg.
22 post_install()
23 {
24 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
25 }
27 post_remove()
28 {
29 depmod -a
30 }