wok-6.x annotate usbip-module/receipt @ rev 5683

Up: scribus (1.3.7)
author Alexander Medvedev <devl547@gmail.com>
date Fri Jun 04 13:10:01 2010 +0000 (2010-06-04)
parents 0fcac9995347
children 79fe602a6d4b
rev   line source
pascal@1507 1 # SliTaz package receipt.
pascal@1507 2
pascal@1507 3 PACKAGE="usbip-module"
pascal@2065 4 VERSION="0.1.7"
pascal@1507 5 CATEGORY="base-system"
pascal@1507 6 SHORT_DESC="general USB device sharing system over IP network, kernel modules."
pascal@1507 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2926 8 DEPENDS="linux"
pascal@1507 9 WEB_SITE="http://usbip.sourceforge.net/"
pascal@1507 10 WANTED="usbip"
pascal@1507 11
pascal@1507 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1507 13 genpkg_rules()
pascal@1507 14 {
pascal@2062 15 kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config)
pascal@1507 16 kver=${kver##* }
pascal@1507 17 EXTRAVERSION=_$kver
pascal@1507 18 cp -a $_pkg/lib $fs
pascal@1507 19 }
pascal@1507 20
pascal@1507 21 # Post install/remove commands for Tazpkg.
pascal@1507 22 post_install()
pascal@1507 23 {
pascal@2926 24 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
pascal@1507 25 }
pascal@1507 26
pascal@1507 27 post_remove()
pascal@1507 28 {
pascal@1507 29 depmod -a
pascal@1507 30 }