wok-current rev 12304

Add linux64 modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 17 09:47:11 2012 +0200 (2012-04-17)
parents 6b148befc732
children 0a2b4acbf5be
files linux-input-misc/receipt linux-input-tablet/receipt linux-input-touchscreen/receipt linux-irda/receipt linux-usb-misc/receipt linux-wimax/receipt linux64-acpi/receipt linux64-agp/receipt linux64-appletalk/receipt linux64-arcnet/receipt linux64-autofs/receipt linux64-bluetooth/receipt linux64-bridge/receipt linux64-cifs/receipt linux64-coda/receipt linux64-configfs/receipt linux64-cpufreq/receipt linux64-cramfs/receipt linux64-crypto/receipt linux64-cryptoloop/receipt linux64-dialup/receipt linux64-dlm/receipt linux64-drm/receipt linux64-firewire/receipt linux64-gfs2/receipt linux64-hfs/receipt linux64-hfsplus/receipt linux64-hwmon/receipt linux64-input-misc/receipt linux64-input-tablet/receipt linux64-input-touchscreen/receipt linux64-ipv6/receipt linux64-irda/receipt linux64-isdn/receipt linux64-jfs/receipt linux64-joystick/receipt linux64-kvm/receipt linux64-logfs/receipt linux64-md/receipt linux64-media/receipt linux64-memstick/receipt linux64-minix/receipt linux64-mmc/receipt linux64-mwave/receipt linux64-ncpfs/receipt linux64-netfilter/receipt linux64-nfsd/receipt linux64-ocfs2/receipt linux64-radio/receipt linux64-reiserfs/receipt linux64-sched/receipt linux64-scsi/receipt linux64-speakup/receipt linux64-squashfs/receipt linux64-staging/receipt linux64-toshiba/receipt linux64-usb-misc/receipt linux64-usbdsl/receipt linux64-usbip/receipt linux64-uwb/receipt linux64-video/receipt linux64-wan/receipt linux64-wimax/receipt linux64-wireless/receipt linux64-without-modules/receipt
line diff
     1.1 --- a/linux-input-misc/receipt	Tue Apr 17 08:34:19 2012 +0200
     1.2 +++ b/linux-input-misc/receipt	Tue Apr 17 09:47:11 2012 +0200
     1.3 @@ -7,6 +7,7 @@
     1.4  SHORT_DESC="The Linux kernel misc. input drivers, including the ATI RemoteWonders."
     1.5  MAINTAINER="rcx@zoominternet.net"
     1.6  WANTED="linux"
     1.7 +DEPENDS="linux"
     1.8  WEB_SITE="http://www.kernel.org/"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/linux-input-tablet/receipt	Tue Apr 17 08:34:19 2012 +0200
     2.2 +++ b/linux-input-tablet/receipt	Tue Apr 17 09:47:11 2012 +0200
     2.3 @@ -7,6 +7,7 @@
     2.4  SHORT_DESC="The Linux kernel tablet input drivers."
     2.5  MAINTAINER="rcx@zoominternet.net"
     2.6  WANTED="linux"
     2.7 +DEPENDS="linux"
     2.8  WEB_SITE="http://www.kernel.org/"
     2.9  
    2.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/linux-input-touchscreen/receipt	Tue Apr 17 08:34:19 2012 +0200
     3.2 +++ b/linux-input-touchscreen/receipt	Tue Apr 17 09:47:11 2012 +0200
     3.3 @@ -7,6 +7,7 @@
     3.4  SHORT_DESC="The Linux kernel touchscreen input drivers."
     3.5  MAINTAINER="jozee@slitaz.org"
     3.6  WANTED="linux"
     3.7 +DEPENDS="linux"
     3.8  WEB_SITE="http://www.kernel.org/"
     3.9  
    3.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/linux-irda/receipt	Tue Apr 17 08:34:19 2012 +0200
     4.2 +++ b/linux-irda/receipt	Tue Apr 17 09:47:11 2012 +0200
     4.3 @@ -7,6 +7,7 @@
     4.4  SHORT_DESC="The Linux kernel irda modules."
     4.5  MAINTAINER="devel@slitaz.org"
     4.6  WANTED="linux"
     4.7 +DEPENDS="linux"
     4.8  WEB_SITE="http://www.kernel.org/"
     4.9  
    4.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/linux-usb-misc/receipt	Tue Apr 17 08:34:19 2012 +0200
     5.2 +++ b/linux-usb-misc/receipt	Tue Apr 17 09:47:11 2012 +0200
     5.3 @@ -7,6 +7,7 @@
     5.4  SHORT_DESC="The Linux kernel misc. USB drivers, including the Lego USB tower."
     5.5  MAINTAINER="rcx@zoominternet.net"
     5.6  WANTED="linux"
     5.7 +DEPENDS="linux"
     5.8  WEB_SITE="http://www.kernel.org/"
     5.9  
    5.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.1 --- a/linux-wimax/receipt	Tue Apr 17 08:34:19 2012 +0200
     6.2 +++ b/linux-wimax/receipt	Tue Apr 17 09:47:11 2012 +0200
     6.3 @@ -7,6 +7,7 @@
     6.4  SHORT_DESC="The Linux kernel wimax modules."
     6.5  MAINTAINER="devel@slitaz.org"
     6.6  WANTED="linux"
     6.7 +DEPENDS="linux"
     6.8  WEB_SITE="http://www.kernel.org/"
     6.9  
    6.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/linux64-acpi/receipt	Tue Apr 17 09:47:11 2012 +0200
     7.3 @@ -0,0 +1,47 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="linux64-acpi"
     7.7 +VERSION="3.2.14"
     7.8 +BASEVER="${VERSION:0:3}"
     7.9 +CATEGORY="base-system"
    7.10 +SHORT_DESC="The Linux kernel acpi modules."
    7.11 +DEPENDS="linux64"
    7.12 +MAINTAINER="devel@slitaz.org"
    7.13 +WANTED="linux"
    7.14 +PROVIDE="linux-acpi"
    7.15 +WEB_SITE="http://www.kernel.org/"
    7.16 +
    7.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.18 +genpkg_rules()
    7.19 +{
    7.20 +    local path
    7.21 +    _pkg=$_pkg/linux64
    7.22 +    path=lib/modules/$BASEVER-slitaz/kernel
    7.23 +    mkdir -p $fs/$path
    7.24 +    export src
    7.25 +    export _pkg
    7.26 +    $wanted_stuff/list_modules.sh drivers/acpi drivers/platform/x86 | \
    7.27 +    while read module; do
    7.28 +    	dir=$path/$(dirname $module)
    7.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    7.30 +        cp -a $_pkg/$path/$module $fs/$dir
    7.31 +    done
    7.32 +
    7.33 +    for i in $(cat $wanted_stuff/modules.list); do
    7.34 +        if [ -f $fs/$path/$i ]; then
    7.35 +	    rm -f $fs/$path/$i
    7.36 +	fi
    7.37 +    done
    7.38 +}
    7.39 +
    7.40 +# Post install/remove commands for Tazpkg.
    7.41 +post_install()
    7.42 +{
    7.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
    7.44 +}
    7.45 +
    7.46 +post_remove()
    7.47 +{
    7.48 +	chroot "$1/" depmod -a $BASEVER-slitaz
    7.49 +}
    7.50 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/linux64-agp/receipt	Tue Apr 17 09:47:11 2012 +0200
     8.3 @@ -0,0 +1,46 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="linux64-agp"
     8.7 +VERSION="3.2.14"
     8.8 +BASEVER="${VERSION:0:3}"
     8.9 +CATEGORY="base-system"
    8.10 +SHORT_DESC="The Linux kernel AGP modules."
    8.11 +MAINTAINER="erjo@slitaz.org"
    8.12 +DEPENDS="linux64"
    8.13 +WANTED="linux"
    8.14 +PROVIDE="linux-agp"
    8.15 +WEB_SITE="http://www.kernel.org/"
    8.16 +
    8.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.18 +genpkg_rules()
    8.19 +{
    8.20 +    local path
    8.21 +    _pkg=$_pkg/linux64
    8.22 +    path=lib/modules/$BASEVER-slitaz/kernel
    8.23 +    mkdir -p $fs/$path
    8.24 +    export src
    8.25 +    export _pkg
    8.26 +    $wanted_stuff/list_modules.sh drivers/char/agp | while read module; do
    8.27 +    	dir=$path/$(dirname $module)
    8.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    8.29 +        cp -a $_pkg/$path/$module $fs/$dir
    8.30 +    done
    8.31 +
    8.32 +    for i in $(cat $wanted_stuff/modules.list); do
    8.33 +        if [ -f $fs/$path/$i ]; then
    8.34 +	    rm -f $fs/$path/$i
    8.35 +	fi
    8.36 +    done
    8.37 +}
    8.38 +
    8.39 +# Post install/remove commands for Tazpkg.
    8.40 +post_install()
    8.41 +{
    8.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
    8.43 +}
    8.44 +
    8.45 +post_remove()
    8.46 +{
    8.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
    8.48 +}
    8.49 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/linux64-appletalk/receipt	Tue Apr 17 09:47:11 2012 +0200
     9.3 @@ -0,0 +1,49 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="linux64-appletalk"
     9.7 +VERSION="3.2.14"
     9.8 +BASEVER="${VERSION:0:3}"
     9.9 +CATEGORY="base-system"
    9.10 +SHORT_DESC="The Linux kernel appletalk modules."
    9.11 +MAINTAINER="devel@slitaz.org"
    9.12 +DEPENDS="linux64"
    9.13 +WANTED="linux"
    9.14 +PROVIDE="linux-appletalk"
    9.15 +WEB_SITE="http://www.kernel.org/"
    9.16 +
    9.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.18 +genpkg_rules()
    9.19 +{
    9.20 +    local path
    9.21 +    _pkg=$_pkg/linux64
    9.22 +    path=lib/modules/$BASEVER-slitaz/kernel
    9.23 +    mkdir -p $fs/$path
    9.24 +    
    9.25 +    export src
    9.26 +    export _pkg
    9.27 +    
    9.28 +    $wanted_stuff/list_modules.sh drivers/net/appletalk net/appletalk \
    9.29 +	net/802/p8022.ko.gz | while read module; do
    9.30 +    	dir=$path/$(dirname $module)
    9.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    9.32 +        cp -a $_pkg/$path/$module $fs/$dir
    9.33 +    done
    9.34 +
    9.35 +    for i in $(cat $wanted_stuff/modules.list); do
    9.36 +        if [ -f $fs/$path/$i ]; then
    9.37 +	    rm -f $fs/$path/$i
    9.38 +	fi
    9.39 +    done
    9.40 +}
    9.41 +
    9.42 +# Post install/remove commands for Tazpkg.
    9.43 +post_install()
    9.44 +{
    9.45 +	chroot "$1/" depmod -a $BASEVER-slitaz
    9.46 +}
    9.47 +
    9.48 +post_remove()
    9.49 +{
    9.50 +	chroot "$1/" depmod -a $BASEVER-slitaz
    9.51 +}
    9.52 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/linux64-arcnet/receipt	Tue Apr 17 09:47:11 2012 +0200
    10.3 @@ -0,0 +1,48 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="linux64-arcnet"
    10.7 +VERSION="3.2.14"
    10.8 +BASEVER="${VERSION:0:3}"
    10.9 +CATEGORY="base-system"
   10.10 +SHORT_DESC="arcnet kernel modules"
   10.11 +MAINTAINER="slaxemulator@gmail.com"
   10.12 +WANTED="linux"
   10.13 +PROVIDE="linux-arcnet"
   10.14 +WEB_SITE="http://kernel.org/"
   10.15 +DEPENDS="linux64"
   10.16 +
   10.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.18 +genpkg_rules()
   10.19 +{
   10.20 +    local path
   10.21 +    _pkg=$_pkg/linux64
   10.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   10.23 +    mkdir -p $fs/$path
   10.24 +    
   10.25 +    export src
   10.26 +    export _pkg
   10.27 +    
   10.28 +    $wanted_stuff/list_modules.sh drivers/net/arcnet drivers/net/arcnet/arcnet.ko.gz \
   10.29 +    drivers/net/arcnet/com90xx.ko.gz drivers/net/arcnet/rfc1051.ko.gz | while read module; do
   10.30 +    	dir=$path/$(dirname $module)
   10.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   10.32 +        cp -a $_pkg/$path/$module $fs/$dir
   10.33 +    done
   10.34 +
   10.35 +    for i in $(cat $wanted_stuff/modules.list); do
   10.36 +        if [ -f $fs/$path/$i ]; then
   10.37 +	    rm -f $fs/$path/$i
   10.38 +	fi
   10.39 +    done
   10.40 +}
   10.41 +
   10.42 +# Post install/remove commands for Tazpkg.
   10.43 +post_install()
   10.44 +{
   10.45 +	chroot "$1/" depmod -a $BASEVER-slitaz
   10.46 +}
   10.47 +
   10.48 +post_remove()
   10.49 +{
   10.50 +	chroot "$1/" depmod -a $BASEVER-slitaz
   10.51 +}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/linux64-autofs/receipt	Tue Apr 17 09:47:11 2012 +0200
    11.3 @@ -0,0 +1,45 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="linux64-autofs"
    11.7 +VERSION="3.2.14"
    11.8 +BASEVER="${VERSION:0:3}"
    11.9 +CATEGORY="base-system"
   11.10 +SHORT_DESC="The Linux kernel automounter module."
   11.11 +MAINTAINER="devel@slitaz.org"
   11.12 +DEPENDS="linux64"
   11.13 +WANTED="linux"
   11.14 +PROVIDE="linux-autofs"
   11.15 +WEB_SITE="http://www.kernel.org/"
   11.16 +CONFIG_FILES="/etc/filesystems"
   11.17 +
   11.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.19 +genpkg_rules()
   11.20 +{
   11.21 +    local path
   11.22 +    _pkg=$_pkg/linux64
   11.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   11.24 +    mkdir -p $fs/$path $fs/etc
   11.25 +    export src
   11.26 +    export _pkg
   11.27 +    $wanted_stuff/list_modules.sh fs/autofs4 | while read module; do
   11.28 +    	dir=$path/$(dirname $module)
   11.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   11.30 +        cp -a $_pkg/$path/$module $fs/$dir
   11.31 +    done
   11.32 +    touch $fs/etc/filesystems
   11.33 +}
   11.34 +
   11.35 +# Post install/remove commands for Tazpkg.
   11.36 +post_install()
   11.37 +{
   11.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   11.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   11.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   11.41 +}
   11.42 +
   11.43 +post_remove()
   11.44 +{
   11.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   11.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   11.47 +}
   11.48 +
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/linux64-bluetooth/receipt	Tue Apr 17 09:47:11 2012 +0200
    12.3 @@ -0,0 +1,46 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="linux64-bluetooth"
    12.7 +VERSION="3.2.14"
    12.8 +BASEVER="${VERSION:0:3}"
    12.9 +CATEGORY="base-system"
   12.10 +SHORT_DESC="The Linux kernel bluetooth modules."
   12.11 +MAINTAINER="devel@slitaz.org"
   12.12 +DEPENDS="linux64"
   12.13 +WANTED="linux"
   12.14 +PROVIDE="linux-bluetooth"
   12.15 +WEB_SITE="http://www.kernel.org/"
   12.16 +
   12.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.18 +genpkg_rules()
   12.19 +{
   12.20 +    local path
   12.21 +    _pkg=$_pkg/linux64
   12.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   12.23 +    mkdir -p $fs/$path
   12.24 +    export src
   12.25 +    export _pkg
   12.26 +    $wanted_stuff/list_modules.sh drivers/bluetooth net/bluetooth | while read module; do
   12.27 +    	dir=$path/$(dirname $module)
   12.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   12.29 +        cp -a $_pkg/$path/$module $fs/$dir
   12.30 +    done
   12.31 +
   12.32 +    for i in $(cat $wanted_stuff/modules.list); do
   12.33 +        if [ -f $fs/$path/$i ]; then
   12.34 +	    rm -f $fs/$path/$i
   12.35 +	fi
   12.36 +    done
   12.37 +}
   12.38 +
   12.39 +# Post install/remove commands for Tazpkg.
   12.40 +post_install()
   12.41 +{
   12.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   12.43 +}
   12.44 +
   12.45 +post_remove()
   12.46 +{
   12.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   12.48 +}
   12.49 +
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/linux64-bridge/receipt	Tue Apr 17 09:47:11 2012 +0200
    13.3 @@ -0,0 +1,46 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="linux64-bridge"
    13.7 +VERSION="3.2.14"
    13.8 +BASEVER="${VERSION:0:3}"
    13.9 +CATEGORY="base-system"
   13.10 +SHORT_DESC="The Linux kernel bridge modules."
   13.11 +MAINTAINER="devel@slitaz.org"
   13.12 +DEPENDS="linux64"
   13.13 +WANTED="linux"
   13.14 +PROVIDE="linux-bridge"
   13.15 +WEB_SITE="http://www.kernel.org/"
   13.16 +
   13.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   13.18 +genpkg_rules()
   13.19 +{
   13.20 +    local path
   13.21 +    _pkg=$_pkg/linux64
   13.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   13.23 +    mkdir -p $fs/$path
   13.24 +    export src
   13.25 +    export _pkg
   13.26 +    $wanted_stuff/list_modules.sh net/bridge | while read module; do
   13.27 +    	dir=$path/$(dirname $module)
   13.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   13.29 +        cp -a $_pkg/$path/$module $fs/$dir
   13.30 +    done
   13.31 +
   13.32 +    for i in $(cat $wanted_stuff/modules.list); do
   13.33 +        if [ -f $fs/$path/$i ]; then
   13.34 +	    rm -f $fs/$path/$i
   13.35 +	fi
   13.36 +    done
   13.37 +}
   13.38 +
   13.39 +# Post install/remove commands for Tazpkg.
   13.40 +post_install()
   13.41 +{
   13.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   13.43 +}
   13.44 +
   13.45 +post_remove()
   13.46 +{
   13.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   13.48 +}
   13.49 +
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/linux64-cifs/receipt	Tue Apr 17 09:47:11 2012 +0200
    14.3 @@ -0,0 +1,45 @@
    14.4 +# SliTaz package receipt.
    14.5 +
    14.6 +PACKAGE="linux64-cifs"
    14.7 +VERSION="3.2.14"
    14.8 +BASEVER="${VERSION:0:3}"
    14.9 +CATEGORY="base-system"
   14.10 +SHORT_DESC="The Linux kernel cifs module."
   14.11 +MAINTAINER="devel@slitaz.org"
   14.12 +DEPENDS="linux64"
   14.13 +WANTED="linux"
   14.14 +PROVIDE="linux-cifs"
   14.15 +WEB_SITE="http://www.kernel.org/"
   14.16 +CONFIG_FILES="/etc/filesystems"
   14.17 +
   14.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   14.19 +genpkg_rules()
   14.20 +{
   14.21 +    local path
   14.22 +    _pkg=$_pkg/linux64
   14.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   14.24 +    mkdir -p $fs/$path $fs/etc
   14.25 +    export src
   14.26 +    export _pkg
   14.27 +    $wanted_stuff/list_modules.sh fs/cifs | while read module; do
   14.28 +    	dir=$path/$(dirname $module)
   14.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   14.30 +        cp -a $_pkg/$path/$module $fs/$dir
   14.31 +    done
   14.32 +    touch $fs/etc/filesystems
   14.33 +}
   14.34 +
   14.35 +# Post install/remove commands for Tazpkg.
   14.36 +post_install()
   14.37 +{
   14.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   14.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   14.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   14.41 +}
   14.42 +
   14.43 +post_remove()
   14.44 +{
   14.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   14.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   14.47 +}
   14.48 +
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/linux64-coda/receipt	Tue Apr 17 09:47:11 2012 +0200
    15.3 @@ -0,0 +1,45 @@
    15.4 +# SliTaz package receipt.
    15.5 +
    15.6 +PACKAGE="linux64-coda"
    15.7 +VERSION="3.2.14"
    15.8 +BASEVER="${VERSION:0:3}"
    15.9 +CATEGORY="base-system"
   15.10 +SHORT_DESC="The Linux kernel coda module."
   15.11 +MAINTAINER="devel@slitaz.org"
   15.12 +DEPENDS="linux64"
   15.13 +WANTED="linux"
   15.14 +PROVIDE="linux-coda"
   15.15 +WEB_SITE="http://www.kernel.org/"
   15.16 +CONFIG_FILES="/etc/filesystems"
   15.17 +
   15.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   15.19 +genpkg_rules()
   15.20 +{
   15.21 +    local path
   15.22 +    _pkg=$_pkg/linux64
   15.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   15.24 +    mkdir -p $fs/$path $fs/etc
   15.25 +    export src
   15.26 +    export _pkg
   15.27 +    $wanted_stuff/list_modules.sh fs/coda | while read module; do
   15.28 +    	dir=$path/$(dirname $module)
   15.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   15.30 +        cp -a $_pkg/$path/$module $fs/$dir
   15.31 +    done
   15.32 +    touch $fs/etc/filesystems
   15.33 +}
   15.34 +
   15.35 +# Post install/remove commands for Tazpkg.
   15.36 +post_install()
   15.37 +{
   15.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   15.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   15.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   15.41 +}
   15.42 +
   15.43 +post_remove()
   15.44 +{
   15.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   15.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   15.47 +}
   15.48 +
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/linux64-configfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    16.3 @@ -0,0 +1,45 @@
    16.4 +# SliTaz package receipt.
    16.5 +
    16.6 +PACKAGE="linux64-configfs"
    16.7 +VERSION="3.2.14"
    16.8 +BASEVER="${VERSION:0:3}"
    16.9 +CATEGORY="base-system"
   16.10 +SHORT_DESC="The Linux kernel configfs module."
   16.11 +MAINTAINER="devel@slitaz.org"
   16.12 +DEPENDS="linux64"
   16.13 +WANTED="linux"
   16.14 +PROVIDE="linux-configfs"
   16.15 +WEB_SITE="http://www.kernel.org/"
   16.16 +CONFIG_FILES="/etc/filesystems"
   16.17 +
   16.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   16.19 +genpkg_rules()
   16.20 +{
   16.21 +    local path
   16.22 +    _pkg=$_pkg/linux64
   16.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   16.24 +    mkdir -p $fs/$path $fs/etc
   16.25 +    export src
   16.26 +    export _pkg
   16.27 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   16.28 +    	dir=$path/$(dirname $module)
   16.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   16.30 +        cp -a $_pkg/$path/$module $fs/$dir
   16.31 +    done
   16.32 +    touch $fs/etc/filesystems
   16.33 +}
   16.34 +
   16.35 +# Post install/remove commands for Tazpkg.
   16.36 +post_install()
   16.37 +{
   16.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   16.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   16.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   16.41 +}
   16.42 +
   16.43 +post_remove()
   16.44 +{
   16.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   16.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   16.47 +}
   16.48 +
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/linux64-cpufreq/receipt	Tue Apr 17 09:47:11 2012 +0200
    17.3 @@ -0,0 +1,41 @@
    17.4 +# SliTaz package receipt.
    17.5 +
    17.6 +PACKAGE="linux64-cpufreq"
    17.7 +VERSION="3.2.14"
    17.8 +BASEVER="${VERSION:0:3}"
    17.9 +CATEGORY="base-system"
   17.10 +SHORT_DESC="The Linux kernel cpufreq modules."
   17.11 +MAINTAINER="devel@slitaz.org"
   17.12 +DEPENDS="linux64"
   17.13 +WANTED="linux"
   17.14 +PROVIDE="linux-cpufreq"
   17.15 +WEB_SITE="http://www.kernel.org/"
   17.16 +
   17.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   17.18 +genpkg_rules()
   17.19 +{
   17.20 +    local path
   17.21 +    _pkg=$_pkg/linux64
   17.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   17.23 +    mkdir -p $fs/$path
   17.24 +    export src
   17.25 +    export _pkg
   17.26 +    $wanted_stuff/list_modules.sh drivers/cpufreq | \
   17.27 +    while read module; do
   17.28 +    	dir=$path/$(dirname $module)
   17.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   17.30 +        cp -a $_pkg/$path/$module $fs/$dir
   17.31 +    done
   17.32 +}
   17.33 +
   17.34 +# Post install/remove commands for Tazpkg.
   17.35 +post_install()
   17.36 +{
   17.37 +	chroot "$1/" depmod -a $BASEVER-slitaz
   17.38 +}
   17.39 +
   17.40 +post_remove()
   17.41 +{
   17.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   17.43 +}
   17.44 +
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/linux64-cramfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    18.3 @@ -0,0 +1,45 @@
    18.4 +# SliTaz package receipt.
    18.5 +
    18.6 +PACKAGE="linux64-cramfs"
    18.7 +VERSION="3.2.14"
    18.8 +BASEVER="${VERSION:0:3}"
    18.9 +CATEGORY="base-system"
   18.10 +SHORT_DESC="The Linux kernel cramfs module."
   18.11 +MAINTAINER="devel@slitaz.org"
   18.12 +DEPENDS="linux64"
   18.13 +WANTED="linux"
   18.14 +PROVIDE="linux-cramfs"
   18.15 +WEB_SITE="http://www.kernel.org/"
   18.16 +CONFIG_FILES="/etc/filesystems"
   18.17 +
   18.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   18.19 +genpkg_rules()
   18.20 +{
   18.21 +    local path
   18.22 +    _pkg=$_pkg/linux64
   18.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   18.24 +    mkdir -p $fs/$path $fs/etc
   18.25 +    export src
   18.26 +    export _pkg
   18.27 +    $wanted_stuff/list_modules.sh fs/cramfs | while read module; do
   18.28 +    	dir=$path/$(dirname $module)
   18.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   18.30 +        cp -a $_pkg/$path/$module $fs/$dir
   18.31 +    done
   18.32 +    touch $fs/etc/filesystems
   18.33 +}
   18.34 +
   18.35 +# Post install/remove commands for Tazpkg.
   18.36 +post_install()
   18.37 +{
   18.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   18.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   18.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   18.41 +}
   18.42 +
   18.43 +post_remove()
   18.44 +{
   18.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   18.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   18.47 +}
   18.48 +
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/linux64-crypto/receipt	Tue Apr 17 09:47:11 2012 +0200
    19.3 @@ -0,0 +1,47 @@
    19.4 +# SliTaz package receipt.
    19.5 +
    19.6 +PACKAGE="linux64-crypto"
    19.7 +VERSION="3.2.14"
    19.8 +BASEVER="${VERSION:0:3}"
    19.9 +CATEGORY="base-system"
   19.10 +SHORT_DESC="The Linux kernel crypto modules."
   19.11 +MAINTAINER="devel@slitaz.org"
   19.12 +DEPENDS="linux64"
   19.13 +WANTED="linux"
   19.14 +PROVIDE="linux-crypto"
   19.15 +WEB_SITE="http://www.kernel.org/"
   19.16 +
   19.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   19.18 +genpkg_rules()
   19.19 +{
   19.20 +    local path
   19.21 +    _pkg=$_pkg/linux64
   19.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   19.23 +    mkdir -p $fs/$path
   19.24 +    export src
   19.25 +    export _pkg
   19.26 +    $wanted_stuff/list_modules.sh arch/x86/crypto crypto drivers/crypto | \
   19.27 +    while read module; do
   19.28 +    	dir=$path/$(dirname $module)
   19.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   19.30 +        cp -a $_pkg/$path/$module $fs/$dir
   19.31 +    done
   19.32 +
   19.33 +    for i in $(cat $wanted_stuff/modules.list); do
   19.34 +        if [ -f $fs/$path/$i ]; then
   19.35 +	    rm -f $fs/$path/$i
   19.36 +	fi
   19.37 +    done
   19.38 +}
   19.39 +
   19.40 +# Post install/remove commands for Tazpkg.
   19.41 +post_install()
   19.42 +{
   19.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
   19.44 +}
   19.45 +
   19.46 +post_remove()
   19.47 +{
   19.48 +	chroot "$1/" depmod -a $BASEVER-slitaz
   19.49 +}
   19.50 +
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/linux64-cryptoloop/receipt	Tue Apr 17 09:47:11 2012 +0200
    20.3 @@ -0,0 +1,41 @@
    20.4 +# SliTaz package receipt.
    20.5 +
    20.6 +PACKAGE="linux64-cryptoloop"
    20.7 +VERSION="3.2.14"
    20.8 +BASEVER="${VERSION:0:3}"
    20.9 +CATEGORY="base-system"
   20.10 +SHORT_DESC="The Linux kernel cryptoloop modules."
   20.11 +MAINTAINER="devel@slitaz.org"
   20.12 +DEPENDS="linux64-crypto"
   20.13 +WANTED="linux"
   20.14 +PROVIDE="linux-cryptoloop"
   20.15 +WEB_SITE="http://www.kernel.org/"
   20.16 +
   20.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   20.18 +genpkg_rules()
   20.19 +{
   20.20 +    local path
   20.21 +    _pkg=$_pkg/linux64
   20.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   20.23 +    mkdir -p $fs/$path
   20.24 +    export src
   20.25 +    export _pkg
   20.26 +    $wanted_stuff/list_modules.sh drivers/block/cryptoloop.ko.gz | \
   20.27 +    while read module; do
   20.28 +    	dir=$path/$(dirname $module)
   20.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   20.30 +        cp -a $_pkg/$path/$module $fs/$dir
   20.31 +    done
   20.32 +}
   20.33 +
   20.34 +# Post install/remove commands for Tazpkg.
   20.35 +post_install()
   20.36 +{
   20.37 +	chroot "$1/" depmod -a $BASEVER-slitaz
   20.38 +}
   20.39 +
   20.40 +post_remove()
   20.41 +{
   20.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   20.43 +}
   20.44 +
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/linux64-dialup/receipt	Tue Apr 17 09:47:11 2012 +0200
    21.3 @@ -0,0 +1,48 @@
    21.4 +# SliTaz package receipt.
    21.5 +
    21.6 +PACKAGE="linux64-dialup"
    21.7 +VERSION="3.2.14"
    21.8 +BASEVER="${VERSION:0:3}"
    21.9 +CATEGORY="base-system"
   21.10 +SHORT_DESC="The Linux kernel dial-up modules."
   21.11 +MAINTAINER="domcox@slitaz.org"
   21.12 +DEPENDS="linux64"
   21.13 +WANTED="linux"
   21.14 +PROVIDE="linux-dialup"
   21.15 +WEB_SITE="http://www.kernel.org/"
   21.16 +
   21.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   21.18 +genpkg_rules()
   21.19 +{
   21.20 +    local path
   21.21 +    _pkg=$_pkg/linux64
   21.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   21.23 +    mkdir -p $fs/$path
   21.24 +    export src
   21.25 +    export _pkg
   21.26 +    $wanted_stuff/list_modules.sh drivers/tty/serial/serial_cs.ko.gz \
   21.27 +	drivers/usb/serial/option.ko.gz drivers/net/usb/hso.ko.gz | \
   21.28 +	while read module; do
   21.29 +    	dir=$path/$(dirname $module)
   21.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   21.31 +        cp -a $_pkg/$path/$module $fs/$dir
   21.32 +    done
   21.33 +
   21.34 +    for i in $(cat $wanted_stuff/modules.list); do
   21.35 +        if [ -f $fs/$path/$i ]; then
   21.36 +	    rm -f $fs/$path/$i
   21.37 +	fi
   21.38 +    done
   21.39 +}
   21.40 +
   21.41 +# Post install/remove commands for Tazpkg.
   21.42 +post_install()
   21.43 +{
   21.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   21.45 +}
   21.46 +
   21.47 +post_remove()
   21.48 +{
   21.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   21.50 +}
   21.51 +
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/linux64-dlm/receipt	Tue Apr 17 09:47:11 2012 +0200
    22.3 @@ -0,0 +1,46 @@
    22.4 +# SliTaz package receipt.
    22.5 +
    22.6 +PACKAGE="linux64-dlm"
    22.7 +VERSION="3.2.14"
    22.8 +BASEVER="${VERSION:0:3}"
    22.9 +CATEGORY="base-system"
   22.10 +SHORT_DESC="The Linux kernel dlmfs module."
   22.11 +MAINTAINER="devel@slitaz.org"
   22.12 +DEPENDS="linux64"
   22.13 +WANTED="linux"
   22.14 +PROVIDE="linux-dlm"
   22.15 +WEB_SITE="http://www.kernel.org/"
   22.16 +CONFIG_FILES="/etc/filesystems"
   22.17 +
   22.18 +# Modules paths and list
   22.19 +MOD_PATH="lib/modules/$BASEVER-slitaz/kernel"
   22.20 +MODULES="fs/dlm/dlm.ko.gz"
   22.21 +
   22.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
   22.23 +genpkg_rules()
   22.24 +{
   22.25 +    _pkg=$_pkg/linux64
   22.26 +    mkdir -p ${fs}/${MOD_PATH} $fs/etc
   22.27 +	for module in $MODULES
   22.28 +	do
   22.29 +		dir=$MOD_PATH/$(dirname $module)
   22.30 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   22.31 +		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   22.32 +	done
   22.33 +    touch $fs/etc/filesystems
   22.34 +}
   22.35 +
   22.36 +# Post install/remove commands for Tazpkg.
   22.37 +post_install()
   22.38 +{
   22.39 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   22.40 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   22.41 +	chroot "$1/" depmod -a $BASEVER-slitaz
   22.42 +}
   22.43 +
   22.44 +post_remove()
   22.45 +{
   22.46 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   22.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   22.48 +}
   22.49 +
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/linux64-drm/receipt	Tue Apr 17 09:47:11 2012 +0200
    23.3 @@ -0,0 +1,51 @@
    23.4 +# SliTaz package receipt.
    23.5 +
    23.6 +PACKAGE="linux64-drm"
    23.7 +VERSION="3.2.14"
    23.8 +BASEVER="${VERSION:0:3}"
    23.9 +CATEGORY="base-system"
   23.10 +SHORT_DESC="The Linux kernel drm module."
   23.11 +MAINTAINER="devel@slitaz.org"
   23.12 +DEPENDS="linux64-agp"
   23.13 +WANTED="linux"
   23.14 +PROVIDE="linux-drm"
   23.15 +WEB_SITE="http://www.kernel.org/"
   23.16 +
   23.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   23.18 +genpkg_rules()
   23.19 +{
   23.20 +	local path
   23.21 +	_pkg=$_pkg/linux64
   23.22 +	path=lib/modules/$BASEVER-slitaz/kernel
   23.23 +	mkdir -p $fs/$path
   23.24 +	export src
   23.25 +	export _pkg
   23.26 +	$wanted_stuff/list_modules.sh drivers/gpu/drm | while read module; do
   23.27 +		dir=$path/$(dirname $module)
   23.28 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   23.29 +		cp -a $_pkg/$path/$module $fs/$dir
   23.30 +	done
   23.31 +
   23.32 +    for i in $(cat $wanted_stuff/modules.list); do
   23.33 +        if [ -f $fs/$path/$i ]; then
   23.34 +	    rm -f $fs/$path/$i
   23.35 +	fi
   23.36 +    done
   23.37 +
   23.38 +    # remove drivers/char/agp kernel modules cause there in linux-agp package
   23.39 +    if [ -d $fs/$path/drivers/char/agp ]; then
   23.40 +        rm -rf $fs/$path/drivers/char/agp
   23.41 +    fi
   23.42 +}
   23.43 +
   23.44 +# Post install/remove commands for Tazpkg.
   23.45 +post_install()
   23.46 +{
   23.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   23.48 +}
   23.49 +
   23.50 +post_remove()
   23.51 +{
   23.52 +	chroot "$1/" depmod -a $BASEVER-slitaz
   23.53 +}
   23.54 +
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/linux64-firewire/receipt	Tue Apr 17 09:47:11 2012 +0200
    24.3 @@ -0,0 +1,40 @@
    24.4 +# SliTaz package receipt.
    24.5 +
    24.6 +PACKAGE="linux64-firewire"
    24.7 +VERSION="3.2.14"
    24.8 +BASEVER="${VERSION:0:3}"
    24.9 +CATEGORY="base-system"
   24.10 +SHORT_DESC="The Linux kernel firewire modules."
   24.11 +MAINTAINER="devel@slitaz.org"
   24.12 +DEPENDS="linux64"
   24.13 +WANTED="linux"
   24.14 +PROVIDE="linux-firewire"
   24.15 +WEB_SITE="http://www.kernel.org/"
   24.16 +
   24.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   24.18 +genpkg_rules()
   24.19 +{
   24.20 +    local path
   24.21 +    _pkg=$_pkg/linux64
   24.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   24.23 +    mkdir -p $fs/$path
   24.24 +    export src
   24.25 +    export _pkg
   24.26 +    $wanted_stuff/list_modules.sh drivers/firewire | while read module; do
   24.27 +    	dir=$path/$(dirname $module)
   24.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   24.29 +        cp -a $_pkg/$path/$module $fs/$dir
   24.30 +    done
   24.31 +}
   24.32 +
   24.33 +# Post install/remove commands for Tazpkg.
   24.34 +post_install()
   24.35 +{
   24.36 +	chroot "$1/" depmod -a $BASEVER-slitaz
   24.37 +}
   24.38 +
   24.39 +post_remove()
   24.40 +{
   24.41 +	chroot "$1/" depmod -a $BASEVER-slitaz
   24.42 +}
   24.43 +
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/linux64-gfs2/receipt	Tue Apr 17 09:47:11 2012 +0200
    25.3 @@ -0,0 +1,45 @@
    25.4 +# SliTaz package receipt.
    25.5 +
    25.6 +PACKAGE="linux64-gfs2"
    25.7 +VERSION="3.2.14"
    25.8 +BASEVER="${VERSION:0:3}"
    25.9 +CATEGORY="base-system"
   25.10 +SHORT_DESC="The Linux kernel gfs2 module."
   25.11 +MAINTAINER="devel@slitaz.org"
   25.12 +DEPENDS="linux64"
   25.13 +WANTED="linux"
   25.14 +PROVIDE="linux-gfs2"
   25.15 +WEB_SITE="http://www.kernel.org/"
   25.16 +CONFIG_FILES="/etc/filesystems"
   25.17 +
   25.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   25.19 +genpkg_rules()
   25.20 +{
   25.21 +    local path
   25.22 +    _pkg=$_pkg/linux64
   25.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   25.24 +    mkdir -p $fs/$path $fs/etc
   25.25 +    export src
   25.26 +    export _pkg
   25.27 +    $wanted_stuff/list_modules.sh fs/gfs2 | while read module; do
   25.28 +    	dir=$path/$(dirname $module)
   25.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   25.30 +        cp -a $_pkg/$path/$module $fs/$dir
   25.31 +    done
   25.32 +    touch $fs/etc/filesystems
   25.33 +}
   25.34 +
   25.35 +# Post install/remove commands for Tazpkg.
   25.36 +post_install()
   25.37 +{
   25.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   25.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   25.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   25.41 +}
   25.42 +
   25.43 +post_remove()
   25.44 +{
   25.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   25.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   25.47 +}
   25.48 +
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/linux64-hfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    26.3 @@ -0,0 +1,45 @@
    26.4 +# SliTaz package receipt.
    26.5 +
    26.6 +PACKAGE="linux64-hfs"
    26.7 +VERSION="3.2.14"
    26.8 +BASEVER="${VERSION:0:3}"
    26.9 +CATEGORY="base-system"
   26.10 +SHORT_DESC="The Linux kernel hfs module."
   26.11 +MAINTAINER="devel@slitaz.org"
   26.12 +DEPENDS="linux64"
   26.13 +WANTED="linux"
   26.14 +PROVIDE="linux-hfs"
   26.15 +WEB_SITE="http://www.kernel.org/"
   26.16 +CONFIG_FILES="/etc/filesystems"
   26.17 +
   26.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   26.19 +genpkg_rules()
   26.20 +{
   26.21 +    local path
   26.22 +    _pkg=$_pkg/linux64
   26.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   26.24 +    mkdir -p $fs/$path $fs/etc
   26.25 +    export src
   26.26 +    export _pkg
   26.27 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   26.28 +    	dir=$path/$(dirname $module)
   26.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   26.30 +        cp -a $_pkg/$path/$module $fs/$dir
   26.31 +    done
   26.32 +    touch $fs/etc/filesystems
   26.33 +}
   26.34 +
   26.35 +# Post install/remove commands for Tazpkg.
   26.36 +post_install()
   26.37 +{
   26.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   26.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   26.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   26.41 +}
   26.42 +
   26.43 +post_remove()
   26.44 +{
   26.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   26.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   26.47 +}
   26.48 +
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/linux64-hfsplus/receipt	Tue Apr 17 09:47:11 2012 +0200
    27.3 @@ -0,0 +1,44 @@
    27.4 +# SliTaz package receipt.
    27.5 +
    27.6 +PACKAGE="linux64-hfsplus"
    27.7 +VERSION="3.2.14"
    27.8 +BASEVER="${VERSION:0:3}"
    27.9 +CATEGORY="base-system"
   27.10 +SHORT_DESC="The Linux kernel hfsplus module."
   27.11 +MAINTAINER="devel@slitaz.org"
   27.12 +DEPENDS="linux64"
   27.13 +WANTED="linux"
   27.14 +PROVIDE="linux-hfsplus"
   27.15 +WEB_SITE="http://www.kernel.org/"
   27.16 +CONFIG_FILES="/etc/filesystems"
   27.17 +
   27.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   27.19 +genpkg_rules()
   27.20 +{
   27.21 +    local path
   27.22 +    _pkg=$_pkg/linux64
   27.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   27.24 +    mkdir -p $fs/$path $fs/etc
   27.25 +    export src
   27.26 +    export _pkg
   27.27 +    $wanted_stuff/list_modules.sh fs/hfsplus | while read module; do
   27.28 +    	dir=$path/$(dirname $module)
   27.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   27.30 +        cp -a $_pkg/$path/$module $fs/$dir
   27.31 +    done
   27.32 +    touch $fs/etc/filesystems
   27.33 +}
   27.34 +
   27.35 +# Post install/remove commands for Tazpkg.
   27.36 +post_install()
   27.37 +{
   27.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   27.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   27.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   27.41 +}
   27.42 +
   27.43 +post_remove()
   27.44 +{
   27.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   27.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   27.47 +}
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/linux64-hwmon/receipt	Tue Apr 17 09:47:11 2012 +0200
    28.3 @@ -0,0 +1,46 @@
    28.4 +# SliTaz package receipt.
    28.5 +
    28.6 +PACKAGE="linux64-hwmon"
    28.7 +VERSION="3.2.14"
    28.8 +BASEVER="${VERSION:0:3}"
    28.9 +CATEGORY="base-system"
   28.10 +SHORT_DESC="The Linux kernel hwmon modules."
   28.11 +MAINTAINER="devel@slitaz.org"
   28.12 +DEPENDS="linux64"
   28.13 +WANTED="linux"
   28.14 +PROVIDE="linux-hwmon"
   28.15 +WEB_SITE="http://www.kernel.org/"
   28.16 +
   28.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   28.18 +genpkg_rules()
   28.19 +{
   28.20 +    local path
   28.21 +    _pkg=$_pkg/linux64
   28.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   28.23 +    mkdir -p $fs/$path
   28.24 +    export src
   28.25 +    export _pkg
   28.26 +    $wanted_stuff/list_modules.sh drivers/hwmon | while read module; do
   28.27 +    	dir=$path/$(dirname $module)
   28.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   28.29 +        cp -a $_pkg/$path/$module $fs/$dir
   28.30 +    done
   28.31 +
   28.32 +    for i in $(cat $wanted_stuff/modules.list); do
   28.33 +        if [ -f $fs/$path/$i ]; then
   28.34 +	    rm -f $fs/$path/$i
   28.35 +	fi
   28.36 +    done
   28.37 +}
   28.38 +
   28.39 +# Post install/remove commands for Tazpkg.
   28.40 +post_install()
   28.41 +{
   28.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   28.43 +}
   28.44 +
   28.45 +post_remove()
   28.46 +{
   28.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   28.48 +}
   28.49 +
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/linux64-input-misc/receipt	Tue Apr 17 09:47:11 2012 +0200
    29.3 @@ -0,0 +1,46 @@
    29.4 +# SliTaz package receipt.
    29.5 +
    29.6 +PACKAGE="linux64-input-misc"
    29.7 +VERSION="3.2.14"
    29.8 +BASEVER="${VERSION:0:3}"
    29.9 +CATEGORY="base-system"
   29.10 +SHORT_DESC="The Linux kernel misc. input drivers, including the ATI RemoteWonders."
   29.11 +MAINTAINER="rcx@zoominternet.net"
   29.12 +WANTED="linux"
   29.13 +DEPENDS="linux64"
   29.14 +PROVIDE="linux-input-misc"
   29.15 +WEB_SITE="http://www.kernel.org/"
   29.16 +
   29.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   29.18 +genpkg_rules()
   29.19 +{
   29.20 +    local path
   29.21 +    _pkg=$_pkg/linux64
   29.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   29.23 +    mkdir -p $fs/$path
   29.24 +    export src
   29.25 +    export _pkg
   29.26 +    $wanted_stuff/list_modules.sh drivers/input/misc | while read module; do
   29.27 +    	dir=$path/$(dirname $module)
   29.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   29.29 +        cp -a $_pkg/$path/$module $fs/$dir
   29.30 +    done
   29.31 +
   29.32 +    for i in $(cat $wanted_stuff/modules.list); do
   29.33 +        if [ -f $fs/$path/$i ]; then
   29.34 +	    rm -f $fs/$path/$i
   29.35 +	fi
   29.36 +    done
   29.37 +}
   29.38 +
   29.39 +# Post install/remove commands for Tazpkg.
   29.40 +post_install()
   29.41 +{
   29.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   29.43 +}
   29.44 +
   29.45 +post_remove()
   29.46 +{
   29.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   29.48 +}
   29.49 +
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/linux64-input-tablet/receipt	Tue Apr 17 09:47:11 2012 +0200
    30.3 @@ -0,0 +1,41 @@
    30.4 +# SliTaz package receipt.
    30.5 +
    30.6 +PACKAGE="linux64-input-tablet"
    30.7 +VERSION="3.2.14"
    30.8 +BASEVER="${VERSION:0:3}"
    30.9 +CATEGORY="base-system"
   30.10 +SHORT_DESC="The Linux kernel tablet input drivers."
   30.11 +MAINTAINER="rcx@zoominternet.net"
   30.12 +WANTED="linux"
   30.13 +DEPENDS="linux64"
   30.14 +PROVIDE="linux-input-tablet"
   30.15 +WEB_SITE="http://www.kernel.org/"
   30.16 +
   30.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   30.18 +genpkg_rules()
   30.19 +{
   30.20 +    local path
   30.21 +    _pkg=$_pkg/linux64
   30.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   30.23 +    mkdir -p $fs/$path
   30.24 +    export src
   30.25 +    export _pkg
   30.26 +    $wanted_stuff/list_modules.sh drivers/input/tablet | while read module; do
   30.27 +    	dir=$path/$(dirname $module)
   30.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   30.29 +        cp -a $_pkg/$path/$module $fs/$dir
   30.30 +    done
   30.31 +
   30.32 +}
   30.33 +
   30.34 +# Post install/remove commands for Tazpkg.
   30.35 +post_install()
   30.36 +{
   30.37 +	chroot "$1/" depmod -a $BASEVER-slitaz
   30.38 +}
   30.39 +
   30.40 +post_remove()
   30.41 +{
   30.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   30.43 +}
   30.44 +
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/linux64-input-touchscreen/receipt	Tue Apr 17 09:47:11 2012 +0200
    31.3 @@ -0,0 +1,47 @@
    31.4 +# SliTaz package receipt.
    31.5 +
    31.6 +PACKAGE="linux64-input-touchscreen"
    31.7 +VERSION="3.2.14"
    31.8 +BASEVER="${VERSION:0:3}"
    31.9 +CATEGORY="base-system"
   31.10 +SHORT_DESC="The Linux kernel touchscreen input drivers."
   31.11 +MAINTAINER="jozee@slitaz.org"
   31.12 +WANTED="linux"
   31.13 +DEPENDS="linux64"
   31.14 +PROVIDE="linux-input-touchscreen"
   31.15 +WEB_SITE="http://www.kernel.org/"
   31.16 +
   31.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   31.18 +genpkg_rules()
   31.19 +{
   31.20 +    local path
   31.21 +    _pkg=$_pkg/linux64
   31.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   31.23 +    mkdir -p $fs/$path
   31.24 +    export src
   31.25 +    export _pkg
   31.26 +    $wanted_stuff/list_modules.sh drivers/input/touchscreen | \
   31.27 +    while read module; do
   31.28 +    	dir=$path/$(dirname $module)
   31.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   31.30 +        cp -a $_pkg/$path/$module $fs/$dir
   31.31 +    done
   31.32 +
   31.33 +    for i in $(cat $wanted_stuff/modules.list); do
   31.34 +        if [ -f $fs/$path/$i ]; then
   31.35 +	    rm -f $fs/$path/$i
   31.36 +	fi
   31.37 +    done
   31.38 +}
   31.39 +
   31.40 +# Post install/remove commands for Tazpkg.
   31.41 +post_install()
   31.42 +{
   31.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
   31.44 +}
   31.45 +
   31.46 +post_remove()
   31.47 +{
   31.48 +	chroot "$1/" depmod -a $BASEVER-slitaz
   31.49 +}
   31.50 +
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/linux64-ipv6/receipt	Tue Apr 17 09:47:11 2012 +0200
    32.3 @@ -0,0 +1,46 @@
    32.4 +# SliTaz package receipt.
    32.5 +
    32.6 +PACKAGE="linux64-ipv6"
    32.7 +VERSION="3.2.14"
    32.8 +BASEVER="${VERSION:0:3}"
    32.9 +CATEGORY="base-system"
   32.10 +SHORT_DESC="The Linux kernel ipv6 modules."
   32.11 +MAINTAINER="devel@slitaz.org"
   32.12 +DEPENDS="linux64"
   32.13 +WANTED="linux"
   32.14 +PROVIDE="linux-ipv6"
   32.15 +WEB_SITE="http://www.kernel.org/"
   32.16 +
   32.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   32.18 +genpkg_rules()
   32.19 +{
   32.20 +    local path
   32.21 +    _pkg=$_pkg/linux64
   32.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   32.23 +    mkdir -p $fs/$path
   32.24 +    export src
   32.25 +    export _pkg
   32.26 +    $wanted_stuff/list_modules.sh net/ipv6 | while read module; do
   32.27 +    	dir=$path/$(dirname $module)
   32.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   32.29 +        cp -a $_pkg/$path/$module $fs/$dir
   32.30 +    done
   32.31 +
   32.32 +    for i in $(cat $wanted_stuff/modules.list); do
   32.33 +        if [ -f $fs/$path/$i ]; then
   32.34 +	    rm -f $fs/$path/$i
   32.35 +	fi
   32.36 +    done
   32.37 +}
   32.38 +
   32.39 +# Post install/remove commands for Tazpkg.
   32.40 +post_install()
   32.41 +{
   32.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   32.43 +}
   32.44 +
   32.45 +post_remove()
   32.46 +{
   32.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   32.48 +}
   32.49 +
    33.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.2 +++ b/linux64-irda/receipt	Tue Apr 17 09:47:11 2012 +0200
    33.3 @@ -0,0 +1,42 @@
    33.4 +# SliTaz package receipt.
    33.5 +
    33.6 +PACKAGE="linux64-irda"
    33.7 +VERSION="3.2.14"
    33.8 +BASEVER="${VERSION:0:3}"
    33.9 +CATEGORY="base-system"
   33.10 +SHORT_DESC="The Linux kernel irda modules."
   33.11 +MAINTAINER="devel@slitaz.org"
   33.12 +WANTED="linux"
   33.13 +DEPENDS="linux64"
   33.14 +PROVIDE="linux-irda"
   33.15 +WEB_SITE="http://www.kernel.org/"
   33.16 +
   33.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   33.18 +genpkg_rules()
   33.19 +{
   33.20 +    local path
   33.21 +    _pkg=$_pkg/linux64
   33.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   33.23 +    mkdir -p $fs/$path
   33.24 +    
   33.25 +    export src
   33.26 +    export _pkg
   33.27 +    
   33.28 +    $wanted_stuff/list_modules.sh drivers/net/irda net/irda | while read module; do
   33.29 +    	dir=$path/$(dirname $module)
   33.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   33.31 +        cp -a $_pkg/$path/$module $fs/$dir
   33.32 +    done
   33.33 +}
   33.34 +
   33.35 +# Post install/remove commands for Tazpkg.
   33.36 +post_install()
   33.37 +{
   33.38 +	chroot "$1/" depmod -a $BASEVER-slitaz
   33.39 +}
   33.40 +
   33.41 +post_remove()
   33.42 +{
   33.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
   33.44 +}
   33.45 +
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/linux64-isdn/receipt	Tue Apr 17 09:47:11 2012 +0200
    34.3 @@ -0,0 +1,46 @@
    34.4 +# SliTaz package receipt.
    34.5 +
    34.6 +PACKAGE="linux64-isdn"
    34.7 +VERSION="3.2.14"
    34.8 +BASEVER="${VERSION:0:3}"
    34.9 +CATEGORY="base-system"
   34.10 +SHORT_DESC="The Linux kernel isdn modules."
   34.11 +MAINTAINER="devel@slitaz.org"
   34.12 +DEPENDS="linux64"
   34.13 +WANTED="linux"
   34.14 +PROVIDE="linux-isdn"
   34.15 +WEB_SITE="http://www.kernel.org/"
   34.16 +
   34.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   34.18 +genpkg_rules()
   34.19 +{
   34.20 +    local path
   34.21 +    _pkg=$_pkg/linux64
   34.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   34.23 +    mkdir -p $fs/$path
   34.24 +    export src
   34.25 +    export _pkg
   34.26 +    $wanted_stuff/list_modules.sh drivers/isdn | while read module; do
   34.27 +    	dir=$path/$(dirname $module)
   34.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   34.29 +        cp -a $_pkg/$path/$module $fs/$dir
   34.30 +    done
   34.31 +
   34.32 +    for i in $(cat $wanted_stuff/modules.list); do
   34.33 +        if [ -f $fs/$path/$i ]; then
   34.34 +	    rm -f $fs/$path/$i
   34.35 +	fi
   34.36 +    done
   34.37 +}
   34.38 +
   34.39 +# Post install/remove commands for Tazpkg.
   34.40 +post_install()
   34.41 +{
   34.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   34.43 +}
   34.44 +
   34.45 +post_remove()
   34.46 +{
   34.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   34.48 +}
   34.49 +
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/linux64-jfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    35.3 @@ -0,0 +1,44 @@
    35.4 +# SliTaz package receipt.
    35.5 +
    35.6 +PACKAGE="linux64-jfs"
    35.7 +VERSION="3.2.14"
    35.8 +BASEVER="${VERSION:0:3}"
    35.9 +CATEGORY="base-system"
   35.10 +SHORT_DESC="The Linux kernel jfs module."
   35.11 +MAINTAINER="devel@slitaz.org"
   35.12 +DEPENDS="linux64"
   35.13 +WANTED="linux"
   35.14 +PROVIDE="linux-jfs"
   35.15 +WEB_SITE="http://www.kernel.org/"
   35.16 +CONFIG_FILES="/etc/filesystems"
   35.17 +
   35.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   35.19 +genpkg_rules()
   35.20 +{
   35.21 +    local path
   35.22 +    _pkg=$_pkg/linux64
   35.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   35.24 +    mkdir -p $fs/$path $fs/etc
   35.25 +    export src
   35.26 +    export _pkg
   35.27 +    $wanted_stuff/list_modules.sh fs/jfs | while read module; do
   35.28 +    	dir=$path/$(dirname $module)
   35.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   35.30 +        cp -a $_pkg/$path/$module $fs/$dir
   35.31 +    done
   35.32 +    touch $fs/etc/filesystems
   35.33 +}
   35.34 +
   35.35 +# Post install/remove commands for Tazpkg.
   35.36 +post_install()
   35.37 +{
   35.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   35.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   35.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   35.41 +}
   35.42 +
   35.43 +post_remove()
   35.44 +{
   35.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   35.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   35.47 +}
    36.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.2 +++ b/linux64-joystick/receipt	Tue Apr 17 09:47:11 2012 +0200
    36.3 @@ -0,0 +1,48 @@
    36.4 +# SliTaz package receipt.
    36.5 +
    36.6 +PACKAGE="linux64-joystick"
    36.7 +VERSION="3.2.14"
    36.8 +BASEVER="${VERSION:0:3}"
    36.9 +CATEGORY="base-system"
   36.10 +SHORT_DESC="The Linux kernel joystick modules."
   36.11 +MAINTAINER="devel@slitaz.org"
   36.12 +DEPENDS="linux64"
   36.13 +WANTED="linux"
   36.14 +PROVIDE="linux-joystick"
   36.15 +WEB_SITE="http://www.kernel.org/"
   36.16 +
   36.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   36.18 +genpkg_rules()
   36.19 +{
   36.20 +    local path
   36.21 +    _pkg=$_pkg/linux64
   36.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   36.23 +    mkdir -p $fs/$path
   36.24 +    export src
   36.25 +    export _pkg
   36.26 +    $wanted_stuff/list_modules.sh drivers/input/joystick drivers/input/gameport \
   36.27 +	drivers/input/input-polldev.ko.gz | \
   36.28 +	while read module; do
   36.29 +    	dir=$path/$(dirname $module)
   36.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   36.31 +        cp -a $_pkg/$path/$module $fs/$dir
   36.32 +    done
   36.33 +
   36.34 +    for i in $(cat $wanted_stuff/modules.list); do
   36.35 +        if [ -f $fs/$path/$i ]; then
   36.36 +	    rm -f $fs/$path/$i
   36.37 +	fi
   36.38 +    done
   36.39 +}
   36.40 +
   36.41 +# Post install/remove commands for Tazpkg.
   36.42 +post_install()
   36.43 +{
   36.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   36.45 +}
   36.46 +
   36.47 +post_remove()
   36.48 +{
   36.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   36.50 +}
   36.51 +
    37.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.2 +++ b/linux64-kvm/receipt	Tue Apr 17 09:47:11 2012 +0200
    37.3 @@ -0,0 +1,43 @@
    37.4 +# SliTaz package receipt.
    37.5 +
    37.6 +PACKAGE="linux64-kvm"
    37.7 +VERSION="3.2.14"
    37.8 +BASEVER="${VERSION:0:3}"
    37.9 +CATEGORY="base-system"
   37.10 +SHORT_DESC="The Linux kernel kvm and virtio modules."
   37.11 +MAINTAINER="devel@slitaz.org"
   37.12 +DEPENDS="linux64"
   37.13 +WANTED="linux"
   37.14 +PROVIDE="linux-kvm"
   37.15 +WEB_SITE="http://www.kernel.org/"
   37.16 +
   37.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   37.18 +genpkg_rules()
   37.19 +{
   37.20 +    local path
   37.21 +    _pkg=$_pkg/linux64
   37.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   37.23 +    mkdir -p $fs/$path
   37.24 +    export src
   37.25 +    export _pkg
   37.26 +    $wanted_stuff/list_modules.sh arch/x86/kvm drivers/virtio drivers/lguest \
   37.27 +    drivers/char/hw_random/virtio-rng.ko.gz \
   37.28 +    drivers/net/virtio_net.ko.gz drivers/block/virtio_blk.ko.gz | \
   37.29 +    while read module; do
   37.30 +    	dir=$path/$(dirname $module)
   37.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   37.32 +        cp -a $_pkg/$path/$module $fs/$dir
   37.33 +    done
   37.34 +}
   37.35 +
   37.36 +# Post install/remove commands for Tazpkg.
   37.37 +post_install()
   37.38 +{
   37.39 +	chroot "$1/" depmod -a $BASEVER-slitaz
   37.40 +}
   37.41 +
   37.42 +post_remove()
   37.43 +{
   37.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   37.45 +}
   37.46 +
    38.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.2 +++ b/linux64-logfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    38.3 @@ -0,0 +1,45 @@
    38.4 +# SliTaz package receipt.
    38.5 +
    38.6 +PACKAGE="linux64-logfs"
    38.7 +VERSION="3.2.14"
    38.8 +BASEVER="${VERSION:0:3}"
    38.9 +CATEGORY="base-system"
   38.10 +SHORT_DESC="The Linux kernel logfs module."
   38.11 +MAINTAINER="devel@slitaz.org"
   38.12 +DEPENDS="linux64"
   38.13 +WANTED="linux"
   38.14 +PROVIDE="linux-logfs"
   38.15 +WEB_SITE="http://www.kernel.org/"
   38.16 +CONFIG_FILES="/etc/filesystems"
   38.17 +
   38.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   38.19 +genpkg_rules()
   38.20 +{
   38.21 +    local path
   38.22 +    _pkg=$_pkg/linux64
   38.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   38.24 +    mkdir -p $fs/$path $fs/etc
   38.25 +    export src
   38.26 +    export _pkg
   38.27 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   38.28 +    	dir=$path/$(dirname $module)
   38.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   38.30 +        cp -a $_pkg/$path/$module $fs/$dir
   38.31 +    done
   38.32 +    touch $fs/etc/filesystems
   38.33 +}
   38.34 +
   38.35 +# Post install/remove commands for Tazpkg.
   38.36 +post_install()
   38.37 +{
   38.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   38.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   38.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   38.41 +}
   38.42 +
   38.43 +post_remove()
   38.44 +{
   38.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   38.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   38.47 +}
   38.48 +
    39.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.2 +++ b/linux64-md/receipt	Tue Apr 17 09:47:11 2012 +0200
    39.3 @@ -0,0 +1,50 @@
    39.4 +# SliTaz package receipt.
    39.5 +
    39.6 +PACKAGE="linux64-md"
    39.7 +VERSION="3.2.14"
    39.8 +BASEVER="${VERSION:0:3}"
    39.9 +CATEGORY="base-system"
   39.10 +SHORT_DESC="The Linux kernel md modules."
   39.11 +MAINTAINER="devel@slitaz.org"
   39.12 +DEPENDS="linux64"
   39.13 +WANTED="linux"
   39.14 +PROVIDE="linux-md"
   39.15 +WEB_SITE="http://www.kernel.org/"
   39.16 +DEPENDS="linux-crypto"
   39.17 +
   39.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   39.19 +genpkg_rules()
   39.20 +{
   39.21 +    local path
   39.22 +    _pkg=$_pkg/linux64
   39.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   39.24 +    mkdir -p $fs/$path
   39.25 +    export src
   39.26 +    export _pkg
   39.27 +    $wanted_stuff/list_modules.sh drivers/md | while read module; do
   39.28 +    	case "$module" in
   39.29 +	crypto/*) continue;;
   39.30 +	esac
   39.31 +    	dir=$path/$(dirname $module)
   39.32 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   39.33 +        cp -a $_pkg/$path/$module $fs/$dir
   39.34 +    done
   39.35 +
   39.36 +    for i in $(cat $wanted_stuff/modules.list); do
   39.37 +        if [ -f $fs/$path/$i ]; then
   39.38 +	    rm -f $fs/$path/$i
   39.39 +	fi
   39.40 +    done
   39.41 +}
   39.42 +
   39.43 +# Post install/remove commands for Tazpkg.
   39.44 +post_install()
   39.45 +{
   39.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   39.47 +}
   39.48 +
   39.49 +post_remove()
   39.50 +{
   39.51 +	chroot "$1/" depmod -a $BASEVER-slitaz
   39.52 +}
   39.53 +
    40.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.2 +++ b/linux64-media/receipt	Tue Apr 17 09:47:11 2012 +0200
    40.3 @@ -0,0 +1,46 @@
    40.4 +# SliTaz package receipt.
    40.5 +
    40.6 +PACKAGE="linux64-media"
    40.7 +VERSION="3.2.14"
    40.8 +BASEVER="${VERSION:0:3}"
    40.9 +CATEGORY="base-system"
   40.10 +SHORT_DESC="The Linux kernel media modules."
   40.11 +MAINTAINER="slaxemulator@gmail.com"
   40.12 +DEPENDS="linux64"
   40.13 +WANTED="linux"
   40.14 +PROVIDE="linux-media"
   40.15 +WEB_SITE="http://kernel.org"
   40.16 +
   40.17 +# Modules paths and list
   40.18 +MOD_PATH="lib/modules/$BASEVER-slitaz/kernel"
   40.19 +MODULES="drivers/media drivers/mfd"
   40.20 +
   40.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
   40.22 +genpkg_rules()
   40.23 +{
   40.24 +	_pkg=$_pkg/linux64
   40.25 +	mkdir -p ${fs}/${MOD_PATH}
   40.26 +	for module in $MODULES
   40.27 +	do
   40.28 +		dir=$MOD_PATH/$(dirname $module)
   40.29 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   40.30 +		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   40.31 +	done
   40.32 +
   40.33 +	for i in $(cat $wanted_stuff/modules.list); do
   40.34 +		if [ -f $fs/$path/$i ]; then
   40.35 +			rm -f $fs/$path/$i
   40.36 +		fi
   40.37 +	done
   40.38 +}
   40.39 +
   40.40 +# Post install/remove commands for Tazpkg.
   40.41 +post_install()
   40.42 +{
   40.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
   40.44 +}
   40.45 +
   40.46 +post_remove()
   40.47 +{
   40.48 +	chroot "$1/" depmod -a $BASEVER-slitaz
   40.49 +}
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/linux64-memstick/receipt	Tue Apr 17 09:47:11 2012 +0200
    41.3 @@ -0,0 +1,48 @@
    41.4 +# SliTaz package receipt.
    41.5 +
    41.6 +PACKAGE="linux64-memstick"
    41.7 +VERSION="3.2.14"
    41.8 +BASEVER="${VERSION:0:3}"
    41.9 +CATEGORY="base-system"
   41.10 +SHORT_DESC="The Linux kernel sony memory stick modules."
   41.11 +MAINTAINER="devel@slitaz.org"
   41.12 +DEPENDS="linux64"
   41.13 +WANTED="linux"
   41.14 +PROVIDE="linux-memstick"
   41.15 +WEB_SITE="http://www.kernel.org/"
   41.16 +
   41.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   41.18 +genpkg_rules()
   41.19 +{
   41.20 +    local path
   41.21 +    _pkg=$_pkg/linux64
   41.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   41.23 +    mkdir -p $fs/$path
   41.24 +    
   41.25 +    export src
   41.26 +    export _pkg
   41.27 +    
   41.28 +    $wanted_stuff/list_modules.sh drivers/memstick | while read module; do
   41.29 +    	dir=$path/$(dirname $module)
   41.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   41.31 +        cp -a $_pkg/$path/$module $fs/$dir
   41.32 +    done
   41.33 +
   41.34 +    for i in $(cat $wanted_stuff/modules.list); do
   41.35 +        if [ -f $fs/$path/$i ]; then
   41.36 +	    rm -f $fs/$path/$i
   41.37 +	fi
   41.38 +    done
   41.39 +}
   41.40 +
   41.41 +# Post install/remove commands for Tazpkg.
   41.42 +post_install()
   41.43 +{
   41.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   41.45 +}
   41.46 +
   41.47 +post_remove()
   41.48 +{
   41.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   41.50 +}
   41.51 +
    42.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.2 +++ b/linux64-minix/receipt	Tue Apr 17 09:47:11 2012 +0200
    42.3 @@ -0,0 +1,45 @@
    42.4 +# SliTaz package receipt.
    42.5 +
    42.6 +PACKAGE="linux64-minix"
    42.7 +VERSION="3.2.14"
    42.8 +BASEVER="${VERSION:0:3}"
    42.9 +CATEGORY="base-system"
   42.10 +SHORT_DESC="The Linux kernel minix module."
   42.11 +MAINTAINER="devel@slitaz.org"
   42.12 +DEPENDS="linux64"
   42.13 +WANTED="linux"
   42.14 +PROVIDE="linux-minix"
   42.15 +WEB_SITE="http://www.kernel.org/"
   42.16 +CONFIG_FILES="/etc/filesystems"
   42.17 +
   42.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   42.19 +genpkg_rules()
   42.20 +{
   42.21 +    local path
   42.22 +    _pkg=$_pkg/linux64
   42.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   42.24 +    mkdir -p $fs/$path $fs/etc
   42.25 +    export src
   42.26 +    export _pkg
   42.27 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   42.28 +    	dir=$path/$(dirname $module)
   42.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   42.30 +        cp -a $_pkg/$path/$module $fs/$dir
   42.31 +    done
   42.32 +    touch $fs/etc/filesystems
   42.33 +}
   42.34 +
   42.35 +# Post install/remove commands for Tazpkg.
   42.36 +post_install()
   42.37 +{
   42.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   42.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   42.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   42.41 +}
   42.42 +
   42.43 +post_remove()
   42.44 +{
   42.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   42.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   42.47 +}
   42.48 +
    43.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.2 +++ b/linux64-mmc/receipt	Tue Apr 17 09:47:11 2012 +0200
    43.3 @@ -0,0 +1,47 @@
    43.4 +# SliTaz package receipt.
    43.5 +
    43.6 +PACKAGE="linux64-mmc"
    43.7 +VERSION="3.2.14"
    43.8 +BASEVER="${VERSION:0:3}"
    43.9 +CATEGORY="base-system"
   43.10 +SHORT_DESC="The Linux kernel mmc modules (card reader)."
   43.11 +MAINTAINER="devel@slitaz.org"
   43.12 +DEPENDS="linux64"
   43.13 +WANTED="linux"
   43.14 +PROVIDE="linux-mmc"
   43.15 +WEB_SITE="http://www.kernel.org/"
   43.16 +
   43.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   43.18 +genpkg_rules()
   43.19 +{
   43.20 +    local path
   43.21 +    _pkg=$_pkg/linux64
   43.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   43.23 +    mkdir -p $fs/$path
   43.24 +    export src
   43.25 +    export _pkg
   43.26 +    $wanted_stuff/list_modules.sh drivers/mmc drivers/misc/tifm_7xx1.ko.gz drivers/misc/iwmc3200top/iwmc3200top.ko.gz| \
   43.27 +	while read module; do
   43.28 +    	dir=$path/$(dirname $module)
   43.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   43.30 +        cp -a $_pkg/$path/$module $fs/$dir
   43.31 +    done
   43.32 +
   43.33 +    for i in $(cat $wanted_stuff/modules.list); do
   43.34 +        if [ -f $fs/$path/$i ]; then
   43.35 +	    rm -f $fs/$path/$i
   43.36 +	fi
   43.37 +    done
   43.38 +}
   43.39 +
   43.40 +# Post install/remove commands for Tazpkg.
   43.41 +post_install()
   43.42 +{
   43.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
   43.44 +}
   43.45 +
   43.46 +post_remove()
   43.47 +{
   43.48 +	chroot "$1/" depmod -a $BASEVER-slitaz
   43.49 +}
   43.50 +
    44.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.2 +++ b/linux64-mwave/receipt	Tue Apr 17 09:47:11 2012 +0200
    44.3 @@ -0,0 +1,40 @@
    44.4 +# SliTaz package receipt.
    44.5 +
    44.6 +PACKAGE="linux64-mwave"
    44.7 +VERSION="3.2.14"
    44.8 +BASEVER="${VERSION:0:3}"
    44.9 +CATEGORY="base-system"
   44.10 +SHORT_DESC="The Linux kernel ACP Modem driver module (for IBM Thinkpad)"
   44.11 +MAINTAINER="devel@slitaz.org"
   44.12 +DEPENDS="linux64"
   44.13 +WANTED="linux"
   44.14 +PROVIDE="linux-mwave"
   44.15 +WEB_SITE="http://www.kernel.org/"
   44.16 +
   44.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   44.18 +genpkg_rules()
   44.19 +{
   44.20 +    local path
   44.21 +    _pkg=$_pkg/linux64
   44.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   44.23 +    mkdir -p $fs/$path
   44.24 +    export src
   44.25 +    export _pkg
   44.26 +    $wanted_stuff/list_modules.sh drivers/char/mwave | while read module; do
   44.27 +    	dir=$path/$(dirname $module)
   44.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   44.29 +        cp -a $_pkg/$path/$module $fs/$dir
   44.30 +    done
   44.31 +}
   44.32 +
   44.33 +# Post install/remove commands for Tazpkg.
   44.34 +post_install()
   44.35 +{
   44.36 +	chroot "$1/" depmod -a $BASEVER-slitaz
   44.37 +}
   44.38 +
   44.39 +post_remove()
   44.40 +{
   44.41 +	chroot "$1/" depmod -a $BASEVER-slitaz
   44.42 +}
   44.43 +
    45.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.2 +++ b/linux64-ncpfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    45.3 @@ -0,0 +1,45 @@
    45.4 +# SliTaz package receipt.
    45.5 +
    45.6 +PACKAGE="linux64-ncpfs"
    45.7 +VERSION="3.2.14"
    45.8 +BASEVER="${VERSION:0:3}"
    45.9 +CATEGORY="base-system"
   45.10 +SHORT_DESC="The Linux kernel ncpfs module."
   45.11 +MAINTAINER="devel@slitaz.org"
   45.12 +DEPENDS="linux64"
   45.13 +WANTED="linux"
   45.14 +PROVIDE="linux-ncpfs"
   45.15 +WEB_SITE="http://www.kernel.org/"
   45.16 +CONFIG_FILES="/etc/filesystems"
   45.17 +
   45.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   45.19 +genpkg_rules()
   45.20 +{
   45.21 +    local path
   45.22 +    _pkg=$_pkg/linux64
   45.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   45.24 +    mkdir -p $fs/$path $fs/etc
   45.25 +    export src
   45.26 +    export _pkg
   45.27 +    $wanted_stuff/list_modules.sh fs/ncpfs | while read module; do
   45.28 +    	dir=$path/$(dirname $module)
   45.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   45.30 +        cp -a $_pkg/$path/$module $fs/$dir
   45.31 +    done
   45.32 +    touch $fs/etc/filesystems
   45.33 +}
   45.34 +
   45.35 +# Post install/remove commands for Tazpkg.
   45.36 +post_install()
   45.37 +{
   45.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   45.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   45.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   45.41 +}
   45.42 +
   45.43 +post_remove()
   45.44 +{
   45.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   45.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   45.47 +}
   45.48 +
    46.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.2 +++ b/linux64-netfilter/receipt	Tue Apr 17 09:47:11 2012 +0200
    46.3 @@ -0,0 +1,50 @@
    46.4 +# SliTaz package receipt.
    46.5 +
    46.6 +PACKAGE="linux64-netfilter"
    46.7 +VERSION="3.2.14"
    46.8 +BASEVER="${VERSION:0:3}"
    46.9 +CATEGORY="base-system"
   46.10 +SHORT_DESC="The Linux kernel netfilter modules."
   46.11 +MAINTAINER="devel@slitaz.org"
   46.12 +DEPENDS="linux64"
   46.13 +WANTED="linux"
   46.14 +PROVIDE="linux-netfilter"
   46.15 +WEB_SITE="http://www.kernel.org/"
   46.16 +
   46.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   46.18 +genpkg_rules()
   46.19 +{
   46.20 +    local path
   46.21 +    _pkg=$_pkg/linux64
   46.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   46.23 +    mkdir -p $fs/$path
   46.24 +    
   46.25 +    export src
   46.26 +    export _pkg
   46.27 +    
   46.28 +    $wanted_stuff/list_modules.sh net/netfilter net/ipv4/netfilter net/8021q | \
   46.29 +    while read module; do
   46.30 +    	dir=$path/$(dirname $module)
   46.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   46.32 +        cp -a $_pkg/$path/$module $fs/$dir
   46.33 +    done
   46.34 +    rm -r $fs/$path/net/ipv6
   46.35 +
   46.36 +    for i in $(cat $wanted_stuff/modules.list); do
   46.37 +        if [ -f $fs/$path/$i ]; then
   46.38 +	    rm -f $fs/$path/$i
   46.39 +	fi
   46.40 +    done
   46.41 +}
   46.42 +
   46.43 +# Post install/remove commands for Tazpkg.
   46.44 +post_install()
   46.45 +{
   46.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   46.47 +}
   46.48 +
   46.49 +post_remove()
   46.50 +{
   46.51 +	chroot "$1/" depmod -a $BASEVER-slitaz
   46.52 +}
   46.53 +
    47.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.2 +++ b/linux64-nfsd/receipt	Tue Apr 17 09:47:11 2012 +0200
    47.3 @@ -0,0 +1,45 @@
    47.4 +# SliTaz package receipt.
    47.5 +
    47.6 +PACKAGE="linux64-nfsd"
    47.7 +VERSION="3.2.14"
    47.8 +BASEVER="${VERSION:0:3}"
    47.9 +CATEGORY="base-system"
   47.10 +SHORT_DESC="The Linux kernel NFS server module."
   47.11 +MAINTAINER="devel@slitaz.org"
   47.12 +DEPENDS="linux64"
   47.13 +WANTED="linux"
   47.14 +PROVIDE="linux-nfsd"
   47.15 +WEB_SITE="http://www.kernel.org/"
   47.16 +CONFIG_FILES="/etc/filesystems"
   47.17 +
   47.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   47.19 +genpkg_rules()
   47.20 +{
   47.21 +    local path
   47.22 +    _pkg=$_pkg/linux64
   47.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   47.24 +    mkdir -p $fs/$path $fs/etc
   47.25 +    export src
   47.26 +    export _pkg
   47.27 +    $wanted_stuff/list_modules.sh fs/nfsd | while read module; do
   47.28 +    	dir=$path/$(dirname $module)
   47.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   47.30 +        cp -a $_pkg/$path/$module $fs/$dir
   47.31 +    done
   47.32 +    touch $fs/etc/filesystems
   47.33 +}
   47.34 +
   47.35 +# Post install/remove commands for Tazpkg.
   47.36 +post_install()
   47.37 +{
   47.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   47.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   47.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   47.41 +}
   47.42 +
   47.43 +post_remove()
   47.44 +{
   47.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   47.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   47.47 +}
   47.48 +
    48.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.2 +++ b/linux64-ocfs2/receipt	Tue Apr 17 09:47:11 2012 +0200
    48.3 @@ -0,0 +1,47 @@
    48.4 +# SliTaz package receipt.
    48.5 +
    48.6 +PACKAGE="linux64-ocfs2"
    48.7 +VERSION="3.2.14"
    48.8 +BASEVER="${VERSION:0:3}"
    48.9 +CATEGORY="base-system"
   48.10 +SHORT_DESC="ocfs2 filesystem"
   48.11 +MAINTAINER="slaxemualtor@gmail.com"
   48.12 +WEB_SITE="http://kernel.org/"
   48.13 +WANTED="linux"
   48.14 +DEPENDS="linux64"
   48.15 +PROVIDE="linux-ocfs2"
   48.16 +
   48.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   48.18 +genpkg_rules()
   48.19 +{
   48.20 +    local path
   48.21 +    _pkg=$_pkg/linux64
   48.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   48.23 +    mkdir -p $fs/$path
   48.24 +    
   48.25 +    export src
   48.26 +    export _pkg
   48.27 +    
   48.28 +    $wanted_stuff/list_modules.sh fs/ocfs2 | while read module; do
   48.29 +    	dir=$path/$(dirname $module)
   48.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   48.31 +        cp -a $_pkg/$path/$module $fs/$dir
   48.32 +    done
   48.33 +
   48.34 +    for i in $(cat $wanted_stuff/modules.list); do
   48.35 +        if [ -f $fs/$path/$i ]; then
   48.36 +	    rm -f $fs/$path/$i
   48.37 +	fi
   48.38 +    done
   48.39 +}
   48.40 +
   48.41 +# Post install/remove commands for Tazpkg.
   48.42 +post_install()
   48.43 +{
   48.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   48.45 +}
   48.46 +
   48.47 +post_remove()
   48.48 +{
   48.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   48.50 +}
    49.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.2 +++ b/linux64-radio/receipt	Tue Apr 17 09:47:11 2012 +0200
    49.3 @@ -0,0 +1,49 @@
    49.4 +# SliTaz package receipt.
    49.5 +
    49.6 +PACKAGE="linux64-radio"
    49.7 +VERSION="3.2.14"
    49.8 +BASEVER="${VERSION:0:3}"
    49.9 +CATEGORY="base-system"
   49.10 +SHORT_DESC="The Linux kernel radio modules."
   49.11 +MAINTAINER="slaxemulator@gmail.com"
   49.12 +WANTED="linux"
   49.13 +WEB_SITE="http://kernel.org/"
   49.14 +DEPENDS="linux64"
   49.15 +PROVIDE="linux-radio"
   49.16 +
   49.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   49.18 +genpkg_rules()
   49.19 +{
   49.20 +    local path
   49.21 +    _pkg=$_pkg/linux64
   49.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   49.23 +    mkdir -p $fs/$path
   49.24 +    
   49.25 +    export src
   49.26 +    export _pkg
   49.27 +    
   49.28 +    $wanted_stuff/list_modules.sh  drivers/media/radio | while read module; do
   49.29 +    	dir=$path/$(dirname $module)
   49.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   49.31 +        cp -a $_pkg/$path/$module $fs/$dir
   49.32 +    done
   49.33 +
   49.34 +    for i in $(cat $wanted_stuff/modules.list); do
   49.35 +        if [ -f $fs/$path/$i ]; then
   49.36 +	    rm -f $fs/$path/$i
   49.37 +	fi
   49.38 +    done
   49.39 +}
   49.40 +
   49.41 +
   49.42 +# Post install/remove commands for Tazpkg.
   49.43 +post_install()
   49.44 +{
   49.45 +	chroot "$1/" depmod -a $BASEVER-slitaz
   49.46 +}
   49.47 +
   49.48 +post_remove()
   49.49 +{
   49.50 +	chroot "$1/" depmod -a $BASEVER-slitaz
   49.51 +}
   49.52 +
    50.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.2 +++ b/linux64-reiserfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    50.3 @@ -0,0 +1,45 @@
    50.4 +# SliTaz package receipt.
    50.5 +
    50.6 +PACKAGE="linux64-reiserfs"
    50.7 +VERSION="3.2.14"
    50.8 +BASEVER="${VERSION:0:3}"
    50.9 +CATEGORY="base-system"
   50.10 +SHORT_DESC="The Linux kernel reiserfs module."
   50.11 +MAINTAINER="devel@slitaz.org"
   50.12 +DEPENDS="linux64"
   50.13 +WANTED="linux"
   50.14 +PROVIDE="linux-reiserfs"
   50.15 +WEB_SITE="http://www.kernel.org/"
   50.16 +CONFIG_FILES="/etc/filesystems"
   50.17 +
   50.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   50.19 +genpkg_rules()
   50.20 +{
   50.21 +    local path
   50.22 +    _pkg=$_pkg/linux64
   50.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   50.24 +    mkdir -p $fs/$path $fs/etc
   50.25 +    export src
   50.26 +    export _pkg
   50.27 +    $wanted_stuff/list_modules.sh fs/reiserfs | while read module; do
   50.28 +    	dir=$path/$(dirname $module)
   50.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   50.30 +        cp -a $_pkg/$path/$module $fs/$dir
   50.31 +    done
   50.32 +    touch $fs/etc/filesystems
   50.33 +}
   50.34 +
   50.35 +# Post install/remove commands for Tazpkg.
   50.36 +post_install()
   50.37 +{
   50.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   50.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   50.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   50.41 +}
   50.42 +
   50.43 +post_remove()
   50.44 +{
   50.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   50.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   50.47 +}
   50.48 +
    51.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.2 +++ b/linux64-sched/receipt	Tue Apr 17 09:47:11 2012 +0200
    51.3 @@ -0,0 +1,42 @@
    51.4 +# SliTaz package receipt.
    51.5 +
    51.6 +PACKAGE="linux64-sched"
    51.7 +VERSION="3.2.14"
    51.8 +BASEVER="${VERSION:0:3}"
    51.9 +CATEGORY="base-system"
   51.10 +SHORT_DESC="The Linux kernel sched modules."
   51.11 +MAINTAINER="devel@slitaz.org"
   51.12 +DEPENDS="linux64"
   51.13 +WANTED="linux"
   51.14 +PROVIDE="linux-sched"
   51.15 +WEB_SITE="http://www.kernel.org/"
   51.16 +
   51.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   51.18 +genpkg_rules()
   51.19 +{
   51.20 +    local path
   51.21 +    _pkg=$_pkg/linux64
   51.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   51.23 +    mkdir -p $fs/$path
   51.24 +    
   51.25 +    export src
   51.26 +    export _pkg
   51.27 +    
   51.28 +    $wanted_stuff/list_modules.sh net/sched | while read module; do
   51.29 +    	dir=$path/$(dirname $module)
   51.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   51.31 +        cp -a $_pkg/$path/$module $fs/$dir
   51.32 +    done
   51.33 +}
   51.34 +
   51.35 +# Post install/remove commands for Tazpkg.
   51.36 +post_install()
   51.37 +{
   51.38 +	chroot "$1/" depmod -a $BASEVER-slitaz
   51.39 +}
   51.40 +
   51.41 +post_remove()
   51.42 +{
   51.43 +	chroot "$1/" depmod -a $BASEVER-slitaz
   51.44 +}
   51.45 +
    52.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.2 +++ b/linux64-scsi/receipt	Tue Apr 17 09:47:11 2012 +0200
    52.3 @@ -0,0 +1,40 @@
    52.4 +# SliTaz package receipt.
    52.5 +
    52.6 +PACKAGE="linux64-scsi"
    52.7 +VERSION="3.2.14"
    52.8 +BASEVER="${VERSION:0:3}"
    52.9 +CATEGORY="base-system"
   52.10 +SHORT_DESC="The Linux kernel scsi modules."
   52.11 +MAINTAINER="devel@slitaz.org"
   52.12 +DEPENDS="linux64"
   52.13 +WANTED="linux"
   52.14 +PROVIDE="linux-scsi"
   52.15 +WEB_SITE="http://www.kernel.org/"
   52.16 +
   52.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   52.18 +genpkg_rules()
   52.19 +{
   52.20 +    local path
   52.21 +    _pkg=$_pkg/linux64
   52.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   52.23 +    mkdir -p $fs/$path
   52.24 +    export src
   52.25 +    export _pkg
   52.26 +    $wanted_stuff/list_modules.sh drivers/scsi | while read module; do
   52.27 +    	dir=$path/$(dirname $module)
   52.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   52.29 +        cp -a $_pkg/$path/$module $fs/$dir
   52.30 +    done
   52.31 +}
   52.32 +
   52.33 +# Post install/remove commands for Tazpkg.
   52.34 +post_install()
   52.35 +{
   52.36 +	chroot "$1/" depmod -a $BASEVER-slitaz
   52.37 +}
   52.38 +
   52.39 +post_remove()
   52.40 +{
   52.41 +	chroot "$1/" depmod -a $BASEVER-slitaz
   52.42 +}
   52.43 +
    53.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.2 +++ b/linux64-speakup/receipt	Tue Apr 17 09:47:11 2012 +0200
    53.3 @@ -0,0 +1,46 @@
    53.4 +# SliTaz package receipt.
    53.5 +
    53.6 +PACKAGE="linux64-speakup"
    53.7 +VERSION="3.2.14"
    53.8 +BASEVER="${VERSION:0:3}"
    53.9 +CATEGORY="base-system"
   53.10 +SHORT_DESC="The Linux kernel Speakup modules."
   53.11 +MAINTAINER="erjo@slitaz.org"
   53.12 +DEPENDS="linux64"
   53.13 +WANTED="linux"
   53.14 +PROVIDE="linux-speakup"
   53.15 +WEB_SITE="http://www.kernel.org/"
   53.16 +
   53.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   53.18 +genpkg_rules()
   53.19 +{
   53.20 +    local path
   53.21 +    _pkg=$_pkg/linux64
   53.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   53.23 +    mkdir -p $fs/$path
   53.24 +    export src
   53.25 +    export _pkg
   53.26 +    $wanted_stuff/list_modules.sh drivers/staging/speakup | while read module; do
   53.27 +    	dir=$path/$(dirname $module)
   53.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   53.29 +        cp -a $_pkg/$path/$module $fs/$dir
   53.30 +    done
   53.31 +
   53.32 +    for i in $(cat $wanted_stuff/modules.list); do
   53.33 +        if [ -f $fs/$path/$i ]; then
   53.34 +	    rm -f $fs/$path/$i
   53.35 +	fi
   53.36 +    done
   53.37 +}
   53.38 +
   53.39 +# Post install/remove commands for Tazpkg.
   53.40 +post_install()
   53.41 +{
   53.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   53.43 +}
   53.44 +
   53.45 +post_remove()
   53.46 +{
   53.47 +	chroot "$1/" depmod -a $BASEVER-slitaz
   53.48 +}
   53.49 +
    54.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.2 +++ b/linux64-squashfs/receipt	Tue Apr 17 09:47:11 2012 +0200
    54.3 @@ -0,0 +1,45 @@
    54.4 +# SliTaz package receipt.
    54.5 +
    54.6 +PACKAGE="linux64-squashfs"
    54.7 +VERSION="3.2.14"
    54.8 +BASEVER="${VERSION:0:3}"
    54.9 +CATEGORY="base-system"
   54.10 +SHORT_DESC="The Linux kernel squashfs module."
   54.11 +MAINTAINER="devel@slitaz.org"
   54.12 +DEPENDS="linux64"
   54.13 +WANTED="linux"
   54.14 +WEB_SITE="http://www.kernel.org/"
   54.15 +PROVIDE="squashfs-module"
   54.16 +CONFIG_FILES="/etc/filesystems"
   54.17 +
   54.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   54.19 +genpkg_rules()
   54.20 +{
   54.21 +    local path
   54.22 +    _pkg=$_pkg/linux64
   54.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   54.24 +    mkdir -p $fs/$path $fs/etc
   54.25 +    export src
   54.26 +    export _pkg
   54.27 +    $wanted_stuff/list_modules.sh fs/squashfs | while read module; do
   54.28 +    	dir=$path/$(dirname $module)
   54.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   54.30 +        cp -a $_pkg/$path/$module $fs/$dir
   54.31 +    done
   54.32 +    touch $fs/etc/filesystems
   54.33 +}
   54.34 +
   54.35 +# Post install/remove commands for Tazpkg.
   54.36 +post_install()
   54.37 +{
   54.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   54.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   54.40 +	chroot "$1/" depmod -a $BASEVER-slitaz
   54.41 +}
   54.42 +
   54.43 +post_remove()
   54.44 +{
   54.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   54.46 +	chroot "$1/" depmod -a $BASEVER-slitaz
   54.47 +}
   54.48 +
    55.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.2 +++ b/linux64-staging/receipt	Tue Apr 17 09:47:11 2012 +0200
    55.3 @@ -0,0 +1,47 @@
    55.4 +# SliTaz package receipt.
    55.5 +
    55.6 +PACKAGE="linux64-staging"
    55.7 +VERSION="3.2.14"
    55.8 +BASEVER="${VERSION:0:3}"
    55.9 +CATEGORY="base-system"
   55.10 +SHORT_DESC="staging kernel modules"
   55.11 +MAINTAINER="slaxemualtor@gmail.com"
   55.12 +WANTED="linux"
   55.13 +PROVIDE="linux-staging"
   55.14 +WEB_SITE="http://kernel.org/"
   55.15 +DEPENDS="linux64"
   55.16 +
   55.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   55.18 +genpkg_rules()
   55.19 +{
   55.20 +    local path
   55.21 +    _pkg=$_pkg/linux64
   55.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   55.23 +    mkdir -p $fs/$path
   55.24 +    
   55.25 +    export src
   55.26 +    export _pkg
   55.27 +    
   55.28 +    $wanted_stuff/list_modules.sh drivers/staging | while read module; do
   55.29 +    	dir=$path/$(dirname $module)
   55.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   55.31 +        cp -a $_pkg/$path/$module $fs/$dir
   55.32 +    done
   55.33 +
   55.34 +    for i in $(cat $wanted_stuff/modules.list); do
   55.35 +        if [ -f $fs/$path/$i ]; then
   55.36 +	    rm -f $fs/$path/$i
   55.37 +	fi
   55.38 +    done
   55.39 +}
   55.40 +
   55.41 +# Post install/remove commands for Tazpkg.
   55.42 +post_install()
   55.43 +{
   55.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   55.45 +}
   55.46 +
   55.47 +post_remove()
   55.48 +{
   55.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   55.50 +}
    56.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56.2 +++ b/linux64-toshiba/receipt	Tue Apr 17 09:47:11 2012 +0200
    56.3 @@ -0,0 +1,40 @@
    56.4 +# SliTaz package receipt.
    56.5 +
    56.6 +PACKAGE="linux64-toshiba"
    56.7 +VERSION="3.2.14"
    56.8 +BASEVER="${VERSION:0:3}"
    56.9 +CATEGORY="base-system"
   56.10 +SHORT_DESC="The Linux kernel toshiba module."
   56.11 +MAINTAINER="devel@slitaz.org"
   56.12 +DEPENDS="linux64"
   56.13 +WANTED="linux"
   56.14 +PROVIDE="linux-toshiba"
   56.15 +WEB_SITE="http://www.kernel.org/"
   56.16 +
   56.17 +# Modules paths and list
   56.18 +MOD_PATH="lib/modules/$BASEVER-slitaz/kernel"
   56.19 +MODULES="drivers/char/toshiba.ko.gz"
   56.20 +
   56.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
   56.22 +genpkg_rules()
   56.23 +{
   56.24 +	_pkg=$_pkg/linux64
   56.25 +	mkdir -p ${fs}/${MOD_PATH}
   56.26 +	for module in $MODULES
   56.27 +	do
   56.28 +		dir=$MOD_PATH/$(dirname $module)
   56.29 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   56.30 +		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   56.31 +	done
   56.32 +}
   56.33 +
   56.34 +# Post install/remove commands for Tazpkg.
   56.35 +post_install()
   56.36 +{
   56.37 +	chroot "$1/" depmod -a $BASEVER-slitaz
   56.38 +}
   56.39 +
   56.40 +post_remove()
   56.41 +{
   56.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   56.43 +}
    57.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.2 +++ b/linux64-usb-misc/receipt	Tue Apr 17 09:47:11 2012 +0200
    57.3 @@ -0,0 +1,41 @@
    57.4 +# SliTaz package receipt.
    57.5 +
    57.6 +PACKAGE="linux64-usb-misc"
    57.7 +VERSION="3.2.14"
    57.8 +BASEVER="${VERSION:0:3}"
    57.9 +CATEGORY="base-system"
   57.10 +SHORT_DESC="The Linux kernel misc. USB drivers, including the Lego USB tower."
   57.11 +MAINTAINER="rcx@zoominternet.net"
   57.12 +WANTED="linux"
   57.13 +DEPENDS="linux64"
   57.14 +PROVIDE="linux-usb-misc"
   57.15 +WEB_SITE="http://www.kernel.org/"
   57.16 +
   57.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   57.18 +genpkg_rules()
   57.19 +{
   57.20 +    local path
   57.21 +    _pkg=$_pkg/linux64
   57.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   57.23 +    mkdir -p $fs/$path
   57.24 +    export src
   57.25 +    export _pkg
   57.26 +    $wanted_stuff/list_modules.sh drivers/usb/misc | while read module; do
   57.27 +    	dir=$path/$(dirname $module)
   57.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   57.29 +        cp -a $_pkg/$path/$module $fs/$dir
   57.30 +    done
   57.31 +
   57.32 +}
   57.33 +
   57.34 +# Post install/remove commands for Tazpkg.
   57.35 +post_install()
   57.36 +{
   57.37 +	chroot "$1/" depmod -a $BASEVER-slitaz
   57.38 +}
   57.39 +
   57.40 +post_remove()
   57.41 +{
   57.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   57.43 +}
   57.44 +
    58.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.2 +++ b/linux64-usbdsl/receipt	Tue Apr 17 09:47:11 2012 +0200
    58.3 @@ -0,0 +1,43 @@
    58.4 +# SliTaz package receipt.
    58.5 +
    58.6 +PACKAGE="linux64-usbdsl"
    58.7 +VERSION="3.2.14"
    58.8 +BASEVER="${VERSION:0:3}"
    58.9 +CATEGORY="base-system"
   58.10 +SHORT_DESC="The Linux kernel usb dsl modem modules."
   58.11 +MAINTAINER="devel@slitaz.org"
   58.12 +DEPENDS="linux64"
   58.13 +WANTED="linux"
   58.14 +PROVIDE="linux-usbdsl"
   58.15 +WEB_SITE="http://www.kernel.org/"
   58.16 +
   58.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   58.18 +genpkg_rules()
   58.19 +{
   58.20 +    local path
   58.21 +    _pkg=$_pkg/linux64
   58.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   58.23 +    mkdir -p $fs/$path
   58.24 +    
   58.25 +    export src
   58.26 +    export _pkg
   58.27 +    
   58.28 +    $wanted_stuff/list_modules.sh drivers/usb/atm net/atm | \
   58.29 +    while read module; do
   58.30 +    	dir=$path/$(dirname $module)
   58.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   58.32 +        cp -a $_pkg/$path/$module $fs/$dir
   58.33 +    done
   58.34 +}
   58.35 +
   58.36 +# Post install/remove commands for Tazpkg.
   58.37 +post_install()
   58.38 +{
   58.39 +	chroot "$1/" depmod -a $BASEVER-slitaz
   58.40 +}
   58.41 +
   58.42 +post_remove()
   58.43 +{
   58.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   58.45 +}
   58.46 +
    59.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.2 +++ b/linux64-usbip/receipt	Tue Apr 17 09:47:11 2012 +0200
    59.3 @@ -0,0 +1,44 @@
    59.4 +# SliTaz package receipt.
    59.5 +
    59.6 +PACKAGE="linux64-usbip"
    59.7 +VERSION="3.2.14"
    59.8 +BASEVER="${VERSION:0:3}"
    59.9 +CATEGORY="base-system"
   59.10 +SHORT_DESC="The Linux kernel usbip module."
   59.11 +MAINTAINER="devel@slitaz.org"
   59.12 +DEPENDS="linux64"
   59.13 +WANTED="linux"
   59.14 +PROVIDE="linux-usbip"
   59.15 +WEB_SITE="http://www.kernel.org/"
   59.16 +PROVIDE="usbip-module"
   59.17 +
   59.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
   59.19 +genpkg_rules()
   59.20 +{
   59.21 +    local path
   59.22 +    _pkg=$_pkg/linux64
   59.23 +    path=lib/modules/$BASEVER-slitaz/kernel
   59.24 +    mkdir -p $fs/$path
   59.25 +    export src
   59.26 +    export _pkg
   59.27 +    $wanted_stuff/list_modules.sh drivers/staging/usbip | while read module; do
   59.28 +    	dir=$path/$(dirname $module)
   59.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   59.30 +        cp -a $_pkg/$path/$module $fs/$dir
   59.31 +    done
   59.32 +}
   59.33 +
   59.34 +# Post install/remove commands for Tazpkg.
   59.35 +post_install()
   59.36 +{
   59.37 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   59.38 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   59.39 +	chroot "$1/" depmod -a $BASEVER-slitaz
   59.40 +}
   59.41 +
   59.42 +post_remove()
   59.43 +{
   59.44 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
   59.45 +	chroot "$1/" depmod -a $BASEVER-slitaz
   59.46 +}
   59.47 +
    60.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    60.2 +++ b/linux64-uwb/receipt	Tue Apr 17 09:47:11 2012 +0200
    60.3 @@ -0,0 +1,43 @@
    60.4 +# SliTaz package receipt.
    60.5 +
    60.6 +PACKAGE="linux64-uwb"
    60.7 +VERSION="3.2.14"
    60.8 +BASEVER="${VERSION:0:3}"
    60.9 +CATEGORY="base-system"
   60.10 +SHORT_DESC="The Linux kernel uwb modules."
   60.11 +MAINTAINER="devel@slitaz.org"
   60.12 +DEPENDS="linux64"
   60.13 +WANTED="linux"
   60.14 +PROVIDE="linux-uwb"
   60.15 +WEB_SITE="http://www.kernel.org/"
   60.16 +
   60.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   60.18 +genpkg_rules()
   60.19 +{
   60.20 +    local path
   60.21 +    _pkg=$_pkg/linux64
   60.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   60.23 +    mkdir -p $fs/$path
   60.24 +    
   60.25 +    export src
   60.26 +    export _pkg
   60.27 +    
   60.28 +    $wanted_stuff/list_modules.sh drivers/uwb drivers/usb/wusbcore \
   60.29 +    drivers/usb/host/whci | while read module; do
   60.30 +    	dir=$path/$(dirname $module)
   60.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   60.32 +        cp -a $_pkg/$path/$module $fs/$dir
   60.33 +    done
   60.34 +}
   60.35 +
   60.36 +# Post install/remove commands for Tazpkg.
   60.37 +post_install()
   60.38 +{
   60.39 +	chroot "$1/" depmod -a $BASEVER-slitaz
   60.40 +}
   60.41 +
   60.42 +post_remove()
   60.43 +{
   60.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   60.45 +}
   60.46 +
    61.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.2 +++ b/linux64-video/receipt	Tue Apr 17 09:47:11 2012 +0200
    61.3 @@ -0,0 +1,41 @@
    61.4 +# SliTaz package receipt.
    61.5 +
    61.6 +PACKAGE="linux64-video"
    61.7 +VERSION="3.2.14"
    61.8 +BASEVER="${VERSION:0:3}"
    61.9 +CATEGORY="base-system"
   61.10 +SHORT_DESC="The Linux kernel video modules."
   61.11 +MAINTAINER="devel@slitaz.org"
   61.12 +DEPENDS="linux64"
   61.13 +WANTED="linux"
   61.14 +PROVIDE="linux-video"
   61.15 +WEB_SITE="http://www.kernel.org/"
   61.16 +
   61.17 +# Modules paths and list
   61.18 +MOD_PATH="lib/modules/$BASEVER-slitaz/kernel"
   61.19 +MODULES="drivers/video/backlight"
   61.20 +
   61.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
   61.22 +genpkg_rules()
   61.23 +{
   61.24 +	_pkg=$_pkg/linux64
   61.25 +	mkdir -p ${fs}/${MOD_PATH}
   61.26 +	for module in $MODULES
   61.27 +	do
   61.28 +		dir=$MOD_PATH/$(dirname $module)
   61.29 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   61.30 +		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   61.31 +	done
   61.32 +}
   61.33 +
   61.34 +# Post install/remove commands for Tazpkg.
   61.35 +post_install()
   61.36 +{
   61.37 +	chroot "$1/" depmod -a $BASEVER-slitaz
   61.38 +}
   61.39 +
   61.40 +post_remove()
   61.41 +{
   61.42 +	chroot "$1/" depmod -a $BASEVER-slitaz
   61.43 +}
   61.44 +
    62.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    62.2 +++ b/linux64-wan/receipt	Tue Apr 17 09:47:11 2012 +0200
    62.3 @@ -0,0 +1,47 @@
    62.4 +# SliTaz package receipt.
    62.5 +
    62.6 +PACKAGE="linux64-wan"
    62.7 +VERSION="3.2.14"
    62.8 +BASEVER="${VERSION:0:3}"
    62.9 +CATEGORY="base-system"
   62.10 +SHORT_DESC="Wide Area Networks (WANs) kernel modules"
   62.11 +MAINTAINER="slaxemulator@gmail.com"
   62.12 +WANTED="linux"
   62.13 +PROVIDE="linux-wan"
   62.14 +WEB_SITE="http://kernel.org/"
   62.15 +DEPENDS="linux-wireless"
   62.16 +
   62.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   62.18 +genpkg_rules()
   62.19 +{
   62.20 +    local path
   62.21 +    _pkg=$_pkg/linux64
   62.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   62.23 +    mkdir -p $fs/$path
   62.24 +    
   62.25 +    export src
   62.26 +    export _pkg
   62.27 +    
   62.28 +    $wanted_stuff/list_modules.sh drivers/net/wan | while read module; do
   62.29 +    	dir=$path/$(dirname $module)
   62.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   62.31 +        cp -a $_pkg/$path/$module $fs/$dir
   62.32 +    done
   62.33 +
   62.34 +    for i in $(cat $wanted_stuff/modules.list); do
   62.35 +        if [ -f $fs/$path/$i ]; then
   62.36 +	    rm -f $fs/$path/$i
   62.37 +	fi
   62.38 +    done
   62.39 +}
   62.40 +
   62.41 +# Post install/remove commands for Tazpkg.
   62.42 +post_install()
   62.43 +{
   62.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   62.45 +}
   62.46 +
   62.47 +post_remove()
   62.48 +{
   62.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   62.50 +}
    63.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.2 +++ b/linux64-wimax/receipt	Tue Apr 17 09:47:11 2012 +0200
    63.3 @@ -0,0 +1,48 @@
    63.4 +# SliTaz package receipt.
    63.5 +
    63.6 +PACKAGE="linux64-wimax"
    63.7 +VERSION="3.2.14"
    63.8 +BASEVER="${VERSION:0:3}"
    63.9 +CATEGORY="base-system"
   63.10 +SHORT_DESC="The Linux kernel wimax modules."
   63.11 +MAINTAINER="devel@slitaz.org"
   63.12 +WANTED="linux"
   63.13 +DEPENDS="linux64"
   63.14 +PROVIDE="linux-wimax"
   63.15 +WEB_SITE="http://www.kernel.org/"
   63.16 +
   63.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   63.18 +genpkg_rules()
   63.19 +{
   63.20 +    local path
   63.21 +    _pkg=$_pkg/linux64
   63.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   63.23 +    mkdir -p $fs/$path
   63.24 +    
   63.25 +    export src
   63.26 +    export _pkg
   63.27 +    
   63.28 +    $wanted_stuff/list_modules.sh drivers/net/wimax net/wimax | while read module; do
   63.29 +    	dir=$path/$(dirname $module)
   63.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   63.31 +        cp -a $_pkg/$path/$module $fs/$dir
   63.32 +    done
   63.33 +
   63.34 +    for i in $(cat $wanted_stuff/modules.list); do
   63.35 +        if [ -f $fs/$path/$i ]; then
   63.36 +	    rm -f $fs/$path/$i
   63.37 +	fi
   63.38 +    done
   63.39 +}
   63.40 +
   63.41 +# Post install/remove commands for Tazpkg.
   63.42 +post_install()
   63.43 +{
   63.44 +	chroot "$1/" depmod -a $BASEVER-slitaz
   63.45 +}
   63.46 +
   63.47 +post_remove()
   63.48 +{
   63.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   63.50 +}
   63.51 +
    64.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    64.2 +++ b/linux64-wireless/receipt	Tue Apr 17 09:47:11 2012 +0200
    64.3 @@ -0,0 +1,53 @@
    64.4 +# SliTaz package receipt.
    64.5 +
    64.6 +PACKAGE="linux64-wireless"
    64.7 +VERSION="3.2.14"
    64.8 +BASEVER="${VERSION:0:3}"
    64.9 +CATEGORY="base-system"
   64.10 +SHORT_DESC="The Linux kernel wireless modules."
   64.11 +MAINTAINER="devel@slitaz.org"
   64.12 +WANTED="linux"
   64.13 +PROVIDE="linux-wireless"
   64.14 +WEB_SITE="http://www.kernel.org/"
   64.15 +DEPENDS="linux-crypto wireless_tools"
   64.16 +
   64.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   64.18 +genpkg_rules()
   64.19 +{
   64.20 +    local path
   64.21 +    _pkg=$_pkg/linux64
   64.22 +    path=lib/modules/$BASEVER-slitaz/kernel
   64.23 +    mkdir -p $fs/$path
   64.24 +    
   64.25 +    export src
   64.26 +    export _pkg
   64.27 +    
   64.28 +    $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
   64.29 +    drivers/staging/echo drivers/leds net/wireless net/mac80211 \
   64.30 +    drivers/staging/rtl8192e/r8192e_pci.ko.gz drivers/staging/rtl8712/r8712u.ko.gz \
   64.31 +	drivers/staging/rtl8187se/r8187se.ko.gz drivers/staging/rtl8192u/r8192u_usb.ko.gz \
   64.32 +	drivers/staging/crystalhd/crystalhd.ko.gz \
   64.33 +	drivers/staging/sm7xx/sm7xx.ko.gz | while read module; do
   64.34 +    	dir=$path/$(dirname $module)
   64.35 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   64.36 +        cp -a $_pkg/$path/$module $fs/$dir
   64.37 +    done
   64.38 +
   64.39 +    for i in $(cat $wanted_stuff/modules.list); do
   64.40 +        if [ -f $fs/$path/$i ]; then
   64.41 +	    rm -f $fs/$path/$i
   64.42 +	fi
   64.43 +    done
   64.44 +}
   64.45 +
   64.46 +# Post install/remove commands for Tazpkg.
   64.47 +post_install()
   64.48 +{
   64.49 +	chroot "$1/" depmod -a $BASEVER-slitaz
   64.50 +}
   64.51 +
   64.52 +post_remove()
   64.53 +{
   64.54 +	chroot "$1/" depmod -a $BASEVER-slitaz
   64.55 +}
   64.56 +
    65.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    65.2 +++ b/linux64-without-modules/receipt	Tue Apr 17 09:47:11 2012 +0200
    65.3 @@ -0,0 +1,19 @@
    65.4 +# SliTaz package receipt.
    65.5 +
    65.6 +PACKAGE="linux64-without-modules"
    65.7 +VERSION="3.2.14"
    65.8 +BASEVER="${VERSION:0:3}"
    65.9 +CATEGORY="base-system"
   65.10 +SHORT_DESC="The Linux kernel without module support."
   65.11 +MAINTAINER="devel@slitaz.org"
   65.12 +WANTED="linux"
   65.13 +WEB_SITE="http://www.kernel.org/"
   65.14 +
   65.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   65.16 +genpkg_rules()
   65.17 +{
   65.18 +	_pkg=$_pkg/linux64
   65.19 +	mkdir -p $fs/boot   
   65.20 +	cp -a $_pkg/bzImage $fs/boot/vmlinuz-$VERSION-slitaz-without-modules
   65.21 +}
   65.22 +