wok diff aufs/receipt @ rev 13103
Up: raptor to 2.0.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jun 26 18:36:55 2012 +0000 (2012-06-26) |
parents | d9d5114598b0 |
children | ab6b8c6c469c |
line diff
1.1 --- a/aufs/receipt Fri May 27 10:23:37 2011 +0200 1.2 +++ b/aufs/receipt Tue Jun 26 18:36:55 2012 +0000 1.3 @@ -1,15 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="aufs" 1.7 -VERSION="20110214" 1.8 +VERSION="20120109" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="aufs2 kernel module" 1.11 +SHORT_DESC="aufs3 kernel module" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 WEB_SITE="http://aufs.sf.net/" 1.14 PROVIDE="linux-aufs" 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WGET_URL="git|http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git" 1.17 -BRANCH="origin/${PACKAGE}2.1-37" 1.18 +WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git" 1.19 +BRANCH="origin/${PACKAGE}3.2" 1.20 +COOK_OPT="!remove_src" 1.21 1.22 DEPENDS="linux" 1.23 BUILD_DEPENDS="linux-module-headers git lzma" 1.24 @@ -47,14 +48,16 @@ 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - EXTRAVERSION=_${kvers} 1.29 - mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs 1.30 + KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.31 + BASEVER=${KERNEL_VERSION:0:3} 1.32 + EXTRAVERSION=_$BASEVER 1.33 + mkdir -p $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs 1.34 lzma e $src/fs/aufs/aufs.ko \ 1.35 - $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.gz 1.36 - chown root $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.gz 1.37 - chown 0644 $fs/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.gz 1.38 + $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz 1.39 + chown root $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz 1.40 + chown 0644 $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz 1.41 install -D -m 644 $src/include/linux/aufs_type.h \ 1.42 - $fs/usr/include/linux/aufs_type.h 1.43 + $fs/usr/include/linux/aufs_type.h 1.44 } 1.45 1.46 post_install()