diff options
author | Mikko Värri <vmj@linuxbox.fi> | 2012-01-10 16:37:22 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-01-13 14:43:36 -0600 |
commit | b8a44d100d6e9b8ca53ceba2f2b80fa58e775f8b (patch) | |
tree | ade78f22f687cb5c4ebd09c97bc4ea3ebbc2784d /haskell | |
parent | 72545dc93351e8fa7ba9a5e4cb6051e209b062e0 (diff) |
haskell/haskell-digest: Updated for version 0.0.1.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r-- | haskell/haskell-digest/README | 7 | ||||
-rw-r--r-- | haskell/haskell-digest/haskell-digest.SlackBuild | 19 | ||||
-rw-r--r-- | haskell/haskell-digest/haskell-digest.info | 8 |
3 files changed, 19 insertions, 15 deletions
diff --git a/haskell/haskell-digest/README b/haskell/haskell-digest/README index 3d1bce3dd679c..909cc8758955f 100644 --- a/haskell/haskell-digest/README +++ b/haskell/haskell-digest/README @@ -1,6 +1,7 @@ -This is a library for Haskell programs, providing efficient cryptographic hash -implementations for strict and lazy bytestrings. CRC32 and Adler32 are -supported; they are implemented as FFI bindings to efficient code from zlib. +This is a library for Haskell programs, providing efficient cryptographic +hash implementations for strict and lazy bytestrings. CRC32 and Adler32 +are supported; they are implemented as FFI bindings to efficient code from +zlib. This requires ghc. diff --git a/haskell/haskell-digest/haskell-digest.SlackBuild b/haskell/haskell-digest/haskell-digest.SlackBuild index 89da7459ea463..a004094d81632 100644 --- a/haskell/haskell-digest/haskell-digest.SlackBuild +++ b/haskell/haskell-digest/haskell-digest.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for digest # Copyright 2010 Peter Wang -# Copyright 2011 Mikko Värri, Finland +# Copyright 2012 Mikko Värri, Finland # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=haskell-digest -VERSION=${VERSION:-0.0.0.9} +VERSION=${VERSION:-0.0.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,7 +59,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -76,23 +76,26 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.hs configure \ +runghc Setup configure \ --prefix=/usr \ --enable-shared \ --libdir=/usr/lib$LIBDIRSUFFIX \ --libsubdir=ghc-$GHC_VERSION/$SRCNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION -runghc Setup.hs build -runghc Setup.hs haddock -runghc Setup.hs copy --destdir=$PKG -runghc Setup.hs register --gen-pkg-config +runghc Setup build +runghc Setup haddock +runghc Setup copy --destdir=$PKG +runghc Setup register --gen-pkg-config PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | cut -d" " -f2 ) mkdir -p $PKG/$PKGCONFD mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf +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 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/haskell/haskell-digest/haskell-digest.info b/haskell/haskell-digest/haskell-digest.info index edf39d01fb421..9193401f0e2f2 100644 --- a/haskell/haskell-digest/haskell-digest.info +++ b/haskell/haskell-digest/haskell-digest.info @@ -1,10 +1,10 @@ PRGNAM="haskell-digest" -VERSION="0.0.0.9" +VERSION="0.0.1.0" HOMEPAGE="http://hackage.haskell.org/package/digest" -DOWNLOAD="http://hackage.haskell.org/packages/archive/digest/0.0.0.9/digest-0.0.0.9.tar.gz" -MD5SUM="0f35175426d9e443516ac3fa2bf91311" +DOWNLOAD="http://hackage.haskell.org/packages/archive/digest/0.0.1.0/digest-0.0.1.0.tar.gz" +MD5SUM="daedf316a3af2f66307576af333cc265" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" +APPROVED="dsomero,Niels Horn" |