aboutsummaryrefslogtreecommitdiff
path: root/libraries/restbed/restbed.SlackBuild
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/restbed.SlackBuild
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/restbed.SlackBuild')
-rw-r--r--libraries/restbed/restbed.SlackBuild8
1 files changed, 4 insertions, 4 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