2010-12-15 00:20:47 +11:00
|
|
|
# Description: Git web interface written in C.
|
2009-01-29 15:56:35 +11:00
|
|
|
# URL: http://hjemli.net/git/cgit/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2010-12-15 00:20:47 +11:00
|
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
2010-12-16 01:53:13 +11:00
|
|
|
# Depends on: git asciidoc
|
2009-01-29 15:56:35 +11:00
|
|
|
|
|
|
|
name=cgit
|
2012-06-09 12:48:06 +10:00
|
|
|
version=0.9.0.3
|
|
|
|
gitversion=1.7.4.5
|
2009-01-29 15:56:35 +11:00
|
|
|
release=1
|
2009-02-13 13:17:09 +11:00
|
|
|
source=(http://hjemli.net/git/cgit/snapshot/$name-$version.tar.bz2
|
2012-03-11 21:46:38 +11:00
|
|
|
http://hjemli.net/git/git/snapshot/git-$gitversion.tar.bz2
|
2010-12-16 01:53:13 +11:00
|
|
|
cgit.conf)
|
2009-01-29 15:56:35 +11:00
|
|
|
|
|
|
|
build() {
|
2010-12-15 00:20:47 +11:00
|
|
|
cd $name-$version
|
2010-12-16 01:53:13 +11:00
|
|
|
|
2010-12-15 00:20:47 +11:00
|
|
|
rm -rf git
|
|
|
|
ln -s $SRC/git-$gitversion git
|
2010-12-16 01:53:13 +11:00
|
|
|
|
2011-05-12 18:21:08 +10:00
|
|
|
sed -i \
|
|
|
|
-e "s/GIT_VER = .*/GIT_VER = $gitversion/" \
|
|
|
|
-e '/^mandir = $(prefix)/s|/share/man|/man|' Makefile
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install install-man
|
2010-12-16 01:53:13 +11:00
|
|
|
|
|
|
|
install -D -m 0640 $SRC/cgit.conf $PKG/etc/apache/extra/cgit.conf
|
|
|
|
install -d -m 0750 $PKG/var/cache/cgit
|
2009-01-29 15:56:35 +11:00
|
|
|
}
|