wok-current rev 11009

Up: git to 1.7.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 03:17:41 2011 +0000 (2011-10-13)
parents 6da1a6d30bc1
children 8c782f58bfc3
files git/receipt
line diff
     1.1 --- a/git/receipt	Thu Oct 13 03:16:41 2011 +0000
     1.2 +++ b/git/receipt	Thu Oct 13 03:17:41 2011 +0000
     1.3 @@ -1,15 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="git"
     1.7 -VERSION="1.7.5.2"
     1.8 +VERSION="1.7.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Fast version control system"
    1.11  MAINTAINER="b1+slitaz@nagel.org"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://git.or.cz"
    1.14 +WGET_URL="http://git-core.googlecode.com/files/$TARBALL"
    1.15 +CROSS="bug: can't run test and make package."
    1.16 +
    1.17  DEPENDS="zlib openssl curl expat"
    1.18  BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev tar bzip2"
    1.19 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20 -WEB_SITE="http://git.or.cz"
    1.21 -WGET_URL="http://kernel.org/pub/software/scm/git/$TARBALL"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -20,15 +22,16 @@
    1.26  		--prefix=/usr \
    1.27  		--libexecdir=/usr/lib/git \
    1.28  		--without-tcltk \
    1.29 -		$CONFIGURE_ARGS &&
    1.30 +		--build=$HOST_SYSTEM \
    1.31 +		--host=$HOST_SYSTEM &&
    1.32  	make THREADED_DELTA_SEARCH=1
    1.33 -	make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install
    1.34 +	make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	mkdir -p $fs
    1.41 -	cp -a $_pkg/usr $fs/
    1.42 -	strip -s $fs/usr/lib/git/git-core/* || true
    1.43 +	cp -a $install/usr $fs/
    1.44 +	strip -s $fs/usr/lib/git/git-core/* 2>/dev/null || true
    1.45  }