aboutsummaryrefslogtreecommitdiff
path: root/libraries/fmt/fmt.SlackBuild
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/fmt/fmt.SlackBuild
parent5f5d04d7ed13d6295336c4c4b7d8058cd41c9a91 (diff)
libraries/fmt: Updated for version 6.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/fmt/fmt.SlackBuild')
-rw-r--r--libraries/fmt/fmt.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/libraries/fmt/fmt.SlackBuild b/libraries/fmt/fmt.SlackBuild
index 41a18f5c33170..3462eb8379c8f 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