diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-15 17:15:32 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:16:31 -0500 |
commit | 3b74d61f9855ed59956da042c34f9c10b0cd8a74 (patch) | |
tree | fafce185ab4b0c4c2de5d18fc34c330b341b8d45 /libraries/cpprestsdk | |
parent | cb94f37c099919744da2f394288ce837f08ff3d4 (diff) | |
download | slackbuilds-3b74d61f9855ed59956da042c34f9c10b0cd8a74.tar.gz |
libraries/cpprestsdk: Updated for version 20201210_eb6801f.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/cpprestsdk')
-rw-r--r-- | libraries/cpprestsdk/cpprestsdk.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/cpprestsdk/cpprestsdk.info | 6 | ||||
-rw-r--r-- | libraries/cpprestsdk/cpprestsdk.patch | 13 |
3 files changed, 8 insertions, 21 deletions
diff --git a/libraries/cpprestsdk/cpprestsdk.SlackBuild b/libraries/cpprestsdk/cpprestsdk.SlackBuild index 6482c6239a..96cb2a7019 100644 --- a/libraries/cpprestsdk/cpprestsdk.SlackBuild +++ b/libraries/cpprestsdk/cpprestsdk.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cpprestsdk -VERSION=${VERSION:-2.9.1} +VERSION=${VERSION:-20201210_eb6801f} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +60,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION -patch -p1 < $CWD/cpprestsdk.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -74,9 +73,10 @@ mkdir -p Release/build cd Release/build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=format-truncation=" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_BINDIR=/usr/bin \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG diff --git a/libraries/cpprestsdk/cpprestsdk.info b/libraries/cpprestsdk/cpprestsdk.info index 58b9f3945a..ccff5876c0 100644 --- a/libraries/cpprestsdk/cpprestsdk.info +++ b/libraries/cpprestsdk/cpprestsdk.info @@ -1,8 +1,8 @@ PRGNAM="cpprestsdk" -VERSION="2.9.1" +VERSION="20201210_eb6801f" HOMEPAGE="https://github.com/Microsoft/cpprestsdk/" -DOWNLOAD="https://github.com/Microsoft/cpprestsdk/archive/v2.9.1/cpprestsdk-2.9.1.tar.gz" -MD5SUM="0c0e86ef413a05773ffad9de663f8889" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/cpprestsdk-20201210_eb6801f.tar.xz" +MD5SUM="dd06c04b302de7e9543e8485034176a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/cpprestsdk/cpprestsdk.patch b/libraries/cpprestsdk/cpprestsdk.patch deleted file mode 100644 index cd6035db8a..0000000000 --- a/libraries/cpprestsdk/cpprestsdk.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ur cpprestsdk-2.9.0.old/Release/src/CMakeLists.txt cpprestsdk-2.9.0/Release/src/CMakeLists.txt ---- cpprestsdk-2.9.0.old/Release/src/CMakeLists.txt 2016-10-18 17:30:28.000000000 -0200 -+++ cpprestsdk-2.9.0/Release/src/CMakeLists.txt 2016-12-20 22:36:53.079208022 -0200 -@@ -147,7 +147,7 @@ - - install( - TARGETS cpprest -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX} - ) - endif() |