summaryrefslogtreecommitdiffstats
path: root/extra/gitweb/Pkgfile
blob: 0b69f01c9f0af2bdd3d2c3bf964f05e8783d61d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Interface web pour git
# URL: http://git.or.cz/
# Maintainer: NutyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: git

name=gitweb
version=1.6.2.4
release=1
source=(http://www.kernel.org/pub/software/scm/git/git-$version.tar.bz2)



build() {
	cd git-$version
	./configure --prefix=/usr
	make CFLAGS="$CFLAGS" gitweb/gitweb.cgi
	mkdir -p $PKG/srv/www/cgi-bin
	cp gitweb/git* $PKG/srv/www/cgi-bin/

}