summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-07-26 21:37:31 +0000
committerEric Hameleers <alien@slackware.com>2019-07-27 08:59:46 +0200
commit1a1f1ce393df7ca4b6574f2ad6ccfc36f0f0cad7 (patch)
treeb7e3ccc158f070653734b8269d52dfb5345c1883 /source/xap
parent8b5c0b991d345c720e4c36441cf53151c23138cf (diff)
downloadcurrent-1a1f1ce393df7ca4b6574f2ad6ccfc36f0f0cad7.tar.gz
Fri Jul 26 21:37:31 UTC 201920190726213731
a/kernel-firmware-20190726_dff98c6-noarch-1.txz: Upgraded. a/kernel-generic-4.19.61-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.61-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.61-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.61-x86-1.txz: Upgraded. k/kernel-source-4.19.61-noarch-1.txz: Upgraded. l/babl-0.1.68-x86_64-1.txz: Upgraded. l/desktop-file-utils-0.24-x86_64-1.txz: Upgraded. l/zstd-1.4.2-x86_64-1.txz: Upgraded. n/ethtool-5.2-x86_64-1.txz: Upgraded. n/gnutls-3.6.9-x86_64-1.txz: Upgraded. x/xf86-video-s3-0.7.0-x86_64-1.txz: Upgraded. xap/gkrellm-2.3.11-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/xap')
-rwxr-xr-xsource/xap/gkrellm/gkrellm.SlackBuild8
-rw-r--r--source/xap/gkrellm/gkrellm.url1
2 files changed, 6 insertions, 3 deletions
diff --git a/source/xap/gkrellm/gkrellm.SlackBuild b/source/xap/gkrellm/gkrellm.SlackBuild
index c59fb749..102315b9 100755
--- a/source/xap/gkrellm/gkrellm.SlackBuild
+++ b/source/xap/gkrellm/gkrellm.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gkrellm
VERSION=${VERSION:-$(echo $PKGNAM-2*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
PKGVER=$VERSION
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -45,6 +45,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
@@ -59,7 +61,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf gkrellm-$VERSION
-tar xvf $CWD/gkrellm-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/gkrellm-$VERSION.tar.?z || exit 1
cd gkrellm-$VERSION || exit 1
# Fix library paths (works for all ARCHs):
sed -i -e "s#lib/gkrellm2#lib${LIBDIRSUFFIX}/gkrellm2#g" $(grep -lr 'lib/gkrellm2' *)
@@ -74,7 +76,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make \
+make $NUMJOBS \
INSTALLROOT=/usr \
INSTALLDIR=/usr/bin \
INCLUDEDIR=/usr/include \
diff --git a/source/xap/gkrellm/gkrellm.url b/source/xap/gkrellm/gkrellm.url
new file mode 100644
index 00000000..b960ed15
--- /dev/null
+++ b/source/xap/gkrellm/gkrellm.url
@@ -0,0 +1 @@
+http://gkrellm.srcbox.net/releases