diff options
author | Mikko Värri <vmj@linuxbox.fi> | 2012-01-10 15:29:08 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-01-13 14:43:35 -0600 |
commit | 8d7109b5fcd78dbb9d62d201b5ea4ac5f00baa97 (patch) | |
tree | 5a76a1c1c684f1c8f527e72ebfc0c73ff7a9a081 /haskell/haskell-X11/haskell-X11.SlackBuild | |
parent | 6ad20d14cd98cd2ced3fa119f110691585b976db (diff) |
haskell/haskell-X11: Updated for version 1.5.0.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-X11/haskell-X11.SlackBuild')
-rw-r--r-- | haskell/haskell-X11/haskell-X11.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/haskell/haskell-X11/haskell-X11.SlackBuild b/haskell/haskell-X11/haskell-X11.SlackBuild index 7c7d12a28f89f..1650fd1f9550c 100644 --- a/haskell/haskell-X11/haskell-X11.SlackBuild +++ b/haskell/haskell-X11/haskell-X11.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for X11 -# 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,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=haskell-X11 -VERSION=${VERSION:-1.5.0.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.5.0.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" @@ -75,24 +75,24 @@ 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 | 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |