summaryrefslogtreecommitdiffstats
path: root/git/Pkgfile
blob: 5ad2ef0c174b06acc88d15bacbe1d08243fe4f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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.11.1
release=1
source=(http://git-core.googlecode.com/files/$name-{,manpages-}$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--libexecdir=/usr/lib \
		--with-gitconfig=/etc/gitconfig \
		--with-python=/usr/bin/python2
	make
	make DESTDIR=$PKG install

	cd ..
	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
}