aboutsummaryrefslogtreecommitdiffstats
path: root/main/cgit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-19 10:44:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-19 10:45:23 +0000
commit21d38433cdd892ec1b542df063fb34b3d5334343 (patch)
tree232b1832a14378ab0340ce7d14d7dbbee4ab1538 /main/cgit/APKBUILD
parentaeaaba769002fb12aa666943361914355282cb8d (diff)
downloadaports-21d38433cdd892ec1b542df063fb34b3d5334343.tar.bz2
aports-21d38433cdd892ec1b542df063fb34b3d5334343.tar.xz
main/cgit: upgrade to 0.8.3
Diffstat (limited to 'main/cgit/APKBUILD')
-rw-r--r--main/cgit/APKBUILD28
1 files changed, 18 insertions, 10 deletions
diff --git a/main/cgit/APKBUILD b/main/cgit/APKBUILD
index d7578539c8..9ff6746257 100644
--- a/main/cgit/APKBUILD
+++ b/main/cgit/APKBUILD
@@ -1,29 +1,37 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cgit
-pkgver=0.8.2.1
-pkgrel=1
-_gitver=1.6.2.4
+pkgver=0.8.3
+pkgrel=0
+_gitver=1.6.4.3
pkgdesc="a fast webinterface for git"
url="http://hjemli.net/git/cgit"
license=GPL-2
makedepends="openssl-dev zlib-dev"
-depends="uclibc openssl zlib"
+depends=
source="
- http://hjemli.net/git/cgit/snapshot/$pkgname-$pkgver.tar.gz
+ http://hjemli.net/git/cgit/snapshot/$pkgname-$pkgver.tar.bz2
http://www.kernel.org/pub/software/scm/git/git-$_gitver.tar.bz2
"
+_makeopts="NO_ICONV=YesPlease
+ NO_NSEC=YesPlease
+ NO_TCLTK=YesPlease
+ NO_SVN_TESTS=YesPlease"
+
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" \
+ make $_makeopts
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make $_makeopts DESTDIR="$pkgdir" \
CGIT_SCRIPT_PATH=/usr/share/webapps/cgit \
install
ln -s cgit.cgi "$pkgdir"/usr/share/webapps/cgit/cgit
}
-md5sums="12f5468a948be40c275445253e73d309 cgit-0.8.2.1.tar.gz
-c24d796879bb09e1cc5545bf3a3d7cf6 git-1.6.2.4.tar.bz2"
+md5sums="38477bd00d3901a82fcf47e3b30d174f cgit-0.8.3.tar.bz2
+4af70ff9b8f209704059f7ef96127236 git-1.6.4.3.tar.bz2"