aboutsummaryrefslogtreecommitdiffstats
path: root/main/subversion/APKBUILD
blob: e00a6b1ebc05b965ad1a458ca796728fdb3984f1 (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
28
29
30
31
32
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=subversion
pkgver=1.6.5
pkgrel=1
pkgdesc="Replacement for CVS, another versioning system (svn)"
url="http://subversion.tigris.org/"
license="apache bsd"
depends=
makedepends="apr-dev apr-util-dev expat-dev neon-dev openssl-dev zlib-dev
	e2fsprogs-dev sqlite-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://subversion.tigris.org/downloads/subversion-$pkgver.tar.bz2
	svnserve.confd
	svnserve.initd
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--disable-nls \
		--without-apxs \
		--disable-javahl \
		--without-jdk 

	make external-all || return 1
	make local-all || return 1
	make -j1 DESTDIR="$pkgdir" install || return 1

	install -Dm755 "$srcdir"/svnserve.initd "$pkgdir"/etc/init.d/svnserve
	install -Dm644 "$srcdir"/svnserve.confd "$pkgdir"/etc/conf.d/svnserve
}
md5sums="1a53a0e72bee0bf814f4da83a9b6a636  subversion-1.6.5.tar.bz2
d084a7558053784886bc858b94fa9186  svnserve.confd
22c274fafb4817e31126f60f9d84039f  svnserve.initd"