wok-current view usbip-module/receipt @ rev 8268

Fix: pack swrast drivers into mesa-dri
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 30 05:22:41 2011 +0100 (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 }