development/happy: Updated for version 1.18.8.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Mikko Värri 2012-01-10 10:29:44 -02:00 committed by Erik Hanson
parent 88f81808a0
commit ae014ba9c6
2 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for happy
# 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
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=happy
VERSION=${VERSION:-1.18.6}
VERSION=${VERSION:-1.18.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -71,15 +71,15 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup.lhs configure \
runghc Setup configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--ghc-options="-threaded -dynamic"
runghc Setup.lhs build
runghc Setup.lhs copy --destdir=$PKG
runghc Setup build
runghc Setup copy --destdir=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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

View file

@ -1,10 +1,10 @@
PRGNAM="happy"
VERSION="1.18.6"
VERSION="1.18.8"
HOMEPAGE="http://haskell.org/happy"
DOWNLOAD="http://hackage.haskell.org/packages/archive/happy/1.18.6/happy-1.18.6.tar.gz"
MD5SUM="7d4d1425f5068633cd477a2b2216880d"
DOWNLOAD="http://hackage.haskell.org/packages/archive/happy/1.18.8/happy-1.18.8.tar.gz"
MD5SUM="907d79425351e826fb0bb8b677620418"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
APPROVED="dsomero"
APPROVED="dsomero,Niels Horn"