diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 10:58:23 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:26 +0700 |
commit | c0556bc913f1be9b518a1c753bd6a261a4cd4e29 (patch) | |
tree | 70319cfd2b8575b5a6673ac799389a6a4621fa3f /haskell/haskell-hslogger | |
parent | 77a005387e6ed8382f3690cc3bbb5a326ca59124 (diff) |
haskell/haskell-hslogger: Updated for version 1.2.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-hslogger')
-rw-r--r-- | haskell/haskell-hslogger/haskell-hslogger.SlackBuild | 17 | ||||
-rw-r--r-- | haskell/haskell-hslogger/haskell-hslogger.info | 14 | ||||
-rw-r--r-- | haskell/haskell-hslogger/slack-desc | 2 |
3 files changed, 17 insertions, 16 deletions
diff --git a/haskell/haskell-hslogger/haskell-hslogger.SlackBuild b/haskell/haskell-hslogger/haskell-hslogger.SlackBuild index af508ffe00b66..ec82ccca4e1ae 100644 --- a/haskell/haskell-hslogger/haskell-hslogger.SlackBuild +++ b/haskell/haskell-hslogger/haskell-hslogger.SlackBuild @@ -4,6 +4,7 @@ # Copyright 2014 Google Inc, Germany # Copyright 2015 Mikko Värri, Finland +# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=haskell-hslogger -VERSION=${VERSION:-1.2.9} +VERSION=${VERSION:-1.2.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +35,7 @@ GHC_VERSION=$(ghc --numeric-version) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +46,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -72,16 +73,16 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ --prefix=/usr \ - --enable-shared \ - --enable-library-profiling \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --enable-library-profiling \ --docdir=/usr/doc/$PRGNAM-$VERSION runghc Setup build @@ -102,8 +103,8 @@ cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/haskell/haskell-hslogger/haskell-hslogger.info b/haskell/haskell-hslogger/haskell-hslogger.info index 4ad504d69deba..39601caa6dfc0 100644 --- a/haskell/haskell-hslogger/haskell-hslogger.info +++ b/haskell/haskell-hslogger/haskell-hslogger.info @@ -1,10 +1,10 @@ PRGNAM="haskell-hslogger" -VERSION="1.2.9" -HOMEPAGE="http://hackage.haskell.org/package/hslogger" -DOWNLOAD="http://hackage.haskell.org/package/hslogger-1.2.9/hslogger-1.2.9.tar.gz" -MD5SUM="db8fd8ac6f8085317d66821ee27acd20" +VERSION="1.2.12" +HOMEPAGE="https://hackage.haskell.org/package/hslogger" +DOWNLOAD="https://hackage.haskell.org/package/hslogger-1.2.12/hslogger-1.2.12.tar.gz" +MD5SUM="c6d0e1e4f6ba6b478a96e1a32991ed11" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ghc haskell-network haskell-old-locale" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" +REQUIRES="haskell-network haskell-old-locale" +MAINTAINER="David Spencer" +EMAIL="baildon.research@googlemail.com" diff --git a/haskell/haskell-hslogger/slack-desc b/haskell/haskell-hslogger/slack-desc index dde0dac200d3f..66925463d42cf 100644 --- a/haskell/haskell-hslogger/slack-desc +++ b/haskell/haskell-hslogger/slack-desc @@ -16,4 +16,4 @@ haskell-hslogger: associated with it. The programmer can then define global hand haskell-hslogger: that route or filter messages based on the priority and haskell-hslogger: source. hslogger also has a syslog handler built in. haskell-hslogger: -haskell-hslogger: http://hackage.haskell.org/package/hslogger +haskell-hslogger: https://hackage.haskell.org/package/hslogger |