diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-02 10:44:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-03 19:19:07 +0700 |
commit | 6222c777ddf9b0f1d24a073ec04974634deb9992 (patch) | |
tree | 3b02071b4528b025c56f447a1e2326c65744682b /libraries | |
parent | 80da576240caac2a0c746288868e9c10b6c46342 (diff) |
libraries/mongo-c-driver: Updated for version 1.25.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/mongo-c-driver/mongo-c-driver.SlackBuild | 21 | ||||
-rw-r--r-- | libraries/mongo-c-driver/mongo-c-driver.info | 6 |
2 files changed, 12 insertions, 15 deletions
diff --git a/libraries/mongo-c-driver/mongo-c-driver.SlackBuild b/libraries/mongo-c-driver/mongo-c-driver.SlackBuild index 4856a28bfb629..86e8bc3bcfaea 100644 --- a/libraries/mongo-c-driver/mongo-c-driver.SlackBuild +++ b/libraries/mongo-c-driver/mongo-c-driver.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mongo-c-driver -VERSION=${VERSION:-1.17.3} +VERSION=${VERSION:-1.25.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -36,9 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -77,29 +74,29 @@ 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 {} \; -# Flag Docs, if needed -DOX=0 ; if [ "${DOCS:-no}" = "yes" ]; then DOX=1 ; fi - +export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DMAN_INSTALL_DIR=/usr/man \ - -DENABLE_MAN_PAGES=$DOX \ - -DENABLE_HTML_DOCS=$DOX \ + -DENABLE_STATIC=OFF \ + -DENABLE_TESTS=OFF \ + -DBUILD_VERSION=$VERSION \ -DCMAKE_BUILD_TYPE=Release .. make - make install DESTDIR=$PKG + make install/strip DESTDIR=$PKG cd .. + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING CONTRIBUTING.md NEWS README.rst \ - THIRD_PARTY_NOTICES VERSION_CURRENT \ + THIRD_PARTY_NOTICES \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/mongo-c-driver/mongo-c-driver.info b/libraries/mongo-c-driver/mongo-c-driver.info index c37ba0046c3a8..d09519dc129cd 100644 --- a/libraries/mongo-c-driver/mongo-c-driver.info +++ b/libraries/mongo-c-driver/mongo-c-driver.info @@ -1,8 +1,8 @@ PRGNAM="mongo-c-driver" -VERSION="1.17.3" +VERSION="1.25.1" HOMEPAGE="http://mongoc.org" -DOWNLOAD="https://github.com/mongodb/mongo-c-driver/releases/download/1.17.3/mongo-c-driver-1.17.3.tar.gz" -MD5SUM="9babfd9883e7c02bd0d7624ea286ee82" +DOWNLOAD="https://github.com/mongodb/mongo-c-driver/archive/1.25.1/mongo-c-driver-1.25.1.tar.gz" +MD5SUM="d896ed508a72e4de9c2160fc410bc163" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |