summaryrefslogtreecommitdiff
path: root/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-02-26 00:13:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-28 11:37:13 +0700
commit6941089310a156d5276e70695113f66ed075a7d3 (patch)
tree175c64039d5751403e22f48c64cc9876bb5c2e3d /libraries/xmlrpc-c/xmlrpc-c.SlackBuild
parent1807d013917bf682c01b585b414d4f7f07e70e0d (diff)
downloadslackbuilds-6941089310a156d5276e70695113f66ed075a7d3.tar.gz
libraries/xmlrpc-c: Updated for version 1.33.16.
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 6833848ec3..9d08be467c 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