# HG changeset patch # User Christopher Rogers # Date 1318475861 0 # Node ID ae21f4bbf5ed9068dc4899137acb816f334708a7 # Parent 6da1a6d30bc103f92c1491421a294a494efba895 Up: git to 1.7.7. diff -r 6da1a6d30bc1 -r ae21f4bbf5ed git/receipt --- a/git/receipt Thu Oct 13 03:16:41 2011 +0000 +++ b/git/receipt Thu Oct 13 03:17:41 2011 +0000 @@ -1,15 +1,17 @@ # SliTaz package receipt. PACKAGE="git" -VERSION="1.7.5.2" +VERSION="1.7.7" CATEGORY="development" SHORT_DESC="Fast version control system" MAINTAINER="b1+slitaz@nagel.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://git.or.cz" +WGET_URL="http://git-core.googlecode.com/files/$TARBALL" +CROSS="bug: can't run test and make package." + DEPENDS="zlib openssl curl expat" BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev tar bzip2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://git.or.cz" -WGET_URL="http://kernel.org/pub/software/scm/git/$TARBALL" # Rules to configure and make the package. compile_rules() @@ -20,15 +22,16 @@ --prefix=/usr \ --libexecdir=/usr/lib/git \ --without-tcltk \ - $CONFIGURE_ARGS && + --build=$HOST_SYSTEM \ + --host=$HOST_SYSTEM && make THREADED_DELTA_SEARCH=1 - make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install + make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs - cp -a $_pkg/usr $fs/ - strip -s $fs/usr/lib/git/git-core/* || true + cp -a $install/usr $fs/ + strip -s $fs/usr/lib/git/git-core/* 2>/dev/null || true }