# Description: Directory content manager
# URL: http://www.kernel.org/pub/software/scm/git/docs
# Maintainer: Tilman Sauerbeck tilman at crux dot nu
-# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer System Team devel at crux-arm dot nu
# Depends on: expat curl
# Nice to have: tk
name=git
-version=1.6.6.1
+version=1.7.0
release=1
source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
# install Error.pm. this pretty much sucks but i'm too lazy to
# investigate whether there's a better way.
- sed -i -e '23,24d' -e '26d' perl/Makefile.PL
+ sed -i perl/Makefile.PL -e '23,24d' -e '26d'
+ sed -i Makefile -e 's|CFLAGS =|CFLAGS :=|'
make CC="$CC" CFLAGS="$CFLAGS -I$CLFS/usr/include" \
prefix=/usr gitexecdir=/usr/lib/git-core \
- DESTDIR=$PKG install
+ DESTDIR=$PKG install
cd $SRC