aboutsummaryrefslogtreecommitdiff
path: root/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xmlrpc-c/xmlrpc-c.SlackBuild')
-rw-r--r--libraries/xmlrpc-c/xmlrpc-c.SlackBuild13
1 files changed, 8 insertions, 5 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