forked from ports/contrib
cgit: picked up orphaned port
This commit is contained in:
parent
d8b5c98eff
commit
131ab5b925
15
cgit/Pkgfile
15
cgit/Pkgfile
@ -1,6 +1,7 @@
|
||||
# Description: Git web interface written in C
|
||||
# Description: Git web interface written in C.
|
||||
# URL: http://hjemli.net/git/cgit/
|
||||
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
||||
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||||
# Packager: Lucas Hazel, lucas at die dot net dot au
|
||||
# Depends on: git
|
||||
|
||||
gitversion="1.6.6"
|
||||
@ -12,9 +13,9 @@ 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
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user