forked from ports/contrib
34 lines
981 B
Plaintext
34 lines
981 B
Plaintext
# Description: Python bindings for subversion
|
|
# URL: http://subversion.tigris.org
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
|
# Depends on: subversion swig
|
|
|
|
name=subversion-python
|
|
version=1.8.4
|
|
release=1
|
|
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
|
|
|
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
|
|
|
build() {
|
|
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
|
|
|
|
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
|
|
}
|