summaryrefslogtreecommitdiff
path: root/extra/subversion/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/subversion/PKGBUILD')
-rw-r--r--extra/subversion/PKGBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
index ca0b82db5..d9c01b475 100644
--- a/extra/subversion/PKGBUILD
+++ b/extra/subversion/PKGBUILD
@@ -6,13 +6,16 @@ pkgname=subversion
pkgver=1.7.4
pkgrel=1
pkgdesc="A Modern Concurrent Version Control System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
depends=('neon' 'apr-util' 'sqlite3' 'file')
optdepends=('libgnome-keyring' 'kdeutils-kwallet' 'bash-completion: for svn bash completion' \
'python2: for some hook scripts' 'ruby: for some hook scripts')
makedepends=('krb5' 'apache' 'python2' 'perl' 'swig' 'java-runtime' 'java-environment'
'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('krb5' 'apache' 'python2' 'perl' 'swig'
+ 'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.apache.org/"
provides=('svn')
@@ -33,10 +36,19 @@ build() {
patch -p0 -i ../subversion.rpath.fix.patch
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/hook-scripts/{,mailer/{,tests/}}*.py
+ # configure
+ autoreconf
+ if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
+ --with-zlib=/usr --with-neon=/usr --with-apxs \
+ --with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.2 \
+ --with-gnome-keyring --with-kwallet
+ else
./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
--with-zlib=/usr --with-neon=/usr --with-apxs \
--with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.3 \
--enable-javahl --with-gnome-keyring --with-kwallet
+ fi
make external-all
make LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all