aboutsummaryrefslogtreecommitdiff
path: root/libraries/restbed/restbed.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-07-30 13:10:20 -0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-05 07:08:04 +0700
commit76eda416ebe9efe9c0dcd5971ef32eed8958131b (patch)
treeebd3e1ae35975d3f795f1f3b3252f74cdae16e0d /libraries/restbed/restbed.SlackBuild
parent9e2dc537ba545c96a2dc69269c86f5335cd64dfc (diff)
libraries/restbed: Updated for version 4.6
Signed-off-by: Andre Barboza <bmg.andre@gmail.com>
Diffstat (limited to 'libraries/restbed/restbed.SlackBuild')
-rw-r--r--libraries/restbed/restbed.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/libraries/restbed/restbed.SlackBuild b/libraries/restbed/restbed.SlackBuild
index 4c9ce7a460c9..d123f4984610 100644
--- a/libraries/restbed/restbed.SlackBuild
+++ b/libraries/restbed/restbed.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=restbed
-VERSION=${VERSION:-4.0}
+VERSION=${VERSION:-4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,15 +69,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/restbed.patch
-
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DBUILD_SSL=ON \
-DBUILD_SHARED=ON \
-DCMAKE_BUILD_TYPE=Release ..
@@ -89,7 +86,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 STANDARDS.md example legal $PKG/usr/doc/$PRGNAM-$VERSION
+cp -raf LICENSE README.md example legal $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install