2008-04-10 16:13:45 +02:00
|
|
|
# Description: Python bindings for subversion
|
|
|
|
# URL: http://subversion.tigris.org
|
2009-05-12 10:50:27 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2008-04-10 16:13:45 +02:00
|
|
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
|
|
|
# Depends on: subversion swig
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
name=subversion-python
|
2013-05-16 12:53:08 +02:00
|
|
|
version=1.7.9
|
2006-11-14 00:01:22 +01:00
|
|
|
release=1
|
2012-10-22 16:19:48 +02:00
|
|
|
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
2006-11-15 17:47:42 +01:00
|
|
|
|
|
|
|
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
build() {
|
2008-04-10 16:13:45 +02:00
|
|
|
cd subversion-$version
|
|
|
|
|
|
|
|
LDFLAGS="-L$PKG/usr/lib" \
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--with-neon=/usr \
|
|
|
|
--disable-mod-activation \
|
|
|
|
--with-apr=/usr \
|
|
|
|
--with-apr-util=/usr
|
2006-11-14 00:01:22 +01:00
|
|
|
|
2008-04-10 16:13:45 +02:00
|
|
|
make DESTDIR=$PKG install-swig-py-lib install-swig-py
|
|
|
|
|
|
|
|
install -d $PKG/usr/lib/python$PYTHONVERSION/site-packages
|
|
|
|
|
|
|
|
mv $PKG/usr/lib/svn-python/{svn,libsvn} \
|
|
|
|
$PKG/usr/lib/python$PYTHONVERSION/site-packages
|
|
|
|
|
|
|
|
rm -r $PKG/usr/lib/svn-python
|
2006-11-14 00:01:22 +01:00
|
|
|
}
|