# Description: Git web interface written in C. # URL: http://hjemli.net/git/cgit/ # Maintainer: Danny Rawlins, crux at romster dot me # Packager: Lucas Hazel, lucas at die dot net dot au # Depends on: git asciidoc name=cgit version=0.9.0.3 gitversion=1.7.4.5 release=1 source=(http://hjemli.net/git/cgit/snapshot/$name-$version.tar.bz2 http://hjemli.net/git/git/snapshot/git-$gitversion.tar.bz2 cgit.conf) build() { cd $name-$version rm -rf git ln -s $SRC/git-$gitversion git sed -i \ -e "s/GIT_VER = .*/GIT_VER = $gitversion/" \ -e '/^mandir = $(prefix)/s|/share/man|/man|' Makefile make make DESTDIR=$PKG install install-man install -D -m 0640 $SRC/cgit.conf $PKG/etc/apache/extra/cgit.conf install -d -m 0750 $PKG/var/cache/cgit }