2008-04-10 16:13:45 +02:00
|
|
|
# Description: Python bindings for subversion
|
|
|
|
# URL: http://subversion.tigris.org
|
2009-05-12 08:50:27 +00: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 09:01:22 +10:00
|
|
|
|
|
|
|
name=subversion-python
|
2014-05-13 16:50:52 +02:00
|
|
|
version=1.8.9
|
2006-11-14 09:01:22 +10:00
|
|
|
release=1
|
2012-10-22 16:19:48 +02:00
|
|
|
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
2006-11-16 02:47:42 +10:00
|
|
|
|
|
|
|
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2008-04-10 16:13:45 +02:00
|
|
|
cd subversion-$version
|
|
|
|
|
|
|
|
LDFLAGS="-L$PKG/usr/lib" \
|
2014-03-27 17:05:24 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-mod-activation \
|
|
|
|
--with-apr=/usr \
|
|
|
|
--with-apr-util=/usr
|
2006-11-14 09:01:22 +10: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 09:01:22 +10:00
|
|
|
}
|