wok-6.x rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents ef61195e9258
children 0b5df2bc8200
files aufs/receipt broadcom-wl/receipt linmodem-agrsm/receipt linmodem-intel-536ep/receipt linmodem-intel-537/receipt linmodem-slmodem/receipt ndiswrapper-driver/receipt nvidia-173xx/receipt retawq/stuff/skel/.retawq/bookmarks.html
line diff
     1.1 --- a/aufs/receipt	Thu Aug 23 10:14:12 2012 +0200
     1.2 +++ b/aufs/receipt	Thu Aug 23 19:24:51 2012 +0200
     1.3 @@ -13,7 +13,7 @@
     1.4  COOK_OPT="!remove_src"
     1.5  
     1.6  DEPENDS="linux"
     1.7 -BUILD_DEPENDS="linux-module-headers git lzma"
     1.8 +BUILD_DEPENDS="linux-module-headers git xz"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12 @@ -52,10 +52,10 @@
    1.13  	BASEVER=${KERNEL_VERSION:0:3}
    1.14  	EXTRAVERSION=_$BASEVER
    1.15  	mkdir -p $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs
    1.16 -	lzma e $src/fs/aufs/aufs.ko \
    1.17 -		$fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.18 -	chown root $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.19 -	chown 0644 $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.20 +	cp $src/fs/aufs/aufs.ko $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/
    1.21 +	xz $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.22 +	chown root $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.xz
    1.23 +	chown 0644 $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.xz
    1.24  	install -D -m 644 $src/include/linux/aufs_type.h \
    1.25  		$fs/usr/include/linux/aufs_type.h
    1.26  }
     2.1 --- a/broadcom-wl/receipt	Thu Aug 23 10:14:12 2012 +0200
     2.2 +++ b/broadcom-wl/receipt	Thu Aug 23 19:24:51 2012 +0200
     2.3 @@ -6,7 +6,7 @@
     2.4  MAINTAINER="jozee@slitaz.org"
     2.5  SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers"
     2.6  DEPENDS="linux"
     2.7 -BUILD_DEPENDS="linux-module-headers"
     2.8 +BUILD_DEPENDS="linux-module-headers xz"
     2.9  WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php"
    2.10  TARBALL="hybrid-portsrc_x86_32-v${VERSION}.tar.gz"
    2.11  WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL"
    2.12 @@ -35,9 +35,10 @@
    2.13  	mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless
    2.14  	
    2.15  	# Compress and install module
    2.16 -	lzma e $src/wl.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.gz
    2.17 -	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.gz
    2.18 -	chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.gz
    2.19 +	cp $src/wl.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/
    2.20 +	xz $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko
    2.21 +	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.xz
    2.22 +	chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.xz
    2.23  }
    2.24  
    2.25  # Post install/remove commands for Tazpkg.
     3.1 --- a/linmodem-agrsm/receipt	Thu Aug 23 10:14:12 2012 +0200
     3.2 +++ b/linmodem-agrsm/receipt	Thu Aug 23 19:24:51 2012 +0200
     3.3 @@ -10,7 +10,7 @@
     3.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
     3.5  WGET_URL="$WEB_SITE/$TARBALL"
     3.6  
     3.7 -BUILD_DEPENDS="linux linux-module-headers lzma"
     3.8 +BUILD_DEPENDS="linux linux-module-headers xz"
     3.9  
    3.10  # Rules to configure and make the package.
    3.11  compile_rules()
    3.12 @@ -29,10 +29,12 @@
    3.13  	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/drivers/net
    3.14  	
    3.15  	# Compress and install module
    3.16 -	lzma e $src/agrmodem.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrmodem.ko.gz
    3.17 -	lzma e $src/agrserial.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrserial.ko.gz		
    3.18 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz
    3.19 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz			
    3.20 +	cp $src/agrmodem.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/
    3.21 +	xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrmodem.ko.gz
    3.22 +	cp $src/agrserial.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/
    3.23 +	xz $src/agrserial.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrserial.ko.gz
    3.24 +	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.xz
    3.25 +	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.xz			
    3.26  }
    3.27  
    3.28  post_install()
     4.1 --- a/linmodem-intel-536ep/receipt	Thu Aug 23 10:14:12 2012 +0200
     4.2 +++ b/linmodem-intel-536ep/receipt	Thu Aug 23 19:24:51 2012 +0200
     4.3 @@ -10,7 +10,7 @@
     4.4  WGET_URL="$WEB_SITE/Philippe.Vouters/$TARBALL"
     4.5  
     4.6  DEPENDS="linux"
     4.7 -BUILD_DEPENDS="linux-module-headers lzma"
     4.8 +BUILD_DEPENDS="linux-module-headers xz"
     4.9  
    4.10  # Rules to configure and make the package.
    4.11  compile_rules()
    4.12 @@ -41,10 +41,10 @@
    4.13  	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/drivers/net
    4.14  	
    4.15  	# Compress and install module
    4.16 -	lzma e $src/Intel536.ko \
    4.17 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel536.ko.gz
    4.18 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel536.ko.gz
    4.19 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel536.ko.gz		
    4.20 +	cp $src/Intel536.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/
    4.21 +	xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel536.ko
    4.22 +	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel536.ko.xz
    4.23 +	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel536.ko.xz		
    4.24  }
    4.25  
    4.26  post_install()
     5.1 --- a/linmodem-intel-537/receipt	Thu Aug 23 10:14:12 2012 +0200
     5.2 +++ b/linmodem-intel-537/receipt	Thu Aug 23 19:24:51 2012 +0200
     5.3 @@ -6,7 +6,7 @@
     5.4  MAINTAINER="jozee@slitaz.org"
     5.5  SHORT_DESC="Intel Modem Drivers for 537 chipsets"
     5.6  DEPENDS="linux"
     5.7 -BUILD_DEPENDS="linux-module-headers lzma"
     5.8 +BUILD_DEPENDS="linux-module-headers xz"
     5.9  WEB_SITE="http://linmodems.technion.ac.il/packages/Intel/"
    5.10  TARBALL="intel-536EP-537EP_2009_07_04.tar.bz2"
    5.11  WGET_URL="$WEB_SITE/Philippe.Vouters/$TARBALL"
    5.12 @@ -41,10 +41,10 @@
    5.13  	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/drivers/net
    5.14  	
    5.15  	# Compress and install module
    5.16 -	lzma e $src/Intel537.ko \
    5.17 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel537.ko.gz
    5.18 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel537.ko.gz
    5.19 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel537.ko.gz			
    5.20 +	cp $src/Intel537.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/
    5.21 +	xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel537.ko
    5.22 +	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel537.ko.xz
    5.23 +	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/intel537.ko.xz			
    5.24  }
    5.25  
    5.26  post_install()
     6.1 --- a/linmodem-slmodem/receipt	Thu Aug 23 10:14:12 2012 +0200
     6.2 +++ b/linmodem-slmodem/receipt	Thu Aug 23 19:24:51 2012 +0200
     6.3 @@ -10,7 +10,7 @@
     6.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     6.5  WGET_URL="$WEB_SITE/$TARBALL"
     6.6  
     6.7 -BUILD_DEPENDS="linux-module-headers lzma"
     6.8 +BUILD_DEPENDS="linux-module-headers xz"
     6.9  
    6.10  # Rules to configure and make the package.
    6.11  
    6.12 @@ -39,12 +39,14 @@
    6.13  	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/drivers/net
    6.14  	
    6.15  	# Compress and install module
    6.16 -	lzma e $src/drivers/slamr.ko \
    6.17 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/slamr.ko.gz
    6.18 -	lzma e ungrab-winmodem-20090716/ungrab-winmodem.ko \
    6.19 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/ungrab-winmodem.ko.gz
    6.20 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz
    6.21 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz	
    6.22 +	cp $src/drivers/slamr.ko \
    6.23 +		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/
    6.24 +	xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/slamr.ko
    6.25 +	cp ungrab-winmodem-20090716/ungrab-winmodem.ko \
    6.26 +		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/
    6.27 +	xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/ungrab-winmodem.ko
    6.28 +	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.xz
    6.29 +	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.xz	
    6.30  }
    6.31  
    6.32  post_install()
     7.1 --- a/ndiswrapper-driver/receipt	Thu Aug 23 10:14:12 2012 +0200
     7.2 +++ b/ndiswrapper-driver/receipt	Thu Aug 23 19:24:51 2012 +0200
     7.3 @@ -5,8 +5,8 @@
     7.4  CATEGORY="system-tools"
     7.5  SHORT_DESC="Add Windows network drivers support to Linux kernel."
     7.6  MAINTAINER="erjo@slitaz.org"
     7.7 -DEPENDS="linux lzma"
     7.8 -BUILD_DEPENDS="linux-module-headers"
     7.9 +DEPENDS="linux"
    7.10 +BUILD_DEPENDS="linux-module-headers xz"
    7.11  SOURCE="ndiswrapper"
    7.12  TARBALL="$SOURCE-$VERSION.tar.gz"
    7.13  WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
    7.14 @@ -37,10 +37,11 @@
    7.15  
    7.16  	# Compress and install module
    7.17  	# $stuff/gztazmod.sh $fs/lib/modules/$VERSION-slitaz
    7.18 -	lzma e $src/driver/ndiswrapper.ko \
    7.19 -		$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.gz
    7.20 -	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.gz
    7.21 -	chmod 644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.gz
    7.22 +	cp $src/driver/ndiswrapper.ko \
    7.23 +		$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/
    7.24 +	xz $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko
    7.25 +	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.xz
    7.26 +	chmod 644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.xz
    7.27  }
    7.28  
    7.29  post_install()
     8.1 --- a/nvidia-173xx/receipt	Thu Aug 23 10:14:12 2012 +0200
     8.2 +++ b/nvidia-173xx/receipt	Thu Aug 23 19:24:51 2012 +0200
     8.3 @@ -13,7 +13,7 @@
     8.4  TAGS="drivers graphic video"
     8.5  
     8.6  DEPENDS="linux xorg-server gtk+ cairo linux-agp xorg-libXv"
     8.7 -BUILD_DEPENDS="linux-module-headers coreutils-file-summarize"
     8.8 +BUILD_DEPENDS="linux-module-headers coreutils-file-summarize xz"
     8.9  
    8.10  # Rules to configure and make the package.
    8.11  
    8.12 @@ -35,10 +35,11 @@
    8.13  				 $fs/usr/share/doc/$PACKAGE 
    8.14  	
    8.15  	# Compress and install module
    8.16 -	lzma e $src/usr/src/nv/nvidia.ko \
    8.17 -			$fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.gz
    8.18 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.gz
    8.19 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.gz	
    8.20 +	cd $src/usr/src/nv/nvidia.ko \
    8.21 +			$fs/lib/modules/$kvers-slitaz/kernel/drivers/video/
    8.22 +	xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko
    8.23 +	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.xz
    8.24 +	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.xz	
    8.25  	
    8.26  	cp -a $src/LICENSE $fs/usr/share/licenses/$PACKAGE
    8.27  	cp -a $src/usr/bin $fs/usr
     9.1 --- a/retawq/stuff/skel/.retawq/bookmarks.html	Thu Aug 23 10:14:12 2012 +0200
     9.2 +++ b/retawq/stuff/skel/.retawq/bookmarks.html	Thu Aug 23 19:24:51 2012 +0200
     9.3 @@ -12,7 +12,10 @@
     9.4  	<li><a href="http://www.slitaz.org/">www.slitaz.org</a></li>
     9.5  	<li><a href="http://forum.slitaz.org/">forum.slitaz.org</a></li>
     9.6  	<li><a href="http://doc.slitaz.org/">doc.slitaz.org</a></li>
     9.7 +	<li><a href="http://scn.slitaz.org/">scn.slitaz.org</a></li>
     9.8  	<li><a href="http://hg.slitaz.org/">hg.slitaz.org</a></li>
     9.9 +	<li><a href="http://pkgs.slitaz.org/">pkgs.slitaz.org</a></li>
    9.10 +	<li><a href="http://paste.slitaz.org/">paste.slitaz.org</a></li>
    9.11  	<li><a href="http://www.gnu.org/">www.gnu.org</a></li>
    9.12  	<li><a href="http://www.kernel.org/">www.kernel.org</a></li>
    9.13  	<li><a href="http://www.busybox.net/">www.busybox.net</a></li>