aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2016-08-10 11:19:26 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:36 +0700
commite346a596869cea38ac3276507cdc0c98b3ce80de (patch)
tree3e6cc913e92e2e30f128495b6c6ef49180f76e16 /libraries
parented8b0ff46b88620e455f87a75ee6f438e4f3ba57 (diff)
libraries/tinyxml2: Updated for version 4.0.1.
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/tinyxml2/tinyxml2.SlackBuild13
-rw-r--r--libraries/tinyxml2/tinyxml2.info6
2 files changed, 13 insertions, 6 deletions
diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild
index 9a4463fa23a7..ab8f6d85c661 100644
--- a/libraries/tinyxml2/tinyxml2.SlackBuild
+++ b/libraries/tinyxml2/tinyxml2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tinyxml2
-# Copyright 2014-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
# 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=tinyxml2
-VERSION=${VERSION:-3.0.0}
+VERSION=${VERSION:-4.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 2>/dev/null || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix end-of-inline encoding.
+for i in *.cpp *.h; do
+ sed -e 's/\r//' $i > ${i}.new
+ touch -r $i ${i}.new
+ mv ${i}.new $i
+done
+
mkdir build
cd build
cmake -G "Unix Makefiles" \
diff --git a/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info
index e1ef48b813c1..9ca6b6596437 100644
--- a/libraries/tinyxml2/tinyxml2.info
+++ b/libraries/tinyxml2/tinyxml2.info
@@ -1,8 +1,8 @@
PRGNAM="tinyxml2"
-VERSION="3.0.0"
+VERSION="4.0.1"
HOMEPAGE="http://www.grinninglizard.com/tinyxml2/index.html"
-DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/3.0.0.tar.gz"
-MD5SUM="26584d2c1666aea5e664c105eb4e8153"
+DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/4.0.1/tinyxml2-4.0.1.tar.gz"
+MD5SUM="36aed868b751e728fa8f714aa3376a1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""