summaryrefslogtreecommitdiffstats
path: root/extra/git/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:28:29 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:28:29 +0100
commitedeb3319382cde1829dc7b4008b5d8950563b07b (patch)
treea1bc6ac4955075f97c1d2acd520ac48821c9efcb /extra/git/Pkgfile
parent5bda4eb89f48edc0223374a6186eb68e852c4509 (diff)
downloadnutyx-pakxe-edeb3319382cde1829dc7b4008b5d8950563b07b.tar.gz
nutyx-pakxe-edeb3319382cde1829dc7b4008b5d8950563b07b.tar.bz2
nutyx-pakxe-edeb3319382cde1829dc7b4008b5d8950563b07b.tar.xz
nutyx-pakxe-edeb3319382cde1829dc7b4008b5d8950563b07b.zip
git, déplacé dans extra
Diffstat (limited to 'extra/git/Pkgfile')
-rw-r--r--extra/git/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/git/Pkgfile b/extra/git/Pkgfile
new file mode 100644
index 000000000..b25f2bb06
--- /dev/null
+++ b/extra/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.5.6
+release=1
+source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
+
+build() {
+ 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,}
+}
+