CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nano: initial import (verified compilation).
[attic/ports/opt-cross.git] / git / Pkgfile
index 91386091485b3cffc6e8efdfedf36ea124a43c97..bfdbc950562e9c5df3f239370497e4ad64689631 100644 (file)
@@ -1,12 +1,12 @@
 # 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.5.5
+version=1.7.0
 release=1
 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
 
@@ -15,9 +15,11 @@ build() {
 
   # 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 CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
+  make CC="$CC" CFLAGS="$CFLAGS -I$CLFS/usr/include" \
+       prefix=/usr gitexecdir=/usr/lib/git-core \
        DESTDIR=$PKG install
 
   cd $SRC