Commit 994346a2 authored by Leo's avatar Leo Committed by Natanael Copa

main/subversion: add -openrc subpkg, fix pkgconfig paths

parent 22b54ec2
......@@ -2,18 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=subversion
pkgver=1.12.0
pkgrel=0
pkgrel=1
pkgdesc="Replacement for CVS, another versioning system (svn)"
url="https://subversion.apache.org/"
arch="all"
license="Apache-2.0 BSD"
depends=
makedepends="apache2-dev apr-util-dev autoconf automake e2fsprogs-dev libtool
lz4-dev neon-dev perl-dev python2-dev serf-dev swig"
lz4-dev neon-dev perl-dev python2-dev serf-dev swig boost-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc mod_dav_svn
$pkgname-bash-completion:bashcomp:noarch
perl-$pkgname:pl py-$pkgname:py $pkgname-libs"
perl-$pkgname:pl py-$pkgname:py $pkgname-libs
$pkgname-openrc"
source="https://archive.apache.org/dist/subversion/$pkgname-$pkgver.tar.bz2
subversion-1.7.0-deplibs.patch
subversion-perl-deplibs.patch
......@@ -77,6 +77,9 @@ package() {
install -Dm755 "$srcdir"/svnserve.initd "$pkgdir"/etc/init.d/svnserve
install -Dm644 "$srcdir"/svnserve.confd "$pkgdir"/etc/conf.d/svnserve
mkdir -p "pkgdir"/usr/lib
mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib
}
mod_dav_svn() {
......@@ -108,7 +111,7 @@ py() {
pkgdesc="Python bindings to $pkgname"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/lib*swig*py* "$subpkgdir"/usr/lib/
pypath=`python2 -c 'import os; print os.path.dirname(os.__file__)'`
pypath=$(python2 -c 'import os; print os.path.dirname(os.__file__)')
mv "$pkgdir"/usr/lib/*py* "${subpkgdir}${pypath}"
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment