blob: 7567652841cca3d2d7a9e3a81611e1316b595636 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
pkgname=cgit
pkgver=0.8.2
_gitver=1.6.1.1
pkgdesc="a fast webinterface for git"
url="http://hjemli.net/git/cgit"
license=GPL-2
makedepends="openssl-dev zlib-dev"
depends="uclibc openssl zlib"
source="
http://hjemli.net/git/cgit/snapshot/$pkgname-$pkgver.tar.gz
http://www.kernel.org/pub/software/scm/git/git-$_gitver.tar.bz2
"
build() {
local makeopts="NO_ICONV=YesPlease NO_CURL=YesPlease"
cd "$srcdir/$pkgname-$pkgver"
rm -rf git
ln -s ../git-$_gitver git
make $makeopts || return 1
make $makeopts DESTDIR="$pkgdir" \
CGIT_SCRIPT_PATH=/usr/share/webapps/cgit \
install
ln -s cgit.cgi "$pkgdir"/usr/share/webapps/cgit/cgit
}
md5sums="6887c96f51c7f3bb2b9c8f6c6b0378f5 cgit-0.8.2.tar.gz
d2b6925cb03e1e33911fdf9392946747 git-1.6.1.1.tar.bz2"
|