Files
haikuports/dev-util/subversion/subversion-1.6.9.bep
Chris Roberts 6983e75f40 Update the subversion-1.6.9 bep file with some basic logic to install bindings if swig is available.
Perl and Ruby are disabled because they cause compiler crashes and build errors.
Switched the default commit editor to nano since lpe is not guaranteed to be installed.
2010-04-23 06:25:07 +00:00

33 lines
1.0 KiB
Plaintext

DESCRIPTION="Subversion is an open source version control system"
HOMEPAGE="http://subversion.tigris.org"
SRC_URI="http://subversion.tigris.org/downloads/subversion-1.6.9.tar.gz"
CHECKSUM_MD5="facaa0ee78c8f24b9af12c74662bbd24"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd subversion-1.6.9
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autogen.sh
./configure --prefix=/boot/common --with-apr=/boot/common/bin/apr-1-config --with-apr-util=/boot/common/bin/apu-1-config --with-neon=/boot/common --with-editor=nano --with-zlib=/boot/common
make
}
INSTALL {
cd subversion-1.6.9
make install
if type -p swig > /dev/null;then
if type -p python > /dev/null;then
PYTHON_PKGDIR=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
make install-swig-py swig_pydir=${PYTHON_PKGDIR}/libsvn swig_pydir_extra=${PYTHON_PKGDIR}/svn
fi
#if type -p perl > /dev/null;then
# make install-swig-pl
#fi
#if type -p ruby > /dev/null;then
# make install-swig-rb
#fi
fi
}