forked from ports/contrib
21 lines
552 B
Plaintext
21 lines
552 B
Plaintext
# Description: Git web interface written in C
|
|
# URL: http://hjemli.net/git/cgit/
|
|
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
|
# Depends on: git
|
|
|
|
gitversion="`prt-get printf %v --filter=git`"
|
|
|
|
name=cgit
|
|
version=0.8.2.1
|
|
release=1
|
|
source=(http://hjemli.net/git/cgit/snapshot/$name-$version.tar.bz2
|
|
http://www.kernel.org/pub/software/scm/git/git-$gitversion.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
rm -rf git
|
|
ln -s $SRC/git-$gitversion git
|
|
sed "s/GIT_VER = .*/GIT_VER = $gitversion/" -i Makefile
|
|
make DESTDIR=$PKG install
|
|
}
|