# Description: A version control system (CVS replacement)
# URL: http://subversion.apache.org
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: milisarge@gmail.com
# Depends on: apr serf expat sqlite3

name=subversion
version=1.9.3
release=1
source=(http://www.apache.org/dist/$name/$name-$version.tar.bz2)

build() {
    cd $name-$version

    ./configure --prefix=/usr \
                --with-apr=/usr \
                --with-apr-util=/usr \
                --without-swig \
                --without-apxs \
                --disable-mod-activation \
                --disable-nls

    make
    make -j1 DESTDIR=$PKG install

    # info pages seem to get generated when makeinfo is available
    rm -rf $PKG/usr/info
}
