Files
haikuports/dev-vcs/subversion/subversion-1.6.15.recipe

115 lines
3.0 KiB
Plaintext

SUMMARY="Open source version control system"
DESCRIPTION="
Subversion exists to be universally recognized and adopted as an
open-source, centralized version control system characterized by its
reliability as a safe haven for valuable data; the simplicity of its
model and usage; and its ability to support the needs of a wide
variety of users and projects, from individuals to large-scale enterprise
operations.
"
HOMEPAGE="http://subversion.apache.org"
LICENSE="Apache-Subversion"
COPYRIGHT="2010 The Apache Software Foundation"
SRC_URI="http://subversion.tigris.org/downloads/subversion-1.6.15.tar.bz2"
CHECKSUM_MD5="113fca1d9e4aa389d7dc2b210010fa69"
REVISION="5"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="subversion-1.6.15.patch"
PROVIDES="
subversion = $portVersion compat >= 1.6
cmd:svn = $portVersion compat >= 1.6
cmd:svnadmin = $portVersion compat >= 1.6
cmd:svndumpfilter = $portVersion compat >= 1.6
cmd:svnlook = $portVersion compat >= 1.6
cmd:svnserve = $portVersion compat >= 1.6
cmd:svnsync = $portVersion compat >= 1.6
cmd:svnversion = $portVersion compat >= 1.6
lib:libsvn_client_1 = 0.0.0 compat >= 0
lib:libsvn_delta_1 = 0.0.0 compat >= 0
lib:libsvn_diff_1 = 0.0.0 compat >= 0
lib:libsvn_fs_1 = 0.0.0 compat >= 0
lib:libsvn_fs_fs_1 = 0.0.0 compat >= 0
lib:libsvn_fs_util_1 = 0.0.0 compat >= 0
lib:libsvn_ra_1 = 0.0.0 compat >= 0
lib:libsvn_ra_local_1 = 0.0.0 compat >= 0
lib:libsvn_ra_neon_1 = 0.0.0 compat >= 0
lib:libsvn_ra_svn_1 = 0.0.0 compat >= 0
lib:libsvn_repos_1 = 0.0.0 compat >= 0
lib:libsvn_subr_1 = 0.0.0 compat >= 0
lib:libsvn_wc_1 = 0.0.0 compat >= 0
"
REQUIRES="
haiku >= $haikuVersion
apr >= 1.3
apr_util >= 1.3
expat >= 2.0
libiconv >= 1.13
libxml2 >= 2.7
neon >= 0.29
sqlite >= 3.4
zlib
"
BUILD_REQUIRES="
$REQUIRES
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
SOURCE_DIR="$portVersionedName"
BUILD()
{
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autoconf
runConfigure ./configure \
--with-apr=$portPackageLinksDir/apr \
--with-apr-util=$portPackageLinksDir/apr_util \
--with-neon=$portPackageLinksDir/neon \
--with-zlib=$portPackageLinksDir/zlib \
--with-editor=nano \
--disable-nls
make $jobArgs
}
INSTALL()
{
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
prepareInstalledDevelLibs \
libsvn_client-1 \
libsvn_delta-1 \
libsvn_diff-1 \
libsvn_fs-1 \
libsvn_fs_fs-1 \
libsvn_fs_util-1 \
libsvn_ra-1 \
libsvn_ra_local-1 \
libsvn_ra_neon-1 \
libsvn_ra_svn-1 \
libsvn_repos-1 \
libsvn_subr-1 \
libsvn_wc-1
}