summaryrefslogtreecommitdiffstats
path: root/extra/gitweb/Pkgfile
blob: e6d1cfe0fd3de8c112edf6ed7a31b3455dff7816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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/

}