summaryrefslogtreecommitdiffstats
path: root/base/git/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:47:17 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:47:17 +0200
commit5c68779840b55e0981d5b92937618b6b700a096e (patch)
tree653bb6e00f1820a4835ffc64648b3acfab51d393 /base/git/Pkgfile
parent0ccf5decafdf0e244cd2d7e7059dab27fbf20c14 (diff)
downloadnutyx-extra-5c68779840b55e0981d5b92937618b6b700a096e.tar.gz
nutyx-extra-5c68779840b55e0981d5b92937618b6b700a096e.tar.bz2
nutyx-extra-5c68779840b55e0981d5b92937618b6b700a096e.tar.xz
nutyx-extra-5c68779840b55e0981d5b92937618b6b700a096e.zip
Ajout de git#1.6.3.3-1
Diffstat (limited to 'base/git/Pkgfile')
-rw-r--r--base/git/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/base/git/Pkgfile b/base/git/Pkgfile
new file mode 100644
index 000000000..21e19ceba
--- /dev/null
+++ b/base/git/Pkgfile
@@ -0,0 +1,35 @@
+# 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
+# Nice to have: tk
+
+name=git
+version=1.6.3.3
+release=1
+source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ sed -i -e '15,16d' -e '18d' 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,}
+}
+