aboutsummaryrefslogtreecommitdiff
path: root/libraries/xmlrpc-c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xmlrpc-c')
-rw-r--r--libraries/xmlrpc-c/xmlrpc-c.SlackBuild13
-rw-r--r--libraries/xmlrpc-c/xmlrpc-c.info6
2 files changed, 11 insertions, 8 deletions
diff --git a/libraries/xmlrpc-c/xmlrpc-c.SlackBuild b/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
index 6833848ec34ed..9d08be467ca03 100644
--- a/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
+++ b/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xmlrpc-c
-# Copyright 2010, 2012, 2015 Mario Preksavec, Zagreb, HR
+# Copyright 2010, 2012, 2015 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmlrpc-c
-VERSION=${VERSION:-20120215}
+VERSION=${VERSION:-1.33.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,8 +60,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -82,11 +82,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Remove empty man dir
+rm -rf $PKG/usr/man
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README doc examples $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README doc/* examples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/xmlrpc-c/xmlrpc-c.info b/libraries/xmlrpc-c/xmlrpc-c.info
index 6731b508c8ccc..6fdd7da0c9ce9 100644
--- a/libraries/xmlrpc-c/xmlrpc-c.info
+++ b/libraries/xmlrpc-c/xmlrpc-c.info
@@ -1,8 +1,8 @@
PRGNAM="xmlrpc-c"
-VERSION="20120215"
+VERSION="1.33.16"
HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
-DOWNLOAD="http://mirror.slackware.hr/sources/xmlrpc-c/xmlrpc-c-20120215.tar.bz2"
-MD5SUM="7a8bcc9c1b6480f085c474a675cc406d"
+DOWNLOAD="http://downloads.sourceforge.net/xmlrpc-c/xmlrpc-c-1.33.16.tgz"
+MD5SUM="44eb349a0b740792c0e7c04dc565dfe1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""