wok-current view linux64-isdn/receipt @ rev 25792
Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
| author | Stanislas Leduc <shann@slitaz.org> | 
|---|---|
| date | Tue Oct 07 05:55:24 2025 +0000 (3 weeks ago) | 
| parents | d7c9e4ccdec8 | 
| children | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="linux64-isdn"
     4 VERSION="5.10.238"
     5 CATEGORY="base-system"
     6 SHORT_DESC="The Linux kernel isdn modules."
     7 MAINTAINER="devel@slitaz.org"
     8 LICENSE="GPL2"
     9 DEPENDS="linux64"
    10 WANTED="linux"
    11 PROVIDE="linux-isdn:linux64"
    12 WEB_SITE="https://www.kernel.org/"
    14 HOST_ARCH="i486 x86_64"
    15 # Rules to gen a SliTaz package suitable for Tazpkg.
    16 genpkg_rules()
    17 {
    18     local path
    19     src=$WOK/linux64/source/tmp
    20     install=$install/linux64
    21     path=lib/modules/$VERSION-slitaz64/kernel
    22     mkdir -p $fs/$path
    23     export src
    24     export install
    25     $wanted_stuff/list_modules.sh drivers/isdn | 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
    31     for i in $(cat $wanted_stuff/modules.list); do
    32         if [ -f $fs/$path/$i ]; then
    33 	    rm -f $fs/$path/$i
    34 	fi
    35     done
    36 }
    38 # Post install/remove commands for Tazpkg.
    39 post_install()
    40 {
    41 	chroot "$root/" depmod -a $VERSION-slitaz64
    42 }
    44 post_remove()
    45 {
    46 	chroot "$root/" depmod -a $VERSION-slitaz64
    47 }