wok diff aufs/receipt @ rev 12141

postgis: fix depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 14 03:50:05 2012 +0100 (2012-03-14)
parents 8dffd56b84f3
children 6f536abe4f0b
line diff
     1.1 --- a/aufs/receipt	Fri May 27 09:29:10 2011 +0200
     1.2 +++ b/aufs/receipt	Wed Mar 14 03:50:05 2012 +0100
     1.3 @@ -38,9 +38,7 @@
     1.4  	sed -i 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' \
     1.5  		config.mk || return 1
     1.6  
     1.7 -	#patch -Np1 -i $stuff/aufs2-module-2.6.36.patch
     1.8 -	#make KDIR=/usr/src/linux clean
     1.9 -	# build, sed fixes are from gentoo portage build
    1.10 +	# The sed fixes are from gentoo portage build.
    1.11  	sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
    1.12  	sed -i "s:__user::g" include/linux/aufs_type.h
    1.13  	make -j 1 KDIR=/usr/src/linux
    1.14 @@ -49,14 +47,14 @@
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18 -	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.19 -	EXTRAVERSION=_$KERNEL_VERSION
    1.20 -	mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs
    1.21 -	lzma e $src/fs/aufs/aufs.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.22 -	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.23 -	chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.24 -	install -D -m 644 $src/include/linux/aufs_type.h $fs/usr/include/linux/aufs_type.h 
    1.25 -
    1.26 +	EXTRAVERSION=_${kvers}
    1.27 +	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs
    1.28 +	lzma e $src/fs/aufs/aufs.ko \
    1.29 +		$fs/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.30 +	chown root $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.31 +	chown 0644 $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.32 +	install -D -m 644 $src/include/linux/aufs_type.h \
    1.33 +		$fs/usr/include/linux/aufs_type.h 
    1.34  }
    1.35  
    1.36  post_install()