blob: 1e9f4122be33d284466c51e1b336c2dc36d46ecd (
plain)
1 # Description: Python bindings for subversion
2 # URL: http://subversion.tigris.org
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Johannes Winkelmann, jw at tks6 dot net
5 # Depends on: subversion swig
6
7 name=subversion-python
8 version=1.7.5
9 release=1
10 source=(http://subversion.tigris.org/tarballs/subversion-$version.tar.bz2)
11
12 PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
13
14 build() {
15 cd subversion-$version
16
17 LDFLAGS="-L$PKG/usr/lib" \
18 ./configure --prefix=/usr \
19 --disable-nls \
20 --with-neon=/usr \
21 --disable-mod-activation \
22 --with-apr=/usr \
23 --with-apr-util=/usr
24
25 make DESTDIR=$PKG install-swig-py-lib install-swig-py
26
27 install -d $PKG/usr/lib/python$PYTHONVERSION/site-packages
28
29 mv $PKG/usr/lib/svn-python/{svn,libsvn} \
30 $PKG/usr/lib/python$PYTHONVERSION/site-packages
31
32 rm -r $PKG/usr/lib/svn-python
33 }
|