From 689a0b3650da4dd27d5ef7d723df16e50af24193 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Thu, 5 Sep 2024 17:13:25 -0700 Subject: [PATCH] libraries/tinyxml2: New maintainer Signed-off-by: Willy Sudiarto Raharjo --- libraries/tinyxml2/tinyxml2.SlackBuild | 20 ++++++++++++-------- libraries/tinyxml2/tinyxml2.info | 4 ++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild index c761b7bb6d..6c389c4dcb 100644 --- a/libraries/tinyxml2/tinyxml2.SlackBuild +++ b/libraries/tinyxml2/tinyxml2.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for tinyxml2 # Copyright 2014-2020 Larry Hajali +# Copyright 2024 Jeremy Hansen # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -83,25 +84,28 @@ for i in *.cpp *.h; do mv ${i}.new $i done -mkdir build +mkdir -p build cd build - cmake -G "Unix Makefiles" \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DCMAKE_INSTALL_LIBDIR:PATH="lib$LIBDIRSUFFIX" \ + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. - make VERBOSE=1 - make install DESTDIR=$PKG -cd - +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a readme.md LICENSE.txt TinyXML2_small.png $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + readme.md LICENSE.txt TinyXML2_small.png \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info index d484cc627a..fb149ee173 100644 --- a/libraries/tinyxml2/tinyxml2.info +++ b/libraries/tinyxml2/tinyxml2.info @@ -6,5 +6,5 @@ MD5SUM="04de2fa311b2fa3b6875886122dc2333" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com"