aboutsummaryrefslogtreecommitdiff
path: root/libraries/tinyxml2/tinyxml2.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-08-18 18:49:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-21 03:25:01 +0700
commitbd6fa74561020b8ea6bf53e82b6fc7c5199763c3 (patch)
tree7a3dd017acaf9c2e1ff9cd7baacf5af834c1695d /libraries/tinyxml2/tinyxml2.SlackBuild
parent477699cd356c8452f0195811289ef40b78c7162e (diff)
libraries/tinyxml2: Updated for version 3.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tinyxml2/tinyxml2.SlackBuild')
-rw-r--r--libraries/tinyxml2/tinyxml2.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild
index 58fd9cb9e0b1..9a4463fa23a7 100644
--- a/libraries/tinyxml2/tinyxml2.SlackBuild
+++ b/libraries/tinyxml2/tinyxml2.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tinyxml2
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,7 +75,6 @@ cd build
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DBUILD_STATIC_LIBS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
@@ -86,7 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a readme.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.md TinyXML2_small.png $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install