2008-04-10 16:13:45 +02:00
|
|
|
# Description: Python bindings for subversion
|
2018-12-23 07:08:58 -05:00
|
|
|
# URL: https://subversion.apache.org
|
2018-02-17 11:07:52 -05:00
|
|
|
# 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
|
2019-08-30 10:30:26 -04:00
|
|
|
version=1.12.2
|
2006-11-14 09:01:22 +10:00
|
|
|
release=1
|
2019-08-01 17:11:42 -04:00
|
|
|
source=(https://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-mod-activation \
|
2019-08-30 10:30:26 -04:00
|
|
|
--disable-nls \
|
|
|
|
--disable-static \
|
|
|
|
--with-lz4=internal \
|
|
|
|
--with-utf8proc=internal
|
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
|
|
|
}
|