diff options
author | Mauro Giachero <mauro dot giachero at gmail dot com> | 2010-05-12 17:38:58 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:38:58 +0200 |
commit | 2dde17da961329d3d10726cb8d59baab12de5c66 (patch) | |
tree | 1e98b3537a2bbecfe94fe06ae201846c12b11d5b /development/subversion-bindings/subversion-bindings.SlackBuild | |
parent | 9bfdc6ff931aff70d0c820c54350bf0690a98945 (diff) |
development/subversion-bindings: Updated for version 1.5.4
Diffstat (limited to 'development/subversion-bindings/subversion-bindings.SlackBuild')
-rw-r--r-- | development/subversion-bindings/subversion-bindings.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/development/subversion-bindings/subversion-bindings.SlackBuild b/development/subversion-bindings/subversion-bindings.SlackBuild index cad138c3b0247..58df2ef916525 100644 --- a/development/subversion-bindings/subversion-bindings.SlackBuild +++ b/development/subversion-bindings/subversion-bindings.SlackBuild @@ -31,7 +31,7 @@ SRCNAM=subversion PRGNAM=subversion-bindings -VERSION=${VERSION:-1.4.6} +VERSION=${VERSION:-1.5.4} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,7 +64,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# This should work both with Subversion 1.4.6 (S12.1) and 1.5.4 (-current, as of now) CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -84,6 +83,12 @@ CFLAGS="$SLKCFLAGS" \ make swig-py make install-swig-py DESTDIR=$PKG +# Move Python bindings to system-wide site-packages +PY_VER=$(python -c 'import sys; print "%d.%d" % sys.version_info[:2]') +mkdir -p $PKG/usr/lib/python$PY_VER/site-packages +mv $PKG/usr/lib/svn-python/* $PKG/usr/lib/python$PY_VER/site-packages +rmdir $PKG/usr/lib/svn-python + # Perl bindings make swig-pl make install-swig-pl DESTDIR=$PKG |