diff options
Diffstat (limited to 'development')
25 files changed, 0 insertions, 712 deletions
diff --git a/development/ghc/README b/development/ghc/README deleted file mode 100644 index d4cc3b8fd5..0000000000 --- a/development/ghc/README +++ /dev/null @@ -1,3 +0,0 @@ -GHC is a state-of-the-art, open source, compiler and interactive environment -for the functional language Haskell. This is a complete build, including -interactive system and profiling libraries and documentation. diff --git a/development/ghc/ghc.SlackBuild b/development/ghc/ghc.SlackBuild deleted file mode 100644 index 8d4f600d77..0000000000 --- a/development/ghc/ghc.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/sh - -# Slackware build script for ghc - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=ghc -VERSION=${VERSION:-7.0.1} -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="" - TARARCH=i386 -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" - TARARCH=i386 -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" - TARARCH="x86_64" -else - printf "$ARCH is not supported...\n" - exit 1 -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-$TARARCH-unknown-linux.tar.bz2 -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 [ "$TARARCH" = "i386" ] ; then - # In i386 binary distribution, the prebuilt binaries used to install GHC - # are linked against libffi.so.5, but slackware ships with libffi.so.4 - # (in d/gcc-java). - # Luckily, GHC includes its own copy of libffi. It's only under different - # name (to avoid conflicts with system libffi). - # For the duration of the "configure && make install", let's copy the - # bundled libffi to expected name. - cp libffi/dist-install/build/libHSffi-ghc${VERSION}.so libffi/libffi.so.5 - if [ "x$LD_LIBRARY_PATH" = "x" ] ; then - LD_LIBRARY_PATH=$TMP/$PRGNAM-$VERSION/libffi/ - else - LD_LIBRARY_PATH=$TMP/$PRGNAM-$VERSION/libffi/:$LD_LIBRARY_PATH - fi - export LD_LIBRARY_PATH -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --libdir=/usr/lib${LIBDIRSUFFIX} - -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -cp -a INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/ghc/ghc.info b/development/ghc/ghc.info deleted file mode 100644 index e67628dfbd..0000000000 --- a/development/ghc/ghc.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="ghc" -VERSION="7.0.1" -HOMEPAGE="http://haskell.org/ghc/" -DOWNLOAD="http://haskell.org/ghc/dist/7.0.1/ghc-7.0.1-i386-unknown-linux.tar.bz2" -MD5SUM="a06ca14cd21a7c79e77c360d8c3c405f" -DOWNLOAD_x86_64="http://haskell.org/ghc/dist/7.0.1/ghc-7.0.1-x86_64-unknown-linux.tar.bz2" -MD5SUM_x86_64="618cf4a24269ac03292fa5abb0ae3b82" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/development/ghc/slack-desc b/development/ghc/slack-desc deleted file mode 100644 index a1743f135e..0000000000 --- a/development/ghc/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 ':'. - - |-----handy-ruler------------------------------------------------------| -ghc: ghc (The Glasgow Haskell Compiler) -ghc: -ghc: GHC is a state-of-the-art, open source, compiler and interactive -ghc: environment for the functional language Haskell. -ghc: This is a complete build, including interactive system, profiling -ghc: libraries and documentation. -ghc: -ghc: Homepage: http://haskell.org/ghc/ -ghc: -ghc: -ghc: diff --git a/development/haskell-platform/README b/development/haskell-platform/README deleted file mode 100644 index da1e3acc1e..0000000000 --- a/development/haskell-platform/README +++ /dev/null @@ -1,12 +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. - -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. diff --git a/development/haskell-platform/haskell-platform.SlackBuild b/development/haskell-platform/haskell-platform.SlackBuild deleted file mode 100644 index 0c892ec378..0000000000 --- a/development/haskell-platform/haskell-platform.SlackBuild +++ /dev/null @@ -1,98 +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 - -PRGNAM=haskell-platform -VERSION=${VERSION:-2010.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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --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) - -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 pkg 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/development/haskell-platform/haskell-platform.info b/development/haskell-platform/haskell-platform.info deleted file mode 100644 index 0141bba4f7..0000000000 --- a/development/haskell-platform/haskell-platform.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-platform" -VERSION="2010.2.0.0" -HOMEPAGE="http://hackage.haskell.org/platform/" -DOWNLOAD="http://hackage.haskell.org/platform/2010.2.0.0/haskell-platform-2010.2.0.0.tar.gz" -MD5SUM="9d1dd22a86bf2505591e6375f7dbe18e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Jockey S. Kyd" -EMAIL="jockey.kyd@gmail.com" -APPROVED="rworkman" diff --git a/development/haskell-platform/not_update_pkg_db.diff b/development/haskell-platform/not_update_pkg_db.diff deleted file mode 100644 index 968e32e407..0000000000 --- a/development/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/development/haskell-platform/slack-desc b/development/haskell-platform/slack-desc deleted file mode 100644 index 8480dc360d..0000000000 --- a/development/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 ':'. - - |-----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://hackage.haskell.org/platform/ -haskell-platform: diff --git a/development/haskell-test-framework-hunit/README b/development/haskell-test-framework-hunit/README deleted file mode 100644 index 3df4db2c11..0000000000 --- a/development/haskell-test-framework-hunit/README +++ /dev/null @@ -1,9 +0,0 @@ -HUnit support for the test-framework package. - -This requires ghc, haskell-HUnit, haskell-ansi-terminal, -haskell-hostname, haskell-transformers, haskell-xml, -haskell-ansi-wl-pprint, haskell-mtl, haskell-regex-base, -haskell-regex-posix, and haskell-test-framework. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/development/haskell-test-framework-hunit/doinst.sh b/development/haskell-test-framework-hunit/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/development/haskell-test-framework-hunit/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/development/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild b/development/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild deleted file mode 100644 index efc366ea2d..0000000000 --- a/development/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for test-framework-hunit - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-test-framework-hunit -VERSION=${VERSION:-0.2.6} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -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 $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.lhs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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 \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/haskell-test-framework-hunit/haskell-test-framework-hunit.info b/development/haskell-test-framework-hunit/haskell-test-framework-hunit.info deleted file mode 100644 index 9d263d70c3..0000000000 --- a/development/haskell-test-framework-hunit/haskell-test-framework-hunit.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-test-framework-hunit" -VERSION="0.2.6" -HOMEPAGE="http://hackage.haskell.org/package/test-framework-hunit" -DOWNLOAD="http://hackage.haskell.org/packages/archive/test-framework-hunit/0.2.6/test-framework-hunit-0.2.6.tar.gz" -MD5SUM="7c012ca5426d743b3cf35e231d6f6072" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/development/haskell-test-framework-hunit/slack-desc b/development/haskell-test-framework-hunit/slack-desc deleted file mode 100644 index 57badcfcd4..0000000000 --- a/development/haskell-test-framework-hunit/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 ':'. - - |-----handy-ruler------------------------------------------------------| -haskell-test-framework-hunit: haskell-test-framework-hunit (HUnit support for the test-framework) -haskell-test-framework-hunit: -haskell-test-framework-hunit: HUnit support for the test-framework package. -haskell-test-framework-hunit: -haskell-test-framework-hunit: -haskell-test-framework-hunit: -haskell-test-framework-hunit: -haskell-test-framework-hunit: -haskell-test-framework-hunit: -haskell-test-framework-hunit: -haskell-test-framework-hunit: diff --git a/development/haskell-test-framework-quickcheck2/README b/development/haskell-test-framework-quickcheck2/README deleted file mode 100644 index d414dd2cf4..0000000000 --- a/development/haskell-test-framework-quickcheck2/README +++ /dev/null @@ -1,9 +0,0 @@ -QuickCheck2 support for the test-framework package. - -This requires ghc, haskell-transformers, haskell-ansi-terminal, -haskell-hostname, haskell-xml, haskell-mtl, haskell-ansi-wl-pprint, -haskell-QuickCheck, haskell-regex-base, haskell-regex-posix, and -haskell-test-framework. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/development/haskell-test-framework-quickcheck2/doinst.sh b/development/haskell-test-framework-quickcheck2/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/development/haskell-test-framework-quickcheck2/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild b/development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild deleted file mode 100644 index ba6667fecf..0000000000 --- a/development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for test-framework-quickcheck2 - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-test-framework-quickcheck2 -VERSION=${VERSION:-0.2.9} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -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 $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.lhs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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 \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info b/development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info deleted file mode 100644 index 574551ae3b..0000000000 --- a/development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-test-framework-quickcheck2" -VERSION="0.2.9" -HOMEPAGE="http://hackage.haskell.org/package/test-framework-quickcheck2" -DOWNLOAD="http://hackage.haskell.org/packages/archive/test-framework-quickcheck2/0.2.9/test-framework-quickcheck2-0.2.9.tar.gz" -MD5SUM="65597d12c107770b4975de0000c45796" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/development/haskell-test-framework-quickcheck2/slack-desc b/development/haskell-test-framework-quickcheck2/slack-desc deleted file mode 100644 index 0a8a046466..0000000000 --- a/development/haskell-test-framework-quickcheck2/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 ':'. - - |-----handy-ruler------------------------------------------------------| -haskell-test-framework-quickcheck2: haskell-test-framework-quickcheck2 (test-framework QuickCheck2 addon) -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: QuickCheck2 support for the test-framework package. -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: -haskell-test-framework-quickcheck2: diff --git a/development/haskell-test-framework/README b/development/haskell-test-framework/README deleted file mode 100644 index fc115db6bb..0000000000 --- a/development/haskell-test-framework/README +++ /dev/null @@ -1,12 +0,0 @@ -Allows tests such as QuickCheck properties and HUnit test cases to -be assembled into test groups, run in parallel (but reported in -deterministic order, to aid diff interpretation) and filtered and -controlled by command line options. All of this comes with colored -test output, progress reporting and test statistics output. - -This requires ghc, haskell-ansi-terminal, haskell-hostname, -haskell-transformers, haskell-xml, haskell-ansi-wl-pprint, -haskell-mtl, haskell-regex-base, and haskell-regex-posix. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/development/haskell-test-framework/doinst.sh b/development/haskell-test-framework/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/development/haskell-test-framework/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/development/haskell-test-framework/haskell-test-framework.SlackBuild b/development/haskell-test-framework/haskell-test-framework.SlackBuild deleted file mode 100644 index 7fc39c94e8..0000000000 --- a/development/haskell-test-framework/haskell-test-framework.SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -# Slackware build script for test-framework - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-test-framework -VERSION=${VERSION:-0.3.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" - -GHC_VERSION=$(ghc --numeric-version) - -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 $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$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 {} \; - -# Enable "-dynamic" GHC options for the binary, not for the libs -patch -p0 <$CWD/test-framework_cabal.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.lhs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --flags="Dynamic" - -runghc Setup.lhs build -runghc Setup.lhs haddock -runghc Setup.lhs copy --destdir=$PKG -runghc Setup.lhs 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 \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/haskell-test-framework/haskell-test-framework.info b/development/haskell-test-framework/haskell-test-framework.info deleted file mode 100644 index 1a88ae9ac8..0000000000 --- a/development/haskell-test-framework/haskell-test-framework.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-test-framework" -VERSION="0.3.3" -HOMEPAGE="http://hackage.haskell.org/package/test-framework" -DOWNLOAD="http://hackage.haskell.org/packages/archive/test-framework/0.3.3/test-framework-0.3.3.tar.gz" -MD5SUM="b0a2486739bdc90638828faa5c846d32" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/development/haskell-test-framework/slack-desc b/development/haskell-test-framework/slack-desc deleted file mode 100644 index b6ca89d272..0000000000 --- a/development/haskell-test-framework/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 ':'. - - |-----handy-ruler------------------------------------------------------| -haskell-test-framework: haskell-test-framework (Framework for running and organising tests) -haskell-test-framework: -haskell-test-framework: Allows tests such as QuickCheck properties and HUnit test cases to -haskell-test-framework: be assembled into test groups, run in parallel (but reported in -haskell-test-framework: deterministic order, to aid diff interpretation) and filtered and -haskell-test-framework: controlled by command line options. All of this comes with colored -haskell-test-framework: test output, progress reporting and test statistics output. -haskell-test-framework: -haskell-test-framework: -haskell-test-framework: -haskell-test-framework: diff --git a/development/haskell-test-framework/test-framework_cabal.patch b/development/haskell-test-framework/test-framework_cabal.patch deleted file mode 100644 index 2bc5bb37ac..0000000000 --- a/development/haskell-test-framework/test-framework_cabal.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- test-framework.cabal.orig 2011-02-04 03:59:59.000000000 +0200 -+++ test-framework.cabal 2011-02-04 04:01:17.000000000 +0200 -@@ -21,6 +21,10 @@ - Description: Build the tests - Default: False - -+Flag Dynamic -+ Description: Link executable dynamically -+ Default: False -+ - - Library - Exposed-Modules: Test.Framework -@@ -102,6 +106,8 @@ - Cpp-Options: -DTEST - - Ghc-Options: -Wall -threaded -+ if flag(Dynamic) -+ Ghc-Options: -dynamic - - if impl(ghc) - Cpp-Options: -DCOMPILER_GHC |