From a5a6e494a74ca91943ba9e0831b225ac19b1ee1b Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 19 Oct 2020 20:16:19 +0000 Subject: Mon Oct 19 20:16:19 UTC 2020 a/glibc-zoneinfo-2020c-noarch-1.txz: Upgraded. This package provides the latest timezone updates. d/ccache-4.0-x86_64-1.txz: Upgraded. Please note that the default cache directory has been changed to $HOME/.cache/ccache and the default config file has been changed to $HOME/.config/ccache/ccache.conf. You'll probably want to move your existing config file if you've set any options, and then clear out the old location of $HOME/.ccache to avoid wasting storage space. d/python-pip-20.2.4-x86_64-1.txz: Upgraded. d/python-setuptools-50.3.2-x86_64-1.txz: Upgraded. l/glib2-2.66.2-x86_64-1.txz: Upgraded. l/mozjs78-78.4.0esr-x86_64-1.txz: Upgraded. l/python-urllib3-1.25.11-x86_64-1.txz: Upgraded. x/pyxdg-0.27-x86_64-1.txz: Upgraded. xap/mozilla-firefox-78.4.0esr-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/firefox/78.4.0/releasenotes/ --- source/d/ccache/ccache.SlackBuild | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to 'source/d/ccache') diff --git a/source/d/ccache/ccache.SlackBuild b/source/d/ccache/ccache.SlackBuild index 905a20469..f5c0f6b27 100755 --- a/source/d/ccache/ccache.SlackBuild +++ b/source/d/ccache/ccache.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -63,13 +63,26 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --sysconfdir=/etc || exit 1 - -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 +# Configure, build, and install: +mkdir cmake-build +cd cmake-build + cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + -DDOC_INSTALL_DIR="doc" \ + -DMAN_INSTALL_DIR=/usr/man \ + .. || exit 1 + make $NUMJOBS || make || exit 1 + make install DESTDIR=$PKG || exit 1 + # Generate and install man page: + ( cd doc + make doc-man-page + mkdir -p $PKG/usr/man/man1 + cat Ccache.1 > $PKG/usr/man/man1/ccache.1 + ) +cd .. # Compress and link manpages, if any: if [ -d $PKG/usr/man ]; then @@ -88,7 +101,7 @@ fi mkdir -p $PKG/usr/doc/ccache-$VERSION cp -a \ - *.md *.txt *.html \ + CONTRIBUTING* *GPL* LICENSE* README* doc/*.md doc/AUTHORS* doc/NEWS* \ $PKG/usr/doc/ccache-$VERSION # Strip binaries: -- cgit v1.2.3