summaryrefslogtreecommitdiff
path: root/libraries/tinyxml/tinyxml.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:33:41 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:33:41 +0200
commit16963b99c8acfe6d7e0e421a5c85a420c27afd5e (patch)
treee2e7b8d6175107263e7554fdf831eaa3c6293d10 /libraries/tinyxml/tinyxml.SlackBuild
parentdd6d5a96f27ba526b79727aa45f6c6bbed5cbbdb (diff)
downloadslackbuilds-16963b99c8acfe6d7e0e421a5c85a420c27afd5e.tar.gz
libraries/tinyxml: Updated for version 2.5.3
Diffstat (limited to 'libraries/tinyxml/tinyxml.SlackBuild')
-rw-r--r--libraries/tinyxml/tinyxml.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/tinyxml/tinyxml.SlackBuild b/libraries/tinyxml/tinyxml.SlackBuild
index e17b8a74ba..60da6ecd60 100644
--- a/libraries/tinyxml/tinyxml.SlackBuild
+++ b/libraries/tinyxml/tinyxml.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=tinyxml
VERSION=${VERSION:-2.5.3}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -43,6 +43,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Always have TIXML_USE_STL defined.
+patch -p0 < $CWD/tinyxml-2.5.3-stl.patch
+
for i in tinyxml.cpp tinystr.cpp tinyxmlerror.cpp tinyxmlparser.cpp; do
g++ -v $SLKCFLAGS -fPIC -Wall -Wno-unknown-pragmas -Wno-format -o $i.o -c $i
done
@@ -76,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}