wok diff git/receipt @ rev 4186

slitaz-loram*: pre_install may hang with gnu patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 09:18:25 2009 +0200 (2009-09-23)
parents 381d4c714d7a
children 4767edda18d8
line diff
     1.1 --- a/git/receipt	Tue Dec 09 04:25:26 2008 -0800
     1.2 +++ b/git/receipt	Wed Sep 23 09:18:25 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="git"
     1.7 -VERSION="1.6.0.5"
     1.8 +VERSION="1.6.4.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Fast version control system"
    1.11  MAINTAINER="b1+slitaz@nagel.org"
    1.12 @@ -15,8 +15,13 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1
    1.17 -	make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1 DESTDIR=$PWD/_pkg install
    1.18 +	./configure \
    1.19 +		--prefix=/usr \
    1.20 +		--libexecdir=/usr/lib/git \
    1.21 +		--without-tcltk \
    1.22 +		$CONFIGURE_ARGS &&
    1.23 +	make THREADED_DELTA_SEARCH=1
    1.24 +	make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 @@ -24,5 +29,5 @@
    1.29  {
    1.30  	mkdir -p $fs
    1.31  	cp -a $_pkg/usr $fs/
    1.32 -	strip -s $fs/usr/bin/* $fs/usr/libexec/git-core/* || true
    1.33 +	strip -s $fs/usr/lib/git/git-core/*
    1.34  }