summaryrefslogtreecommitdiff
path: root/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild
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/haskell-zip-archive/haskell-zip-archive.SlackBuild
parentce171af9d402b02beebbf15345378e20c19e240c (diff)
downloadslackbuilds-e10303b38c7731d26d2727e68ba9d4fc9e7e816f.tar.gz
haskell/haskell-zip-archive: Updated for version 0.1.1.8.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild')
-rw-r--r--haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild b/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild
index 0b21efcd43..20bbc0ec7a 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 )