aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-platform
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-06-08 22:53:34 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-09 07:44:06 +0700
commitb863f80f5fc161a8005f5332fc83b4d76f5566d9 (patch)
tree3a51859936c4da8e7a5edfcbea79e87eac270884 /haskell/haskell-platform
parentcc53209e5c2b48c25735c74d2ff492938e90d738 (diff)
haskell/haskell-platform: Removed (fails to build).
All the packages in haskell-platform 7.10.3 are available from SBo at the same version or slightly newer, and should be installed as individual packages. For a list, see: https://www.haskell.org/platform/contents.html Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'haskell/haskell-platform')
-rw-r--r--haskell/haskell-platform/README17
-rw-r--r--haskell/haskell-platform/haskell-platform.SlackBuild122
-rw-r--r--haskell/haskell-platform/haskell-platform.info10
-rw-r--r--haskell/haskell-platform/not_overwrite_ghc_package_path.diff12
-rw-r--r--haskell/haskell-platform/not_update_pkg_db.diff28
-rw-r--r--haskell/haskell-platform/slack-desc19
6 files changed, 0 insertions, 208 deletions
diff --git a/haskell/haskell-platform/README b/haskell/haskell-platform/README
deleted file mode 100644
index 8d9bbe8f39d3..000000000000
--- a/haskell/haskell-platform/README
+++ /dev/null
@@ -1,17 +0,0 @@
-The Haskell Platform is a comprehensive, robust development for programming
-in Haskell, which not only makes it trivial to get up and running with a full
-Haskell development environment, but also provides a comprehensive, standard
-base for commercial and open source Haskell development that maximises
-interoperability and stability of your code.
-
-This requires ghc. The upstream-recommended version is 7.6.3, but the
---enable-unsupported-ghc-version flag is on by default to allow the SBo
-version to be used instead.
-
-This is intended to be installed on a system that does not already have any
-haskell-related components (other than ghc, of course) installed,
-so for best results (and chance of success), you should remove any of those
-before you try to build haskell-platform.
-
-NOTE: If you have sage installed, you may want to rename /opt/sage before
-building haskell-platform and rename it back after it finished building.
diff --git a/haskell/haskell-platform/haskell-platform.SlackBuild b/haskell/haskell-platform/haskell-platform.SlackBuild
deleted file mode 100644
index 8d4b268e7edb..000000000000
--- a/haskell/haskell-platform/haskell-platform.SlackBuild
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for The Haskell Platform
-
-# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com)
-# Public domain
-
-# 20120712 Christoph Willing <c.willing@uq.edu.au>
-# - bump version to 2012.2.0.0
-# - add configure option --enable-unsupported-ghc-version
-# (to allow latest ghc version used in current SBo)
-
-# Updated by Lionel Young <lionelyoung@gmail.com>
-
-PRGNAM=haskell-platform
-VERSION=${VERSION:-2013.2.0.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# If using freeflut, the libs may have been
-# named either libglut.* (replacing mesa's libglut.*) or libfreeglut.*
-strings /usr/lib${LIBDIRSUFFIX}/libglut.so |grep glEnd >/dev/null 2>/dev/null
-if [ $? -eq 0 ]; then
- GLUTFLAGS="-lglut "
-else
- GLUTFLAGS="-lfreeglut "
-fi
-
-# Recommended ghc version for this haskell-platform is ghc-7.6.3 but
-# to allow for other ghc versions (current SBo is ghc-7.6.2),
-# configure needs the --enable-unsupported-ghc-version option.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="$GLUTFLAGS" \
-./configure \
- --enable-unsupported-ghc-version \
- --prefix=/usr \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --libdir=/usr/lib${LIBDIRSUFFIX}
-
-# get path and version of ghc
-eval $(grep '^GHC=' scripts/config)
-eval $(grep '^GHC_PKG=' scripts/config)
-GHC_VERSION=$($GHC --numeric-version)
-
-# Don't allow GHC_PACKAGE_PATH overwrite
-patch -p1 < $CWD/not_overwrite_ghc_package_path.diff
-
-make
-
-# unsupport DESTDIR, so work around a bit
-patch -p1 < $CWD/not_update_pkg_db.diff
-sed -i "s:\(\./Setup copy\):\1 --destdir=$PKG:" scripts/install.sh
-make install
-# collecting config files
-PKGCONFDIR=$PKG/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-mkdir -p $PKGCONFDIR
-for pg in $(cat packages/platform.packages); do
- pkg_conf=packages/${pkg}/${pkg}.conf
- if [ -f $pkg_conf ]; then
- mv $pkg_conf $PKGCONFDIR
- fi
-done
-
-find $PKG | xargs 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
-if [ -d $PKG/usr/share/doc ]; then
- mv $PKG/usr/share/doc/* $PKG/usr/doc/
- rmdir $PKG/usr/share/doc
-fi
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-echo "$GHC_PKG recache" > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/haskell/haskell-platform/haskell-platform.info b/haskell/haskell-platform/haskell-platform.info
deleted file mode 100644
index 81c284ad09ca..000000000000
--- a/haskell/haskell-platform/haskell-platform.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="haskell-platform"
-VERSION="2013.2.0.0"
-HOMEPAGE="http://www.haskell.org/platform/linux.html"
-DOWNLOAD="http://www.haskell.org/platform/download/2013.2.0.0/haskell-platform-2013.2.0.0.tar.gz"
-MD5SUM="36d02a889ad57a6345b167f5c7a6c164"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ghc"
-MAINTAINER="Lionel Young"
-EMAIL="lionelyoung@gmail.com"
diff --git a/haskell/haskell-platform/not_overwrite_ghc_package_path.diff b/haskell/haskell-platform/not_overwrite_ghc_package_path.diff
deleted file mode 100644
index c4e8889dc2c3..000000000000
--- a/haskell/haskell-platform/not_overwrite_ghc_package_path.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur haskell-platform-2013.2.0.0.orig/scripts/build.sh haskell-platform-2013.2.0.0/scripts/build.sh
---- haskell-platform-2013.2.0.0.orig/scripts/build.sh 2013-05-04 13:56:20.000000000 -0700
-+++ haskell-platform-2013.2.0.0/scripts/build.sh 2014-03-26 00:53:37.800346652 -0700
-@@ -66,7 +66,7 @@
-
- [ -f Setup ] && rm Setup
-
-- GHC_PACKAGE_PATH="${ORIG_GHC_PACKAGE_PATH}" \
-+ #GHC_PACKAGE_PATH="${ORIG_GHC_PACKAGE_PATH}" \
- tell ${GHC} --make Setup -o Setup -package "${CABAL_PKG_VER}" \
- || die "Compiling the Setup script failed"
- [ -x Setup ] || die "The Setup script does not exist or cannot be run"
diff --git a/haskell/haskell-platform/not_update_pkg_db.diff b/haskell/haskell-platform/not_update_pkg_db.diff
deleted file mode 100644
index 968e32e40769..000000000000
--- a/haskell/haskell-platform/not_update_pkg_db.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- ./scripts/install.sh.orig 2010-12-01 09:49:32.169509005 +0800
-+++ ./scripts/install.sh 2010-12-01 09:58:02.551384509 +0800
-@@ -27,15 +27,16 @@
- ./Setup register ${VERBOSE} --gen-pkg-config="${PKG}.conf" \
- || die "Generating the registration information for the package ${PKG} failed"
-
-- if [ -f ${PKG}.conf ]; then
-- if test "${USER_INSTALL}" = "YES"; then
-- GHC_PKG_DB="--user"
-- else
-- GHC_PKG_DB="--global"
-- fi
-- ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \
-- || die "Registering the package ${PKG} failed"
-- fi
-+# Uncomment to allow actually registering packages at building time
-+# if [ -f ${PKG}.conf ]; then
-+# if test "${USER_INSTALL}" = "YES"; then
-+# GHC_PKG_DB="--user"
-+# else
-+# GHC_PKG_DB="--global"
-+# fi
-+# ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \
-+# || die "Registering the package ${PKG} failed"
-+# fi
-
- cd ../..
- }
diff --git a/haskell/haskell-platform/slack-desc b/haskell/haskell-platform/slack-desc
deleted file mode 100644
index bcef5c2484c4..000000000000
--- a/haskell/haskell-platform/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-haskell-platform: haskell-platform (The Haskell Platform)
-haskell-platform:
-haskell-platform: The Haskell Platform is a comprehensive, robust development for
-haskell-platform: programming in Haskell, which not only makes it trivial to get up
-haskell-platform: and running with a full Haskell development environment, but also
-haskell-platform: provides a comprehensive, standard base for both commercial and
-haskell-platform: open source Haskell development that maximises interoperability
-haskell-platform: and stability of your code.
-haskell-platform:
-haskell-platform: Homepage: http://www.haskell.org/platform/linux.html
-haskell-platform: