diff options
Diffstat (limited to 'extra/subversion/PKGBUILD')
-rw-r--r-- | extra/subversion/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD index 630097a0d..f788f2d4a 100644 --- a/extra/subversion/PKGBUILD +++ b/extra/subversion/PKGBUILD @@ -8,12 +8,13 @@ pkgname=subversion pkgver=1.8.3 pkgrel=1 pkgdesc="A Modern Concurrent Version Control System" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://subversion.apache.org/" license=('APACHE') depends=('sqlite' 'file' 'serf' 'systemd') -makedepends=('apache' 'python2' 'perl' 'swig' 'java-runtime' 'java-environment' +makedepends=('apache' 'python2' 'perl' 'swig' 'libgnome-keyring' 'kdelibs' 'ruby') +[ "$CARCH" != "mips64el" ] && makedepends+=('java-runtime' 'java-environment') optdepends=('libgnome-keyring: for GNOME Keyring for auth credentials' 'kdeutils-kwallet: for KWallet for auth credentials' 'bash-completion: for svn bash completion' @@ -47,17 +48,20 @@ prepare() { build() { cd ${pkgname}-${pkgver} export PYTHON=/usr/bin/python2 + [ "$CARCH" = "mips64el" ] && extraconf="--disable-javahl" ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \ --with-zlib=/usr --with-serf=/usr --with-apxs \ --with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.3 \ --enable-javahl --with-gnome-keyring --with-kwallet \ --with-apache-libexecdir=/usr/lib/httpd/modules \ --with-ruby-sitedir=/usr/lib/ruby/vendor_ruby \ - --disable-static + --disable-static $extraconf make LT_LDFLAGS="-L$Fdestdir/usr/lib" make swig_pydir=/usr/lib/python2.7/site-packages/libsvn \ - swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py swig-pl javahl swig-rb + swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py swig-pl swig-rb + + [ "$CARCH" = "mips64el" ] || make javahl } #check() { @@ -73,7 +77,9 @@ package() { make DESTDIR="${pkgdir}" INSTALLDIRS=vendor \ swig_pydir=/usr/lib/python2.7/site-packages/libsvn \ swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \ - install install-swig-py install-swig-pl install-javahl install-swig-rb + install install-swig-py install-swig-pl install-swig-rb + + [ "$CARCH" = "mips64el" ] || make install-javahl install -dm755 "${pkgdir}"/usr/share/subversion cp -a tools/hook-scripts "${pkgdir}"/usr/share/subversion/ |