summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-09-28 08:06:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 08:06:40 +0700
commit0cabe4fcf7e42f7bdccd00c49a2f13582c91cf18 (patch)
treebd87ba0cd7c927868e9188f6836334f1ea7976d0 /libraries
parent5f5d04d7ed13d6295336c4c4b7d8058cd41c9a91 (diff)
downloadslackbuilds-0cabe4fcf7e42f7bdccd00c49a2f13582c91cf18.tar.gz
libraries/fmt: Updated for version 6.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/fmt/fmt.SlackBuild10
-rw-r--r--libraries/fmt/fmt.info6
2 files changed, 5 insertions, 11 deletions
diff --git a/libraries/fmt/fmt.SlackBuild b/libraries/fmt/fmt.SlackBuild
index 41a18f5c33..3462eb8379 100644
--- a/libraries/fmt/fmt.SlackBuild
+++ b/libraries/fmt/fmt.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fmt
-VERSION=${VERSION:-5.3.0}
+VERSION=${VERSION:-6.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,15 +69,9 @@ 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 {} \;
-# install pkg-config file into libdir
-# https://github.com/fmtlib/fmt/commit/9e1531c1e1ab1fee562a1f7d7b5295529b1b36c3
-sed -i 's|CMAKE_INSTALL_PREFIX}/share/pkgconfig|FMT_LIB_DIR}/pkgconfig|' \
- CMakeLists.txt
-
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
@@ -91,7 +85,7 @@ 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 CONTRIBUTING.rst ChangeLog.rst LICENSE.rst README.rst \
+cp -a CONTRIBUTING.md ChangeLog.rst LICENSE.rst README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/fmt/fmt.info b/libraries/fmt/fmt.info
index 3726a43940..3d08013e33 100644
--- a/libraries/fmt/fmt.info
+++ b/libraries/fmt/fmt.info
@@ -1,8 +1,8 @@
PRGNAM="fmt"
-VERSION="5.3.0"
+VERSION="6.0.0"
HOMEPAGE="https://fmt.dev/latest/index.html"
-DOWNLOAD="https://github.com/fmtlib/fmt/archive/5.3.0/fmt-5.3.0.tar.gz"
-MD5SUM="1015bf3ff2a140dfe03de50ee2469401"
+DOWNLOAD="https://github.com/fmtlib/fmt/archive/6.0.0/fmt-6.0.0.tar.gz"
+MD5SUM="7c3feebb3d1e52c16b50aab75272e541"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""