Add my swig kludge from subversion-1.6.9.bep to subversion-1.6.15.bep

This commit is contained in:
Chris Roberts
2011-05-14 19:30:54 +00:00
parent b836d52673
commit ef385a6faf

View File

@@ -2,7 +2,7 @@ DESCRIPTION="Subversion is an open source version control system"
HOMEPAGE="http://subversion.apache.org"
SRC_URI="http://subversion.tigris.org/downloads/subversion-1.6.15.tar.bz2"
CHECKSUM_MD5="113fca1d9e4aa389d7dc2b210010fa69"
REVISION="1"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
@@ -24,6 +24,18 @@ BUILD {
INSTALL {
cd subversion-1.6.15
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
}
TEST {