aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorMauro Giachero <mauro dot giachero at gmail dot com>2010-05-12 17:38:58 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:38:58 +0200
commit2dde17da961329d3d10726cb8d59baab12de5c66 (patch)
tree1e98b3537a2bbecfe94fe06ae201846c12b11d5b /development
parent9bfdc6ff931aff70d0c820c54350bf0690a98945 (diff)
development/subversion-bindings: Updated for version 1.5.4
Diffstat (limited to 'development')
-rw-r--r--development/subversion-bindings/slack-desc2
-rw-r--r--development/subversion-bindings/subversion-bindings.SlackBuild9
-rw-r--r--development/subversion-bindings/subversion-bindings.info6
3 files changed, 11 insertions, 6 deletions
diff --git a/development/subversion-bindings/slack-desc b/development/subversion-bindings/slack-desc
index e8d538cb109c..482371c0706e 100644
--- a/development/subversion-bindings/slack-desc
+++ b/development/subversion-bindings/slack-desc
@@ -6,7 +6,7 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------|
-subversion-bindings: Language bindings for Subversion
+subversion-bindings: subversion-bindings (Language bindings for Subversion)
subversion-bindings:
subversion-bindings: Subversion is a version control system which allows you to
subversion-bindings: keep old versions of files and directories and keep a log
diff --git a/development/subversion-bindings/subversion-bindings.SlackBuild b/development/subversion-bindings/subversion-bindings.SlackBuild
index cad138c3b024..58df2ef91652 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
diff --git a/development/subversion-bindings/subversion-bindings.info b/development/subversion-bindings/subversion-bindings.info
index 4baaeaaf8b97..59307e32e74b 100644
--- a/development/subversion-bindings/subversion-bindings.info
+++ b/development/subversion-bindings/subversion-bindings.info
@@ -1,8 +1,8 @@
PRGNAM="subversion-bindings"
-VERSION="1.4.6"
+VERSION="1.5.4"
HOMEPAGE="http://subversion.tigris.org"
-DOWNLOAD="ftp://mirror.switch.ch/mirror/slackware/slackware-12.1/source/d/subversion/subversion-1.4.6.tar.bz2"
-MD5SUM="9c7cf517362c1c9332b610339e5cce6b"
+DOWNLOAD="http://slackware.osuosl.org/slackware-12.2/source/d/subversion/subversion-1.5.4.tar.bz2"
+MD5SUM="037d1ed7a313631d50defdc3cf727415"
MAINTAINER="Mauro Giachero"
EMAIL="mauro dot giachero at gmail dot com"
APPROVED="rworkman"