wok-stable diff aufs-utils/receipt @ rev 6711
Up: aufs-utils to 20101014. Added support to back up source code into a .tar.gz. Also added linux-module-headers as build depend since it builds with it. Added a fix-kdir.patch since it was KDIR support was remove from newer git version.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 14 03:01:24 2010 +0000 (2010-10-14) |
parents | ce1a465271d9 |
children | 18b1c44200fd |
line diff
1.1 --- a/aufs-utils/receipt Thu Sep 16 13:04:44 2010 +0000 1.2 +++ b/aufs-utils/receipt Thu Oct 14 03:01:24 2010 +0000 1.3 @@ -1,28 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="aufs-utils" 1.7 -VERSION="20100916" 1.8 +VERSION="20101014" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="The aufs utils." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 DEPENDS="linux-aufs" 1.13 -BUILD_DEPENDS="git" 1.14 +BUILD_DEPENDS="git linux-module-headers" 1.15 WEB_SITE="http://aufs.sourceforge.net/" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION 1.21 - git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \ 1.22 - $PACKAGE-$VERSION 1.23 + TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz 1.24 + if [ -f $TARBALL ]; then 1.25 + tar xzf $TARBALL 1.26 + else 1.27 + git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git $PACKAGE-$VERSION 1.28 + tar czf $TARBALL $PACKAGE-$VERSION 1.29 + fi 1.30 + 1.31 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.32 - if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then 1.33 - tazwok cook linux 1.34 - fi 1.35 cd $src 1.36 + patch -p1 -R < $WOK/$PACKAGE/stuff/fix-kdir.patch 1.37 sed -i 's/-m 644 -T/-m 644/' Makefile 1.38 - make KDIR=$WOK/linux/linux-$KERNEL_VERSION && 1.39 - make KDIR=$WOK/linux/linux-$KERNEL_VERSION DESTDIR=$PWD/_pkg install 1.40 + make && 1.41 + make DESTDIR=$PWD/_pkg install 1.42 } 1.43 1.44 # Rules to gen a SliTaz package suitable for Tazpkg.