wok view linux-usbip/receipt @ rev 23448

updated prosody (0.11.2 -> 0.11.5)
author Hans-G?nter Theisgen
date Thu Apr 02 17:40:09 2020 +0100 (2020-04-02)
parents f078c217decc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-usbip"
4 VERSION="3.16.55"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel usbip module."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="linux"
10 WANTED="linux"
11 WEB_SITE="https://www.kernel.org/"
12 PROVIDE="usbip-module"
13 SUGGESTED="usbip"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 local path
19 path=lib/modules/$VERSION-slitaz/kernel
20 mkdir -p $fs/$path
21 export src install
22 $wanted_stuff/list_modules.sh drivers/staging/usbip | while read module; do
23 dir=$path/$(dirname $module)
24 [ -d $fs/$dir ] || mkdir -p $fs/$dir
25 cp -a $install/$path/$module $fs/$dir
26 done
27 }
29 # Post install/remove commands for Tazpkg.
30 post_install()
31 {
32 grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
33 echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
34 chroot "$1/" depmod -a $VERSION-slitaz
35 }
37 post_remove()
38 {
39 sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
40 chroot "$1/" depmod -a $VERSION-slitaz
41 }