From 4d9e8b20f4e8aa1f6cd8eb83697895f56ee07089 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 11 Sep 2021 15:09:43 +0200 Subject: development/icemon: Updated for version 3.3 Signed-off-by: Heinz Wiesinger Signed-off-by: Willy Sudiarto Raharjo --- development/icemon/icemon.SlackBuild | 49 +++++++++++++++++++----------------- development/icemon/icemon.info | 6 ++--- development/icemon/slack-desc | 10 ++++---- 3 files changed, 34 insertions(+), 31 deletions(-) (limited to 'development/icemon') diff --git a/development/icemon/icemon.SlackBuild b/development/icemon/icemon.SlackBuild index 8171050bff..014c1140b4 100644 --- a/development/icemon/icemon.SlackBuild +++ b/development/icemon/icemon.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for icemon -# Copyright 2010-2014 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2010-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,21 +11,21 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=icemon -VERSION=${VERSION:-7f4a841} +VERSION=${VERSION:-3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,22 +79,25 @@ 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 {} \; -cmake \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_MANDIR=/usr/man +mkdir cmake-build +cd cmake-build + cmake \ + -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \ + -DCMAKE_C_FLAGS="${SLKCFLAGS}" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_LIBDIR="lib${LIBDIRSUFFIX}" \ + -DCMAKE_INSTALL_MANDIR="man" \ + .. -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + make + make install/strip DESTDIR=$PKG +cd .. find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md COPYING README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/icemon/icemon.info b/development/icemon/icemon.info index d737bca03f..00929c748c 100644 --- a/development/icemon/icemon.info +++ b/development/icemon/icemon.info @@ -1,8 +1,8 @@ PRGNAM="icemon" -VERSION="7f4a841" +VERSION="3.3" HOMEPAGE="https://github.com/icecc/icemon" -DOWNLOAD="http://www.liwjatan.at/files/src/icemon/icemon-7f4a841.tar.xz" -MD5SUM="ad934e67f50cc7362fd5e5463aeea595" +DOWNLOAD="https://github.com/icecc/icemon/releases/download/v3.3/icemon-3.3.tar.xz" +MD5SUM="e7356476ca0f489057723ad9c781679b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/icemon/slack-desc b/development/icemon/slack-desc index a465b9c870..4fcbdc25cb 100644 --- a/development/icemon/slack-desc +++ b/development/icemon/slack-desc @@ -1,9 +1,9 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| icemon: icemon (Monitor for icecream) -- cgit v1.2.3-65-gdbad