wok rev 8546

imported patch get/aufs-utils
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 1eb4492ff5cf
children 4420775b8cf6
files aufs-utils/receipt
line diff
     1.1 --- a/aufs-utils/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/aufs-utils/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -1,29 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="aufs-utils"
     1.7 -VERSION="20110124"
     1.8 +VERSION="2.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="The aufs utils."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="aufs"
    1.13  BUILD_DEPENDS="git linux-module-headers"
    1.14  WEB_SITE="http://aufs.sourceforge.net/"
    1.15 -
    1.16 +WGET_URL="git|http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git"
    1.17 +BRANCH="origin/aufs$VERSION"
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.22 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    1.23 -	if [ -f $TARBALL ]; then
    1.24 -		unlzma -c $TARBALL | tar xf -
    1.25 -		cd $src && git checkout origin/aufs2.1
    1.26 -	else
    1.27 -		git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git $PACKAGE-$VERSION
    1.28 -		tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
    1.29 -		cd $src && git checkout origin/aufs2.1
    1.30 -	fi
    1.31 -
    1.32 -		KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.33 +	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.34  	cd $src
    1.35  	sed -i 's/-m 644 -T/-m 644/' Makefile
    1.36  	make &&