wok rev 3053

Add linux-ext4 linux-hfs linux-minix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 16:03:39 2009 +0200 (2009-05-13)
parents b9b88d293001
children b235b512eb2b
files linux-btrfs/receipt linux-ext4/receipt linux-hfs/receipt linux-minix/receipt linux-usbip/receipt
line diff
     1.1 --- a/linux-btrfs/receipt	Wed May 13 15:56:54 2009 +0200
     1.2 +++ b/linux-btrfs/receipt	Wed May 13 16:03:39 2009 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="linux-btrfs"
     1.5  VERSION="2.6.29.3"
     1.6  CATEGORY="base-system"
     1.7 -SHORT_DESC="The Linux kernel reiserfs module."
     1.8 +SHORT_DESC="The Linux kernel btrfs module."
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  DEPENDS="linux"
    1.11  WANTED="linux"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/linux-ext4/receipt	Wed May 13 16:03:39 2009 +0200
     2.3 @@ -0,0 +1,42 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="linux-ext4"
     2.7 +VERSION="2.6.29.3"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="The Linux kernel ext4 module."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +DEPENDS="linux"
    2.12 +WANTED="linux"
    2.13 +WEB_SITE="http://www.kernel.org/"
    2.14 +CONFIG_FILES="/etc/filesystems"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +    local path
    2.20 +    path=lib/modules/$VERSION-slitaz/kernel
    2.21 +    mkdir -p $fs/$path $fs/etc
    2.22 +    export src
    2.23 +    export _pkg
    2.24 +    $src/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    2.25 +    	dir=$path/$(dirname $module)
    2.26 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    2.27 +        cp -a $_pkg/$path/$module $fs/$dir
    2.28 +    done
    2.29 +    touch $fs/etc/filesystems
    2.30 +}
    2.31 +
    2.32 +# Post install/remove commands for Tazpkg.
    2.33 +post_install()
    2.34 +{
    2.35 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    2.36 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    2.37 +	chroot "$1/" depmod -a $VERSION-slitaz
    2.38 +}
    2.39 +
    2.40 +post_remove()
    2.41 +{
    2.42 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
    2.43 +	depmod -a $VERSION-slitaz
    2.44 +}
    2.45 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/linux-hfs/receipt	Wed May 13 16:03:39 2009 +0200
     3.3 @@ -0,0 +1,42 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="linux-hfs"
     3.7 +VERSION="2.6.29.3"
     3.8 +CATEGORY="base-system"
     3.9 +SHORT_DESC="The Linux kernel hfs module."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +DEPENDS="linux"
    3.12 +WANTED="linux"
    3.13 +WEB_SITE="http://www.kernel.org/"
    3.14 +CONFIG_FILES="/etc/filesystems"
    3.15 +
    3.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 +genpkg_rules()
    3.18 +{
    3.19 +    local path
    3.20 +    path=lib/modules/$VERSION-slitaz/kernel
    3.21 +    mkdir -p $fs/$path $fs/etc
    3.22 +    export src
    3.23 +    export _pkg
    3.24 +    $src/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    3.25 +    	dir=$path/$(dirname $module)
    3.26 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    3.27 +        cp -a $_pkg/$path/$module $fs/$dir
    3.28 +    done
    3.29 +    touch $fs/etc/filesystems
    3.30 +}
    3.31 +
    3.32 +# Post install/remove commands for Tazpkg.
    3.33 +post_install()
    3.34 +{
    3.35 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    3.36 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    3.37 +	chroot "$1/" depmod -a $VERSION-slitaz
    3.38 +}
    3.39 +
    3.40 +post_remove()
    3.41 +{
    3.42 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
    3.43 +	depmod -a $VERSION-slitaz
    3.44 +}
    3.45 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/linux-minix/receipt	Wed May 13 16:03:39 2009 +0200
     4.3 @@ -0,0 +1,42 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="linux-minix"
     4.7 +VERSION="2.6.29.3"
     4.8 +CATEGORY="base-system"
     4.9 +SHORT_DESC="The Linux kernel minix module."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +DEPENDS="linux"
    4.12 +WANTED="linux"
    4.13 +WEB_SITE="http://www.kernel.org/"
    4.14 +CONFIG_FILES="/etc/filesystems"
    4.15 +
    4.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.17 +genpkg_rules()
    4.18 +{
    4.19 +    local path
    4.20 +    path=lib/modules/$VERSION-slitaz/kernel
    4.21 +    mkdir -p $fs/$path $fs/etc
    4.22 +    export src
    4.23 +    export _pkg
    4.24 +    $src/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    4.25 +    	dir=$path/$(dirname $module)
    4.26 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    4.27 +        cp -a $_pkg/$path/$module $fs/$dir
    4.28 +    done
    4.29 +    touch $fs/etc/filesystems
    4.30 +}
    4.31 +
    4.32 +# Post install/remove commands for Tazpkg.
    4.33 +post_install()
    4.34 +{
    4.35 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    4.36 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    4.37 +	chroot "$1/" depmod -a $VERSION-slitaz
    4.38 +}
    4.39 +
    4.40 +post_remove()
    4.41 +{
    4.42 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
    4.43 +	depmod -a $VERSION-slitaz
    4.44 +}
    4.45 +
     5.1 --- a/linux-usbip/receipt	Wed May 13 15:56:54 2009 +0200
     5.2 +++ b/linux-usbip/receipt	Wed May 13 16:03:39 2009 +0200
     5.3 @@ -3,7 +3,7 @@
     5.4  PACKAGE="linux-usbip"
     5.5  VERSION="2.6.29.3"
     5.6  CATEGORY="base-system"
     5.7 -SHORT_DESC="The Linux kernel squashfs module."
     5.8 +SHORT_DESC="The Linux kernel usbip module."
     5.9  MAINTAINER="pascal.bellard@slitaz.org"
    5.10  DEPENDS="linux"
    5.11  WANTED="linux"