summaryrefslogtreecommitdiff
path: root/libraries/tinyxml2/tinyxml2.SlackBuild
diff options
context:
space:
mode:
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 58fd9cb9e0..9a4463fa23 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