2008-04-10 16:13:45 +02:00
|
|
|
# Description: Python bindings for subversion
|
2018-02-17 11:07:52 -05:00
|
|
|
# URL: http://subversion.apache.org
|
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
|
|
# Depends on: subversion swig
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=subversion-python
|
2018-02-17 11:07:52 -05:00
|
|
|
version=1.9.7
|
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
|
|
|
|
2006-11-14 09:01:22 +10:00
|
|
|
build() {
|
2018-02-17 11:07:52 -05:00
|
|
|
PYTHONVERSION=$(python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);")
|
|
|
|
|
|
|
|
cd subversion-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-mod-activation \
|
|
|
|
--with-apr=/usr \
|
|
|
|
--with-apr-util=/usr
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2018-02-17 11:07:52 -05:00
|
|
|
make DESTDIR=$PKG install-swig-py-lib install-swig-py \
|
|
|
|
swig_pydir=/usr/lib/python$PYTHONVERSION/site-packages/libsvn \
|
|
|
|
swig_pydir_extra=/usr/lib/python$PYTHONVERSION/site-packages/svn
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|