aboutsummaryrefslogtreecommitdiff
path: root/libraries/restbed
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-28 19:56:24 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:48 +0700
commitcbf4b8555afce72f8b2de2a358981c40572fee02 (patch)
treed9e84ae47be8b7a44ab99ff36f8b752791946cc9 /libraries/restbed
parentc8518383ac087db57167bad03d5a4f3983cf6bd9 (diff)
libraries/restbed: Updated for version 4.8.
Disabled ssl support (or it won't build) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/restbed')
-rw-r--r--libraries/restbed/restbed.SlackBuild8
-rw-r--r--libraries/restbed/restbed.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/libraries/restbed/restbed.SlackBuild b/libraries/restbed/restbed.SlackBuild
index 20c92209f113c..8fbac1471f077 100644
--- a/libraries/restbed/restbed.SlackBuild
+++ b/libraries/restbed/restbed.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=restbed
-VERSION=${VERSION:-4.6}
+VERSION=${VERSION:-4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,8 +85,8 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DBUILD_SSL=ON \
- -DBUILD_SHARED=ON \
+ -DBUILD_SSL=OFF \
+ -DBUILD_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -96,7 +96,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 -raf LICENSE README.md example legal $PKG/usr/doc/$PRGNAM-$VERSION
+cp -raf LICENSE README.md legal $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/restbed/restbed.info b/libraries/restbed/restbed.info
index 7a0466465c10e..e31fbcab6004b 100644
--- a/libraries/restbed/restbed.info
+++ b/libraries/restbed/restbed.info
@@ -1,8 +1,8 @@
PRGNAM="restbed"
-VERSION="4.6"
+VERSION="4.8"
HOMEPAGE="https://github.com/corvusoft/restbed"
-DOWNLOAD="https://github.com/Corvusoft/restbed/archive/4.6/restbed-4.6.tar.gz"
-MD5SUM="f80581e6c7a303be09a2849f1e9dd496"
+DOWNLOAD="https://github.com/Corvusoft/restbed/archive/4.8/restbed-4.8.tar.gz"
+MD5SUM="2964baf0ce5a2fe3d28546f3942f0d45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="asio kashmir"