aboutsummaryrefslogtreecommitdiffstats
path: root/main/subversion
diff options
context:
space:
mode:
Diffstat (limited to 'main/subversion')
-rw-r--r--main/subversion/APKBUILD23
1 files changed, 19 insertions, 4 deletions
diff --git a/main/subversion/APKBUILD b/main/subversion/APKBUILD
index e88e397686..24bed5fb0e 100644
--- a/main/subversion/APKBUILD
+++ b/main/subversion/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=subversion
pkgver=1.6.17
-pkgrel=1
+pkgrel=2
pkgdesc="Replacement for CVS, another versioning system (svn)"
url="http://subversion.tigris.org/"
arch="all"
license="apache bsd"
depends=
makedepends="apr-dev apr-util-dev expat-dev neon-dev openssl-dev zlib-dev
- e2fsprogs-dev sqlite-dev"
+ e2fsprogs-dev sqlite-dev apache2-dev"
install="$pkgname.pre-install"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs mod_dav_svn"
source="http://subversion.tigris.org/downloads/subversion-$pkgver.tar.bz2
svnserve.confd
svnserve.initd
@@ -21,8 +21,9 @@ build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-nls \
- --without-apxs \
+ --with-apxs \
--disable-javahl \
+ --disable-static \
--without-jdk
make external-all || return 1
@@ -37,6 +38,20 @@ package() {
install -Dm755 "$srcdir"/svnserve.initd "$pkgdir"/etc/init.d/svnserve
install -Dm644 "$srcdir"/svnserve.confd "$pkgdir"/etc/conf.d/svnserve
}
+
+libs() {
+ pkgdesc="Libraries for Subversion Version Control system"
+ replaces="subversion"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.so.* "$subpkgdir"/usr/lib/
+}
+
+mod_dav_svn() {
+ pkgdesc="Apache httpd module for Subversion server"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/apache2 "$subpkgdir"/usr/lib/
+}
+
md5sums="81e5dc5beee4b3fc025ac70c0b6caa14 subversion-1.6.17.tar.bz2
d084a7558053784886bc858b94fa9186 svnserve.confd
22c274fafb4817e31126f60f9d84039f svnserve.initd"