diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-07 15:35:44 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-07 23:04:38 +0700 |
commit | bf8cac8e5def1376afa53fa1eb56c06f9f65217e (patch) | |
tree | db020d16cceda0f71d079317b3e86eb7afdbe0b0 /libraries/libcifpp | |
parent | b3fe415b1ae45dd02af76cd8474daed9b9f89638 (diff) |
libraries/libcifpp: Updated for version 3.0.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libcifpp')
-rw-r--r-- | libraries/libcifpp/libcifpp.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/libcifpp/libcifpp.info | 6 |
2 files changed, 16 insertions, 17 deletions
diff --git a/libraries/libcifpp/libcifpp.SlackBuild b/libraries/libcifpp/libcifpp.SlackBuild index 69810923acb06..a6d67c082e0eb 100644 --- a/libraries/libcifpp/libcifpp.SlackBuild +++ b/libraries/libcifpp/libcifpp.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libcifpp -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,19 +79,18 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install libdir=$PKG/usr/lib${LIBDIRSUFFIX} +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install 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 diff --git a/libraries/libcifpp/libcifpp.info b/libraries/libcifpp/libcifpp.info index 4513bfb35cb10..4a302a6eef3a6 100644 --- a/libraries/libcifpp/libcifpp.info +++ b/libraries/libcifpp/libcifpp.info @@ -1,8 +1,8 @@ PRGNAM="libcifpp" -VERSION="1.0.0" +VERSION="3.0.0" HOMEPAGE="https://github.com/PDB-REDO/libcifpp" -DOWNLOAD="https://github.com/PDB-REDO/libcifpp/archive/v1.0.0/libcifpp-1.0.0.tar.gz" -MD5SUM="434cc0733317feec846c196f008bc719" +DOWNLOAD="https://github.com/PDB-REDO/libcifpp/archive/v3.0.0/libcifpp-3.0.0.tar.gz" +MD5SUM="82ca063ecb81b747527e8b76f1ba45ec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |