aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-06-27 16:13:10 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-27 16:13:10 -0400
commite10303b38c7731d26d2727e68ba9d4fc9e7e816f (patch)
tree4869ae48822bec9c37e35c4cd6a687f7efff387b /haskell
parentce171af9d402b02beebbf15345378e20c19e240c (diff)
haskell/haskell-zip-archive: Updated for version 0.1.1.8.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-zip-archive/README2
-rw-r--r--haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild17
-rw-r--r--haskell/haskell-zip-archive/haskell-zip-archive.info8
3 files changed, 14 insertions, 13 deletions
diff --git a/haskell/haskell-zip-archive/README b/haskell/haskell-zip-archive/README
index 20bbea1999f17..53367f5cf8b9f 100644
--- a/haskell/haskell-zip-archive/README
+++ b/haskell/haskell-zip-archive/README
@@ -1,7 +1,7 @@
This is a library for Haskell programs. It provides functions for
creating, modifying, and extracting files from zip archives.
-This requires ghc, haskell-binary, haskell-transformers, haskell-mtl,
+This requires ghc, haskell-transformers, haskell-mtl,
haskell-digest, haskell-zlib, and haskell-utf8-string.
After uninstalling, run the following command to unregister the package
diff --git a/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild b/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild
index 0b21efcd436fb..20bbc0ec7a799 100644
--- a/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild
+++ b/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for zip-archive
# 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-zip-archive
-VERSION=${VERSION:-0.1.1.7}
+VERSION=${VERSION:-0.1.1.8}
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.lhs 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.lhs build
-runghc Setup.lhs haddock
-runghc Setup.lhs copy --destdir=$PKG
-runghc Setup.lhs 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-zip-archive/haskell-zip-archive.info b/haskell/haskell-zip-archive/haskell-zip-archive.info
index cbf76a99b0a8a..8f82e183f46bb 100644
--- a/haskell/haskell-zip-archive/haskell-zip-archive.info
+++ b/haskell/haskell-zip-archive/haskell-zip-archive.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-zip-archive"
-VERSION="0.1.1.7"
+VERSION="0.1.1.8"
HOMEPAGE="http://hackage.haskell.org/package/zip-archive"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/zip-archive/0.1.1.7/zip-archive-0.1.1.7.tar.gz"
-MD5SUM="d48994de906df9cb7432fa30f25b30a2"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/zip-archive/0.1.1.8/zip-archive-0.1.1.8.tar.gz"
+MD5SUM="340e08e6ec37c35485c2f851b7b7fa70"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="rworkman"
+APPROVED="dsomero"