# Description: Gestionnaire de revision de dossiers # URL: http://git-scm.com/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: curl, libidn, libldap, expat # Run on: curl,libidn,expat name=git version=1.7.7.1 release=1 source=(http://git-core.googlecode.com/files/$name-{,manpages-}$version.tar.gz) build() { export PYTHON_PATH='/usr/bin/python2' cd $name-$version sed -i -e '23,24d' -e '26d' perl/Makefile.PL make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \ DESTDIR=$PKG install cd $SRC for i in man*; do install -d $PKG/usr/share/man/$i install -m 644 $i/* $PKG/usr/share/man/$i; done find $PKG -name perllocal.pod -delete find $PKG -name .packlist -delete rm -rf $PKG/usr/share/gitk/lib/msgs rmdir $PKG/usr/share/gitk/{lib,} }