diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2017-07-30 13:10:20 -0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-05 07:08:04 +0700 |
commit | 76eda416ebe9efe9c0dcd5971ef32eed8958131b (patch) | |
tree | ebd3e1ae35975d3f795f1f3b3252f74cdae16e0d /libraries | |
parent | 9e2dc537ba545c96a2dc69269c86f5335cd64dfc (diff) | |
download | slackbuilds-76eda416ebe9efe9c0dcd5971ef32eed8958131b.tar.gz |
libraries/restbed: Updated for version 4.6
Signed-off-by: Andre Barboza <bmg.andre@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/restbed/restbed.SlackBuild | 9 | ||||
-rw-r--r-- | libraries/restbed/restbed.info | 8 | ||||
-rw-r--r-- | libraries/restbed/restbed.patch | 12 |
3 files changed, 7 insertions, 22 deletions
diff --git a/libraries/restbed/restbed.SlackBuild b/libraries/restbed/restbed.SlackBuild index 4c9ce7a460..d123f49846 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 diff --git a/libraries/restbed/restbed.info b/libraries/restbed/restbed.info index d6189e8309..7a0466465c 100644 --- a/libraries/restbed/restbed.info +++ b/libraries/restbed/restbed.info @@ -1,10 +1,10 @@ PRGNAM="restbed" -VERSION="4.0" +VERSION="4.6" HOMEPAGE="https://github.com/corvusoft/restbed" -DOWNLOAD="https://github.com/Corvusoft/restbed/archive/4.0/restbed-4.0.tar.gz" -MD5SUM="2b32fcc3c4014849718058c694f1b49c" +DOWNLOAD="https://github.com/Corvusoft/restbed/archive/4.6/restbed-4.6.tar.gz" +MD5SUM="f80581e6c7a303be09a2849f1e9dd496" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="asio" +REQUIRES="asio kashmir" MAINTAINER="Andre Barboza" EMAIL="bmg.andre@gmail.com" diff --git a/libraries/restbed/restbed.patch b/libraries/restbed/restbed.patch deleted file mode 100644 index 52fdbe58d0..0000000000 --- a/libraries/restbed/restbed.patch +++ /dev/null @@ -1,12 +0,0 @@ -Only in restbed-4.0: .CMakeLists.txt.un~ -diff -ur restbed-4.0.old/CMakeLists.txt restbed-4.0/CMakeLists.txt ---- restbed-4.0.old/CMakeLists.txt 2016-04-14 18:38:26.000000000 -0300 -+++ restbed-4.0/CMakeLists.txt 2017-01-03 18:15:29.883784733 -0200 -@@ -71,5 +71,5 @@ - install( FILES "${INCLUDE_DIR}/${PROJECT_NAME}" DESTINATION "include" ) - install( FILES ${BUILD_ARTIFACTS} DESTINATION "include/corvusoft/${PROJECT_NAME}" ) - install( TARGETS ${PROJECT_NAME} -- LIBRARY DESTINATION "library" -- ARCHIVE DESTINATION "library" COMPONENT library ) -+ LIBRARY DESTINATION "lib${LIB_SUFFIX}" -+ ARCHIVE DESTINATION "lib${LIB_SUFFIX}" COMPONENT library ) |