From e346a596869cea38ac3276507cdc0c98b3ce80de Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Wed, 10 Aug 2016 11:19:26 -0700 Subject: libraries/tinyxml2: Updated for version 4.0.1. Signed-off-by: Larry Hajali --- libraries/tinyxml2/tinyxml2.SlackBuild | 13 ++++++++++--- libraries/tinyxml2/tinyxml2.info | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'libraries/tinyxml2') diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild index 9a4463fa23..ab8f6d85c6 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 +# Copyright 2014-2016 Larry Hajali # 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 e1ef48b813..9ca6b65964 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="" -- cgit v1.2.3