aboutsummaryrefslogtreecommitdiffstats
path: root/main/subversion/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-15 08:55:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-15 08:59:29 +0000
commitce179079e070d32ed1012085dcb20d28ced286e8 (patch)
tree0393cb3ecc075a4cda584e5b16b7402c34564e59 /main/subversion/APKBUILD
parent4bea2dd3f298582162c0e0d4446280dcd50a96cd (diff)
downloadaports-ce179079e070d32ed1012085dcb20d28ced286e8.tar.bz2
aports-ce179079e070d32ed1012085dcb20d28ced286e8.tar.xz
main/subversion: build mod_dav_svn and split libs to subpkg
Diffstat (limited to 'main/subversion/APKBUILD')
-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"