diff options
-rw-r--r-- | haskell/haskell-zlib/haskell-zlib.SlackBuild | 17 | ||||
-rw-r--r-- | haskell/haskell-zlib/haskell-zlib.info | 8 |
2 files changed, 13 insertions, 12 deletions
diff --git a/haskell/haskell-zlib/haskell-zlib.SlackBuild b/haskell/haskell-zlib/haskell-zlib.SlackBuild index 3bf3f8b419..c7608c45b7 100644 --- a/haskell/haskell-zlib/haskell-zlib.SlackBuild +++ b/haskell/haskell-zlib/haskell-zlib.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for zlib # 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-zlib -VERSION=${VERSION:-0.5.3.1} +VERSION=${VERSION:-0.5.3.3} 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,17 +76,18 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.hs configure \ +runghc Setup configure \ --prefix=/usr \ --enable-shared \ + --enable-library-profiling \ --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 ) diff --git a/haskell/haskell-zlib/haskell-zlib.info b/haskell/haskell-zlib/haskell-zlib.info index d377119bc2..4a55941fe4 100644 --- a/haskell/haskell-zlib/haskell-zlib.info +++ b/haskell/haskell-zlib/haskell-zlib.info @@ -1,10 +1,10 @@ PRGNAM="haskell-zlib" -VERSION="0.5.3.1" +VERSION="0.5.3.3" HOMEPAGE="http://hackage.haskell.org/package/zlib" -DOWNLOAD="http://hackage.haskell.org/packages/archive/zlib/0.5.3.1/zlib-0.5.3.1.tar.gz" -MD5SUM="8fb2988b112e38d04a527b892f770507" +DOWNLOAD="http://hackage.haskell.org/packages/archive/zlib/0.5.3.3/zlib-0.5.3.3.tar.gz" +MD5SUM="1649e56d13ce2c6a6a9210227401dbbc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" +APPROVED="dsomero" |