aboutsummaryrefslogtreecommitdiff
path: root/libraries/tinyxml/tinyxml.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2011-06-03 22:21:50 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:34:33 -0400
commit2e04f57b986e40f5e3acf6e0dd057c7c05f54c9d (patch)
tree4530204999fa6564f937ea27fd023efd37d18ffd /libraries/tinyxml/tinyxml.SlackBuild
parent47a0f98a286a0e999aa63d70f75fbae7a4e1259d (diff)
libraries/tinyxml: Updated for version 2.6.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/tinyxml/tinyxml.SlackBuild')
-rw-r--r--libraries/tinyxml/tinyxml.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/tinyxml/tinyxml.SlackBuild b/libraries/tinyxml/tinyxml.SlackBuild
index 3a91683ebb153..c1cb95ac77f00 100644
--- a/libraries/tinyxml/tinyxml.SlackBuild
+++ b/libraries/tinyxml/tinyxml.SlackBuild
@@ -5,8 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=tinyxml
-VERSION=2.6.1
-BUILD=${BUILD:-2}
+VERSION=2.6.2
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,6 +53,8 @@ find . \
# Define TINYXML_USE_STL to YES and use custom SLKCFLAGS.
sed -i -e '/^TINYXML_USE_STL/s|=.*|= YES|' -e "s|-O3|$SLKCFLAGS|" Makefile
+# Permanently define TINYXML_USE_STL in tinyxml.h.
+patch -p1 < $CWD/tinyxml-2.5.3-stl.patch
# Fix for bug
# http://trac.filezilla-project.org/ticket/5473
# http://sourceforge.net/tracker/index.php?func=detail&aid=3031828&group_id=13559&atid=313559
@@ -63,7 +65,7 @@ make
g++ -v $SLKCFLAGS -Wall -Wno-unknown-pragmas -Wno-format -shared -o \
lib${PRGNAM}.so.0.${VERSION} -Wl,-soname,lib${PRGNAM}.so.0 *.o
-install -d -m 0755 $PKG/usr/{include,lib${LIBDIRSUFFIX}}
+mkdir -p $PKG/usr/{include,lib${LIBDIRSUFFIX}}
install -m 0755 lib${PRGNAM}.so.0.${VERSION} $PKG/usr/lib${LIBDIRSUFFIX}
( cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -s lib${PRGNAM}.so.0.${VERSION} lib${PRGNAM}.so.0