wok-current view linux64-usbip/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (3 months ago) |
| parents | d7c9e4ccdec8 |
| children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-usbip"
4 VERSION="5.10.238"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel usbip module."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="linux64"
10 WANTED="linux"
11 WEB_SITE="https://www.kernel.org/"
12 PROVIDE="usbip-module:linux64 linux-usbip:linux64"
13 SUGGESTED="usbip"
15 HOST_ARCH="i486 x86_64"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 local path
20 src=$WOK/linux64/source/tmp
21 install=$install/linux64
22 path=lib/modules/$VERSION-slitaz64/kernel
23 mkdir -p $fs/$path
24 export src install
25 $wanted_stuff/list_modules.sh drivers/usb/usbip | while read module; do
26 dir=$path/$(dirname $module)
27 [ -d $fs/$dir ] || mkdir -p $fs/$dir
28 cp -a $install/$path/$module $fs/$dir
29 done
30 }
32 # Post install/remove commands for Tazpkg.
33 post_install()
34 {
35 grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
36 echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
37 chroot "$1/" depmod -a $VERSION-slitaz64
38 }
40 post_remove()
41 {
42 sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
43 chroot "$1/" depmod -a $VERSION-slitaz64
44 }