From 6a511b1c665a1f7efecadaa3447af889b1dcba58 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 16 Mar 2011 01:20:14 -0500 Subject: haskell/*: Moved all of the Haskell stuff to here Signed-off-by: Robby Workman --- development/ghc/README | 3 - development/ghc/ghc.SlackBuild | 97 --------------------- development/ghc/ghc.info | 10 --- development/ghc/slack-desc | 19 ----- development/haskell-platform/README | 12 --- .../haskell-platform/haskell-platform.SlackBuild | 98 ---------------------- development/haskell-platform/haskell-platform.info | 10 --- .../haskell-platform/not_update_pkg_db.diff | 28 ------- development/haskell-platform/slack-desc | 19 ----- development/haskell-test-framework-hunit/README | 9 -- development/haskell-test-framework-hunit/doinst.sh | 1 - .../haskell-test-framework-hunit.SlackBuild | 90 -------------------- .../haskell-test-framework-hunit.info | 10 --- .../haskell-test-framework-hunit/slack-desc | 19 ----- .../haskell-test-framework-quickcheck2/README | 9 -- .../haskell-test-framework-quickcheck2/doinst.sh | 1 - .../haskell-test-framework-quickcheck2.SlackBuild | 90 -------------------- .../haskell-test-framework-quickcheck2.info | 10 --- .../haskell-test-framework-quickcheck2/slack-desc | 19 ----- development/haskell-test-framework/README | 12 --- development/haskell-test-framework/doinst.sh | 1 - .../haskell-test-framework.SlackBuild | 94 --------------------- .../haskell-test-framework.info | 10 --- development/haskell-test-framework/slack-desc | 19 ----- .../test-framework_cabal.patch | 22 ----- haskell/ghc/README | 3 + haskell/ghc/ghc.SlackBuild | 97 +++++++++++++++++++++ haskell/ghc/ghc.info | 10 +++ haskell/ghc/slack-desc | 19 +++++ haskell/haskell-GLURaw/README | 8 ++ haskell/haskell-GLURaw/doinst.sh | 1 + haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-GLURaw/haskell-GLURaw.info | 10 +++ haskell/haskell-GLURaw/slack-desc | 19 +++++ haskell/haskell-GLUT/README | 8 ++ haskell/haskell-GLUT/doinst.sh | 1 + haskell/haskell-GLUT/haskell-GLUT.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-GLUT/haskell-GLUT.info | 10 +++ haskell/haskell-GLUT/slack-desc | 19 +++++ haskell/haskell-HTTP/README | 9 ++ haskell/haskell-HTTP/doinst.sh | 1 + haskell/haskell-HTTP/haskell-HTTP.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-HTTP/haskell-HTTP.info | 10 +++ haskell/haskell-HTTP/slack-desc | 19 +++++ haskell/haskell-HUnit/README | 7 ++ haskell/haskell-HUnit/doinst.sh | 1 + haskell/haskell-HUnit/haskell-HUnit.SlackBuild | 94 +++++++++++++++++++++ haskell/haskell-HUnit/haskell-HUnit.info | 10 +++ haskell/haskell-HUnit/slack-desc | 19 +++++ haskell/haskell-MonadCatchIO-mtl/README | 6 ++ haskell/haskell-MonadCatchIO-mtl/doinst.sh | 1 + .../haskell-MonadCatchIO-mtl.SlackBuild | 91 ++++++++++++++++++++ .../haskell-MonadCatchIO-mtl.info | 10 +++ haskell/haskell-MonadCatchIO-mtl/slack-desc | 19 +++++ haskell/haskell-ObjectName/README | 9 ++ haskell/haskell-ObjectName/doinst.sh | 1 + .../haskell-ObjectName.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-ObjectName/haskell-ObjectName.info | 10 +++ haskell/haskell-ObjectName/slack-desc | 19 +++++ haskell/haskell-OpenGL/README | 8 ++ haskell/haskell-OpenGL/doinst.sh | 1 + haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-OpenGL/haskell-OpenGL.info | 10 +++ haskell/haskell-OpenGL/slack-desc | 19 +++++ haskell/haskell-OpenGLRaw/README | 14 ++++ haskell/haskell-OpenGLRaw/doinst.sh | 1 + .../haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.info | 10 +++ haskell/haskell-OpenGLRaw/slack-desc | 19 +++++ haskell/haskell-QuickCheck/README | 10 +++ haskell/haskell-QuickCheck/doinst.sh | 1 + .../haskell-QuickCheck.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-QuickCheck/haskell-QuickCheck.info | 10 +++ haskell/haskell-QuickCheck/slack-desc | 19 +++++ haskell/haskell-StateVar/README | 7 ++ haskell/haskell-StateVar/doinst.sh | 1 + .../haskell-StateVar/haskell-StateVar.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-StateVar/haskell-StateVar.info | 10 +++ haskell/haskell-StateVar/slack-desc | 19 +++++ haskell/haskell-Tensor/README | 7 ++ haskell/haskell-Tensor/doinst.sh | 1 + haskell/haskell-Tensor/haskell-Tensor.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-Tensor/haskell-Tensor.info | 10 +++ haskell/haskell-Tensor/slack-desc | 19 +++++ haskell/haskell-X11-xft/README | 6 ++ haskell/haskell-X11-xft/doinst.sh | 1 + haskell/haskell-X11-xft/haskell-X11-xft.SlackBuild | 89 ++++++++++++++++++++ haskell/haskell-X11-xft/haskell-X11-xft.info | 10 +++ haskell/haskell-X11-xft/slack-desc | 19 +++++ haskell/haskell-X11/README | 9 ++ haskell/haskell-X11/doinst.sh | 1 + haskell/haskell-X11/haskell-X11.SlackBuild | 87 +++++++++++++++++++ haskell/haskell-X11/haskell-X11.info | 10 +++ haskell/haskell-X11/slack-desc | 19 +++++ haskell/haskell-ansi-terminal/README | 8 ++ haskell/haskell-ansi-terminal/doinst.sh | 1 + .../haskell-ansi-terminal.SlackBuild | 90 ++++++++++++++++++++ .../haskell-ansi-terminal.info | 10 +++ haskell/haskell-ansi-terminal/slack-desc | 19 +++++ haskell/haskell-ansi-wl-pprint/README | 8 ++ haskell/haskell-ansi-wl-pprint/doinst.sh | 1 + .../haskell-ansi-wl-pprint.SlackBuild | 90 ++++++++++++++++++++ .../haskell-ansi-wl-pprint.info | 10 +++ haskell/haskell-ansi-wl-pprint/slack-desc | 19 +++++ haskell/haskell-binary/README | 8 ++ haskell/haskell-binary/doinst.sh | 1 + haskell/haskell-binary/haskell-binary.SlackBuild | 88 +++++++++++++++++++ haskell/haskell-binary/haskell-binary.info | 10 +++ haskell/haskell-binary/slack-desc | 19 +++++ haskell/haskell-cgi/README | 6 ++ haskell/haskell-cgi/doinst.sh | 1 + haskell/haskell-cgi/haskell-cgi.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-cgi/haskell-cgi.info | 10 +++ haskell/haskell-cgi/slack-desc | 19 +++++ haskell/haskell-dataenc/README | 8 ++ haskell/haskell-dataenc/doinst.sh | 1 + haskell/haskell-dataenc/haskell-dataenc.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-dataenc/haskell-dataenc.info | 10 +++ haskell/haskell-dataenc/slack-desc | 19 +++++ haskell/haskell-deepseq/README | 7 ++ haskell/haskell-deepseq/doinst.sh | 1 + haskell/haskell-deepseq/haskell-deepseq.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-deepseq/haskell-deepseq.info | 10 +++ haskell/haskell-deepseq/slack-desc | 19 +++++ haskell/haskell-digest/README | 8 ++ haskell/haskell-digest/doinst.sh | 1 + haskell/haskell-digest/haskell-digest.SlackBuild | 88 +++++++++++++++++++ haskell/haskell-digest/haskell-digest.info | 10 +++ haskell/haskell-digest/slack-desc | 19 +++++ haskell/haskell-editline/README | 10 +++ haskell/haskell-editline/doinst.sh | 1 + .../haskell-editline/haskell-editline.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-editline/haskell-editline.info | 10 +++ haskell/haskell-editline/slack-desc | 19 +++++ haskell/haskell-fgl/README | 7 ++ haskell/haskell-fgl/doinst.sh | 1 + haskell/haskell-fgl/haskell-fgl.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-fgl/haskell-fgl.info | 10 +++ haskell/haskell-fgl/slack-desc | 19 +++++ haskell/haskell-ghc-paths/README | 6 ++ haskell/haskell-ghc-paths/doinst.sh | 1 + .../haskell-ghc-paths/haskell-ghc-paths.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-ghc-paths/haskell-ghc-paths.info | 10 +++ haskell/haskell-ghc-paths/slack-desc | 19 +++++ haskell/haskell-hashed-storage/README | 13 +++ haskell/haskell-hashed-storage/doinst.sh | 1 + .../haskell-hashed-storage.SlackBuild | 90 ++++++++++++++++++++ .../haskell-hashed-storage.info | 10 +++ haskell/haskell-hashed-storage/slack-desc | 19 +++++ haskell/haskell-haskeline/README | 10 +++ haskell/haskell-haskeline/doinst.sh | 1 + .../haskell-haskeline/haskell-haskeline.SlackBuild | 91 ++++++++++++++++++++ haskell/haskell-haskeline/haskell-haskeline.info | 10 +++ haskell/haskell-haskeline/slack-desc | 19 +++++ haskell/haskell-haskell-src/README | 7 ++ haskell/haskell-haskell-src/doinst.sh | 1 + .../haskell-haskell-src.SlackBuild | 90 ++++++++++++++++++++ .../haskell-haskell-src/haskell-haskell-src.info | 10 +++ haskell/haskell-haskell-src/slack-desc | 19 +++++ haskell/haskell-hinotify/README | 8 ++ haskell/haskell-hinotify/doinst.sh | 1 + .../haskell-hinotify/haskell-hinotify.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-hinotify/haskell-hinotify.info | 10 +++ haskell/haskell-hinotify/slack-desc | 19 +++++ haskell/haskell-hostname/README | 7 ++ haskell/haskell-hostname/doinst.sh | 1 + .../haskell-hostname/haskell-hostname.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-hostname/haskell-hostname.info | 10 +++ haskell/haskell-hostname/slack-desc | 19 +++++ haskell/haskell-html/README | 7 ++ haskell/haskell-html/doinst.sh | 1 + haskell/haskell-html/haskell-html.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-html/haskell-html.info | 10 +++ haskell/haskell-html/slack-desc | 19 +++++ haskell/haskell-lcs/README | 7 ++ haskell/haskell-lcs/doinst.sh | 1 + haskell/haskell-lcs/haskell-lcs.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-lcs/haskell-lcs.info | 10 +++ haskell/haskell-lcs/slack-desc | 19 +++++ haskell/haskell-mmap/README | 10 +++ haskell/haskell-mmap/doinst.sh | 1 + haskell/haskell-mmap/haskell-mmap.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-mmap/haskell-mmap.info | 10 +++ haskell/haskell-mmap/slack-desc | 19 +++++ haskell/haskell-mtl/README | 9 ++ haskell/haskell-mtl/doinst.sh | 1 + haskell/haskell-mtl/haskell-mtl.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-mtl/haskell-mtl.info | 10 +++ haskell/haskell-mtl/slack-desc | 19 +++++ haskell/haskell-network/README | 7 ++ haskell/haskell-network/doinst.sh | 1 + haskell/haskell-network/haskell-network.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-network/haskell-network.info | 10 +++ haskell/haskell-network/slack-desc | 19 +++++ haskell/haskell-packedstring/README | 6 ++ haskell/haskell-packedstring/doinst.sh | 1 + .../haskell-packedstring.SlackBuild | 90 ++++++++++++++++++++ .../haskell-packedstring/haskell-packedstring.info | 10 +++ haskell/haskell-packedstring/slack-desc | 19 +++++ haskell/haskell-parallel/README | 6 ++ haskell/haskell-parallel/doinst.sh | 1 + .../haskell-parallel/haskell-parallel.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-parallel/haskell-parallel.info | 10 +++ haskell/haskell-parallel/slack-desc | 19 +++++ haskell/haskell-parsec/README | 10 +++ haskell/haskell-parsec/doinst.sh | 1 + haskell/haskell-parsec/haskell-parsec.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-parsec/haskell-parsec.info | 10 +++ haskell/haskell-parsec/slack-desc | 19 +++++ haskell/haskell-platform/README | 12 +++ .../haskell-platform/haskell-platform.SlackBuild | 98 ++++++++++++++++++++++ haskell/haskell-platform/haskell-platform.info | 10 +++ haskell/haskell-platform/not_update_pkg_db.diff | 28 +++++++ haskell/haskell-platform/slack-desc | 19 +++++ haskell/haskell-regex-base/README | 6 ++ haskell/haskell-regex-base/doinst.sh | 1 + .../haskell-regex-base.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-regex-base/haskell-regex-base.info | 10 +++ haskell/haskell-regex-base/slack-desc | 19 +++++ haskell/haskell-regex-compat/README | 6 ++ haskell/haskell-regex-compat/doinst.sh | 1 + .../haskell-regex-compat.SlackBuild | 90 ++++++++++++++++++++ .../haskell-regex-compat/haskell-regex-compat.info | 10 +++ haskell/haskell-regex-compat/slack-desc | 19 +++++ haskell/haskell-regex-posix/README | 6 ++ haskell/haskell-regex-posix/doinst.sh | 1 + .../haskell-regex-posix.SlackBuild | 90 ++++++++++++++++++++ .../haskell-regex-posix/haskell-regex-posix.info | 10 +++ haskell/haskell-regex-posix/slack-desc | 19 +++++ haskell/haskell-stm/README | 6 ++ haskell/haskell-stm/doinst.sh | 1 + haskell/haskell-stm/haskell-stm.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-stm/haskell-stm.info | 10 +++ haskell/haskell-stm/slack-desc | 19 +++++ haskell/haskell-syb/README | 10 +++ haskell/haskell-syb/doinst.sh | 1 + haskell/haskell-syb/haskell-syb.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-syb/haskell-syb.info | 10 +++ haskell/haskell-syb/slack-desc | 19 +++++ haskell/haskell-tar/README | 11 +++ haskell/haskell-tar/doinst.sh | 1 + haskell/haskell-tar/haskell-tar.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-tar/haskell-tar.info | 10 +++ haskell/haskell-tar/slack-desc | 19 +++++ haskell/haskell-terminfo/README | 9 ++ haskell/haskell-terminfo/doinst.sh | 1 + .../haskell-terminfo/haskell-terminfo.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-terminfo/haskell-terminfo.info | 10 +++ haskell/haskell-terminfo/slack-desc | 19 +++++ haskell/haskell-test-framework-hunit/README | 9 ++ haskell/haskell-test-framework-hunit/doinst.sh | 1 + .../haskell-test-framework-hunit.SlackBuild | 90 ++++++++++++++++++++ .../haskell-test-framework-hunit.info | 10 +++ haskell/haskell-test-framework-hunit/slack-desc | 19 +++++ haskell/haskell-test-framework-quickcheck2/README | 9 ++ .../haskell-test-framework-quickcheck2/doinst.sh | 1 + .../haskell-test-framework-quickcheck2.SlackBuild | 90 ++++++++++++++++++++ .../haskell-test-framework-quickcheck2.info | 10 +++ .../haskell-test-framework-quickcheck2/slack-desc | 19 +++++ haskell/haskell-test-framework/README | 12 +++ haskell/haskell-test-framework/doinst.sh | 1 + .../haskell-test-framework.SlackBuild | 94 +++++++++++++++++++++ .../haskell-test-framework.info | 10 +++ haskell/haskell-test-framework/slack-desc | 19 +++++ .../test-framework_cabal.patch | 22 +++++ haskell/haskell-texmath/README | 8 ++ haskell/haskell-texmath/doinst.sh | 1 + haskell/haskell-texmath/haskell-texmath.SlackBuild | 92 ++++++++++++++++++++ haskell/haskell-texmath/haskell-texmath.info | 10 +++ haskell/haskell-texmath/slack-desc | 19 +++++ haskell/haskell-texmath/texmath-utf8.patch | 28 +++++++ haskell/haskell-text/README | 7 ++ haskell/haskell-text/doinst.sh | 1 + haskell/haskell-text/haskell-text.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-text/haskell-text.info | 10 +++ haskell/haskell-text/slack-desc | 19 +++++ haskell/haskell-transformers/README | 10 +++ haskell/haskell-transformers/doinst.sh | 1 + .../haskell-transformers.SlackBuild | 90 ++++++++++++++++++++ .../haskell-transformers/haskell-transformers.info | 10 +++ haskell/haskell-transformers/slack-desc | 19 +++++ haskell/haskell-utf8-string/README | 5 ++ haskell/haskell-utf8-string/doinst.sh | 1 + .../haskell-utf8-string.SlackBuild | 90 ++++++++++++++++++++ .../haskell-utf8-string/haskell-utf8-string.info | 10 +++ haskell/haskell-utf8-string/slack-desc | 19 +++++ haskell/haskell-xhtml/README | 7 ++ haskell/haskell-xhtml/doinst.sh | 1 + haskell/haskell-xhtml/haskell-xhtml.SlackBuild | 90 ++++++++++++++++++++ haskell/haskell-xhtml/haskell-xhtml.info | 10 +++ haskell/haskell-xhtml/slack-desc | 19 +++++ haskell/haskell-xml/README | 6 ++ haskell/haskell-xml/doinst.sh | 1 + haskell/haskell-xml/haskell-xml.SlackBuild | 86 +++++++++++++++++++ haskell/haskell-xml/haskell-xml.info | 10 +++ haskell/haskell-xml/slack-desc | 19 +++++ haskell/haskell-zip-archive/README | 8 ++ haskell/haskell-zip-archive/doinst.sh | 1 + .../haskell-zip-archive.SlackBuild | 88 +++++++++++++++++++ .../haskell-zip-archive/haskell-zip-archive.info | 10 +++ haskell/haskell-zip-archive/slack-desc | 19 +++++ haskell/haskell-zlib/README | 9 ++ haskell/haskell-zlib/doinst.sh | 1 + haskell/haskell-zlib/haskell-zlib.SlackBuild | 88 +++++++++++++++++++ haskell/haskell-zlib/haskell-zlib.info | 10 +++ haskell/haskell-zlib/slack-desc | 19 +++++ libraries/haskell-GLURaw/README | 8 -- libraries/haskell-GLURaw/doinst.sh | 1 - libraries/haskell-GLURaw/haskell-GLURaw.SlackBuild | 90 -------------------- libraries/haskell-GLURaw/haskell-GLURaw.info | 10 --- libraries/haskell-GLURaw/slack-desc | 19 ----- libraries/haskell-GLUT/README | 8 -- libraries/haskell-GLUT/doinst.sh | 1 - libraries/haskell-GLUT/haskell-GLUT.SlackBuild | 90 -------------------- libraries/haskell-GLUT/haskell-GLUT.info | 10 --- libraries/haskell-GLUT/slack-desc | 19 ----- libraries/haskell-HTTP/README | 9 -- libraries/haskell-HTTP/doinst.sh | 1 - libraries/haskell-HTTP/haskell-HTTP.SlackBuild | 90 -------------------- libraries/haskell-HTTP/haskell-HTTP.info | 10 --- libraries/haskell-HTTP/slack-desc | 19 ----- libraries/haskell-HUnit/README | 7 -- libraries/haskell-HUnit/doinst.sh | 1 - libraries/haskell-HUnit/haskell-HUnit.SlackBuild | 94 --------------------- libraries/haskell-HUnit/haskell-HUnit.info | 10 --- libraries/haskell-HUnit/slack-desc | 19 ----- libraries/haskell-MonadCatchIO-mtl/README | 6 -- libraries/haskell-MonadCatchIO-mtl/doinst.sh | 1 - .../haskell-MonadCatchIO-mtl.SlackBuild | 91 -------------------- .../haskell-MonadCatchIO-mtl.info | 10 --- libraries/haskell-MonadCatchIO-mtl/slack-desc | 19 ----- libraries/haskell-ObjectName/README | 9 -- libraries/haskell-ObjectName/doinst.sh | 1 - .../haskell-ObjectName.SlackBuild | 90 -------------------- .../haskell-ObjectName/haskell-ObjectName.info | 10 --- libraries/haskell-ObjectName/slack-desc | 19 ----- libraries/haskell-OpenGL/README | 8 -- libraries/haskell-OpenGL/doinst.sh | 1 - libraries/haskell-OpenGL/haskell-OpenGL.SlackBuild | 90 -------------------- libraries/haskell-OpenGL/haskell-OpenGL.info | 10 --- libraries/haskell-OpenGL/slack-desc | 19 ----- libraries/haskell-OpenGLRaw/README | 14 ---- libraries/haskell-OpenGLRaw/doinst.sh | 1 - .../haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild | 90 -------------------- libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.info | 10 --- libraries/haskell-OpenGLRaw/slack-desc | 19 ----- libraries/haskell-QuickCheck/README | 10 --- libraries/haskell-QuickCheck/doinst.sh | 1 - .../haskell-QuickCheck.SlackBuild | 90 -------------------- .../haskell-QuickCheck/haskell-QuickCheck.info | 10 --- libraries/haskell-QuickCheck/slack-desc | 19 ----- libraries/haskell-StateVar/README | 7 -- libraries/haskell-StateVar/doinst.sh | 1 - .../haskell-StateVar/haskell-StateVar.SlackBuild | 90 -------------------- libraries/haskell-StateVar/haskell-StateVar.info | 10 --- libraries/haskell-StateVar/slack-desc | 19 ----- libraries/haskell-Tensor/README | 7 -- libraries/haskell-Tensor/doinst.sh | 1 - libraries/haskell-Tensor/haskell-Tensor.SlackBuild | 90 -------------------- libraries/haskell-Tensor/haskell-Tensor.info | 10 --- libraries/haskell-Tensor/slack-desc | 19 ----- libraries/haskell-X11-xft/README | 6 -- libraries/haskell-X11-xft/doinst.sh | 1 - .../haskell-X11-xft/haskell-X11-xft.SlackBuild | 89 -------------------- libraries/haskell-X11-xft/haskell-X11-xft.info | 10 --- libraries/haskell-X11-xft/slack-desc | 19 ----- libraries/haskell-X11/README | 9 -- libraries/haskell-X11/doinst.sh | 1 - libraries/haskell-X11/haskell-X11.SlackBuild | 87 ------------------- libraries/haskell-X11/haskell-X11.info | 10 --- libraries/haskell-X11/slack-desc | 19 ----- libraries/haskell-ansi-terminal/README | 8 -- libraries/haskell-ansi-terminal/doinst.sh | 1 - .../haskell-ansi-terminal.SlackBuild | 90 -------------------- .../haskell-ansi-terminal.info | 10 --- libraries/haskell-ansi-terminal/slack-desc | 19 ----- libraries/haskell-ansi-wl-pprint/README | 8 -- libraries/haskell-ansi-wl-pprint/doinst.sh | 1 - .../haskell-ansi-wl-pprint.SlackBuild | 90 -------------------- .../haskell-ansi-wl-pprint.info | 10 --- libraries/haskell-ansi-wl-pprint/slack-desc | 19 ----- libraries/haskell-binary/README | 8 -- libraries/haskell-binary/doinst.sh | 1 - libraries/haskell-binary/haskell-binary.SlackBuild | 88 ------------------- libraries/haskell-binary/haskell-binary.info | 10 --- libraries/haskell-binary/slack-desc | 19 ----- libraries/haskell-cgi/README | 6 -- libraries/haskell-cgi/doinst.sh | 1 - libraries/haskell-cgi/haskell-cgi.SlackBuild | 90 -------------------- libraries/haskell-cgi/haskell-cgi.info | 10 --- libraries/haskell-cgi/slack-desc | 19 ----- libraries/haskell-dataenc/README | 8 -- libraries/haskell-dataenc/doinst.sh | 1 - .../haskell-dataenc/haskell-dataenc.SlackBuild | 90 -------------------- libraries/haskell-dataenc/haskell-dataenc.info | 10 --- libraries/haskell-dataenc/slack-desc | 19 ----- libraries/haskell-deepseq/README | 7 -- libraries/haskell-deepseq/doinst.sh | 1 - .../haskell-deepseq/haskell-deepseq.SlackBuild | 90 -------------------- libraries/haskell-deepseq/haskell-deepseq.info | 10 --- libraries/haskell-deepseq/slack-desc | 19 ----- libraries/haskell-digest/README | 8 -- libraries/haskell-digest/doinst.sh | 1 - libraries/haskell-digest/haskell-digest.SlackBuild | 88 ------------------- libraries/haskell-digest/haskell-digest.info | 10 --- libraries/haskell-digest/slack-desc | 19 ----- libraries/haskell-editline/README | 10 --- libraries/haskell-editline/doinst.sh | 1 - .../haskell-editline/haskell-editline.SlackBuild | 90 -------------------- libraries/haskell-editline/haskell-editline.info | 10 --- libraries/haskell-editline/slack-desc | 19 ----- libraries/haskell-fgl/README | 7 -- libraries/haskell-fgl/doinst.sh | 1 - libraries/haskell-fgl/haskell-fgl.SlackBuild | 90 -------------------- libraries/haskell-fgl/haskell-fgl.info | 10 --- libraries/haskell-fgl/slack-desc | 19 ----- libraries/haskell-ghc-paths/README | 6 -- libraries/haskell-ghc-paths/doinst.sh | 1 - .../haskell-ghc-paths/haskell-ghc-paths.SlackBuild | 90 -------------------- libraries/haskell-ghc-paths/haskell-ghc-paths.info | 10 --- libraries/haskell-ghc-paths/slack-desc | 19 ----- libraries/haskell-hashed-storage/README | 13 --- libraries/haskell-hashed-storage/doinst.sh | 1 - .../haskell-hashed-storage.SlackBuild | 90 -------------------- .../haskell-hashed-storage.info | 10 --- libraries/haskell-hashed-storage/slack-desc | 19 ----- libraries/haskell-haskeline/README | 10 --- libraries/haskell-haskeline/doinst.sh | 1 - .../haskell-haskeline/haskell-haskeline.SlackBuild | 91 -------------------- libraries/haskell-haskeline/haskell-haskeline.info | 10 --- libraries/haskell-haskeline/slack-desc | 19 ----- libraries/haskell-haskell-src/README | 7 -- libraries/haskell-haskell-src/doinst.sh | 1 - .../haskell-haskell-src.SlackBuild | 90 -------------------- .../haskell-haskell-src/haskell-haskell-src.info | 10 --- libraries/haskell-haskell-src/slack-desc | 19 ----- libraries/haskell-hinotify/README | 8 -- libraries/haskell-hinotify/doinst.sh | 1 - .../haskell-hinotify/haskell-hinotify.SlackBuild | 90 -------------------- libraries/haskell-hinotify/haskell-hinotify.info | 10 --- libraries/haskell-hinotify/slack-desc | 19 ----- libraries/haskell-hostname/README | 7 -- libraries/haskell-hostname/doinst.sh | 1 - .../haskell-hostname/haskell-hostname.SlackBuild | 90 -------------------- libraries/haskell-hostname/haskell-hostname.info | 10 --- libraries/haskell-hostname/slack-desc | 19 ----- libraries/haskell-html/README | 7 -- libraries/haskell-html/doinst.sh | 1 - libraries/haskell-html/haskell-html.SlackBuild | 90 -------------------- libraries/haskell-html/haskell-html.info | 10 --- libraries/haskell-html/slack-desc | 19 ----- libraries/haskell-lcs/README | 7 -- libraries/haskell-lcs/doinst.sh | 1 - libraries/haskell-lcs/haskell-lcs.SlackBuild | 90 -------------------- libraries/haskell-lcs/haskell-lcs.info | 10 --- libraries/haskell-lcs/slack-desc | 19 ----- libraries/haskell-mmap/README | 10 --- libraries/haskell-mmap/doinst.sh | 1 - libraries/haskell-mmap/haskell-mmap.SlackBuild | 90 -------------------- libraries/haskell-mmap/haskell-mmap.info | 10 --- libraries/haskell-mmap/slack-desc | 19 ----- libraries/haskell-mtl/README | 9 -- libraries/haskell-mtl/doinst.sh | 1 - libraries/haskell-mtl/haskell-mtl.SlackBuild | 90 -------------------- libraries/haskell-mtl/haskell-mtl.info | 10 --- libraries/haskell-mtl/slack-desc | 19 ----- libraries/haskell-network/README | 7 -- libraries/haskell-network/doinst.sh | 1 - .../haskell-network/haskell-network.SlackBuild | 90 -------------------- libraries/haskell-network/haskell-network.info | 10 --- libraries/haskell-network/slack-desc | 19 ----- libraries/haskell-packedstring/README | 6 -- libraries/haskell-packedstring/doinst.sh | 1 - .../haskell-packedstring.SlackBuild | 90 -------------------- .../haskell-packedstring/haskell-packedstring.info | 10 --- libraries/haskell-packedstring/slack-desc | 19 ----- libraries/haskell-parallel/README | 6 -- libraries/haskell-parallel/doinst.sh | 1 - .../haskell-parallel/haskell-parallel.SlackBuild | 90 -------------------- libraries/haskell-parallel/haskell-parallel.info | 10 --- libraries/haskell-parallel/slack-desc | 19 ----- libraries/haskell-parsec/README | 10 --- libraries/haskell-parsec/doinst.sh | 1 - libraries/haskell-parsec/haskell-parsec.SlackBuild | 90 -------------------- libraries/haskell-parsec/haskell-parsec.info | 10 --- libraries/haskell-parsec/slack-desc | 19 ----- libraries/haskell-regex-base/README | 6 -- libraries/haskell-regex-base/doinst.sh | 1 - .../haskell-regex-base.SlackBuild | 90 -------------------- .../haskell-regex-base/haskell-regex-base.info | 10 --- libraries/haskell-regex-base/slack-desc | 19 ----- libraries/haskell-regex-compat/README | 6 -- libraries/haskell-regex-compat/doinst.sh | 1 - .../haskell-regex-compat.SlackBuild | 90 -------------------- .../haskell-regex-compat/haskell-regex-compat.info | 10 --- libraries/haskell-regex-compat/slack-desc | 19 ----- libraries/haskell-regex-posix/README | 6 -- libraries/haskell-regex-posix/doinst.sh | 1 - .../haskell-regex-posix.SlackBuild | 90 -------------------- .../haskell-regex-posix/haskell-regex-posix.info | 10 --- libraries/haskell-regex-posix/slack-desc | 19 ----- libraries/haskell-stm/README | 6 -- libraries/haskell-stm/doinst.sh | 1 - libraries/haskell-stm/haskell-stm.SlackBuild | 90 -------------------- libraries/haskell-stm/haskell-stm.info | 10 --- libraries/haskell-stm/slack-desc | 19 ----- libraries/haskell-syb/README | 10 --- libraries/haskell-syb/doinst.sh | 1 - libraries/haskell-syb/haskell-syb.SlackBuild | 90 -------------------- libraries/haskell-syb/haskell-syb.info | 10 --- libraries/haskell-syb/slack-desc | 19 ----- libraries/haskell-tar/README | 11 --- libraries/haskell-tar/doinst.sh | 1 - libraries/haskell-tar/haskell-tar.SlackBuild | 90 -------------------- libraries/haskell-tar/haskell-tar.info | 10 --- libraries/haskell-tar/slack-desc | 19 ----- libraries/haskell-terminfo/README | 9 -- libraries/haskell-terminfo/doinst.sh | 1 - .../haskell-terminfo/haskell-terminfo.SlackBuild | 90 -------------------- libraries/haskell-terminfo/haskell-terminfo.info | 10 --- libraries/haskell-terminfo/slack-desc | 19 ----- libraries/haskell-texmath/README | 8 -- libraries/haskell-texmath/doinst.sh | 1 - .../haskell-texmath/haskell-texmath.SlackBuild | 92 -------------------- libraries/haskell-texmath/haskell-texmath.info | 10 --- libraries/haskell-texmath/slack-desc | 19 ----- libraries/haskell-texmath/texmath-utf8.patch | 28 ------- libraries/haskell-text/README | 7 -- libraries/haskell-text/doinst.sh | 1 - libraries/haskell-text/haskell-text.SlackBuild | 90 -------------------- libraries/haskell-text/haskell-text.info | 10 --- libraries/haskell-text/slack-desc | 19 ----- libraries/haskell-transformers/README | 10 --- libraries/haskell-transformers/doinst.sh | 1 - .../haskell-transformers.SlackBuild | 90 -------------------- .../haskell-transformers/haskell-transformers.info | 10 --- libraries/haskell-transformers/slack-desc | 19 ----- libraries/haskell-utf8-string/README | 5 -- libraries/haskell-utf8-string/doinst.sh | 1 - .../haskell-utf8-string.SlackBuild | 90 -------------------- .../haskell-utf8-string/haskell-utf8-string.info | 10 --- libraries/haskell-utf8-string/slack-desc | 19 ----- libraries/haskell-xhtml/README | 7 -- libraries/haskell-xhtml/doinst.sh | 1 - libraries/haskell-xhtml/haskell-xhtml.SlackBuild | 90 -------------------- libraries/haskell-xhtml/haskell-xhtml.info | 10 --- libraries/haskell-xhtml/slack-desc | 19 ----- libraries/haskell-xml/README | 6 -- libraries/haskell-xml/doinst.sh | 1 - libraries/haskell-xml/haskell-xml.SlackBuild | 86 ------------------- libraries/haskell-xml/haskell-xml.info | 10 --- libraries/haskell-xml/slack-desc | 19 ----- libraries/haskell-zip-archive/README | 8 -- libraries/haskell-zip-archive/doinst.sh | 1 - .../haskell-zip-archive.SlackBuild | 88 ------------------- .../haskell-zip-archive/haskell-zip-archive.info | 10 --- libraries/haskell-zip-archive/slack-desc | 19 ----- libraries/haskell-zlib/README | 9 -- libraries/haskell-zlib/doinst.sh | 1 - libraries/haskell-zlib/haskell-zlib.SlackBuild | 88 ------------------- libraries/haskell-zlib/haskell-zlib.info | 10 --- libraries/haskell-zlib/slack-desc | 19 ----- 562 files changed, 7257 insertions(+), 7257 deletions(-) delete mode 100644 development/ghc/README delete mode 100644 development/ghc/ghc.SlackBuild delete mode 100644 development/ghc/ghc.info delete mode 100644 development/ghc/slack-desc delete mode 100644 development/haskell-platform/README delete mode 100644 development/haskell-platform/haskell-platform.SlackBuild delete mode 100644 development/haskell-platform/haskell-platform.info delete mode 100644 development/haskell-platform/not_update_pkg_db.diff delete mode 100644 development/haskell-platform/slack-desc delete mode 100644 development/haskell-test-framework-hunit/README delete mode 100644 development/haskell-test-framework-hunit/doinst.sh delete mode 100644 development/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild delete mode 100644 development/haskell-test-framework-hunit/haskell-test-framework-hunit.info delete mode 100644 development/haskell-test-framework-hunit/slack-desc delete mode 100644 development/haskell-test-framework-quickcheck2/README delete mode 100644 development/haskell-test-framework-quickcheck2/doinst.sh delete mode 100644 development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild delete mode 100644 development/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info delete mode 100644 development/haskell-test-framework-quickcheck2/slack-desc delete mode 100644 development/haskell-test-framework/README delete mode 100644 development/haskell-test-framework/doinst.sh delete mode 100644 development/haskell-test-framework/haskell-test-framework.SlackBuild delete mode 100644 development/haskell-test-framework/haskell-test-framework.info delete mode 100644 development/haskell-test-framework/slack-desc delete mode 100644 development/haskell-test-framework/test-framework_cabal.patch create mode 100644 haskell/ghc/README create mode 100644 haskell/ghc/ghc.SlackBuild create mode 100644 haskell/ghc/ghc.info create mode 100644 haskell/ghc/slack-desc create mode 100644 haskell/haskell-GLURaw/README create mode 100644 haskell/haskell-GLURaw/doinst.sh create mode 100644 haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild create mode 100644 haskell/haskell-GLURaw/haskell-GLURaw.info create mode 100644 haskell/haskell-GLURaw/slack-desc create mode 100644 haskell/haskell-GLUT/README create mode 100644 haskell/haskell-GLUT/doinst.sh create mode 100644 haskell/haskell-GLUT/haskell-GLUT.SlackBuild create mode 100644 haskell/haskell-GLUT/haskell-GLUT.info create mode 100644 haskell/haskell-GLUT/slack-desc create mode 100644 haskell/haskell-HTTP/README create mode 100644 haskell/haskell-HTTP/doinst.sh create mode 100644 haskell/haskell-HTTP/haskell-HTTP.SlackBuild create mode 100644 haskell/haskell-HTTP/haskell-HTTP.info create mode 100644 haskell/haskell-HTTP/slack-desc create mode 100644 haskell/haskell-HUnit/README create mode 100644 haskell/haskell-HUnit/doinst.sh create mode 100644 haskell/haskell-HUnit/haskell-HUnit.SlackBuild create mode 100644 haskell/haskell-HUnit/haskell-HUnit.info create mode 100644 haskell/haskell-HUnit/slack-desc create mode 100644 haskell/haskell-MonadCatchIO-mtl/README create mode 100644 haskell/haskell-MonadCatchIO-mtl/doinst.sh create mode 100644 haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild create mode 100644 haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info create mode 100644 haskell/haskell-MonadCatchIO-mtl/slack-desc create mode 100644 haskell/haskell-ObjectName/README create mode 100644 haskell/haskell-ObjectName/doinst.sh create mode 100644 haskell/haskell-ObjectName/haskell-ObjectName.SlackBuild create mode 100644 haskell/haskell-ObjectName/haskell-ObjectName.info create mode 100644 haskell/haskell-ObjectName/slack-desc create mode 100644 haskell/haskell-OpenGL/README create mode 100644 haskell/haskell-OpenGL/doinst.sh create mode 100644 haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild create mode 100644 haskell/haskell-OpenGL/haskell-OpenGL.info create mode 100644 haskell/haskell-OpenGL/slack-desc create mode 100644 haskell/haskell-OpenGLRaw/README create mode 100644 haskell/haskell-OpenGLRaw/doinst.sh create mode 100644 haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild create mode 100644 haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.info create mode 100644 haskell/haskell-OpenGLRaw/slack-desc create mode 100644 haskell/haskell-QuickCheck/README create mode 100644 haskell/haskell-QuickCheck/doinst.sh create mode 100644 haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild create mode 100644 haskell/haskell-QuickCheck/haskell-QuickCheck.info create mode 100644 haskell/haskell-QuickCheck/slack-desc create mode 100644 haskell/haskell-StateVar/README create mode 100644 haskell/haskell-StateVar/doinst.sh create mode 100644 haskell/haskell-StateVar/haskell-StateVar.SlackBuild create mode 100644 haskell/haskell-StateVar/haskell-StateVar.info create mode 100644 haskell/haskell-StateVar/slack-desc create mode 100644 haskell/haskell-Tensor/README create mode 100644 haskell/haskell-Tensor/doinst.sh create mode 100644 haskell/haskell-Tensor/haskell-Tensor.SlackBuild create mode 100644 haskell/haskell-Tensor/haskell-Tensor.info create mode 100644 haskell/haskell-Tensor/slack-desc create mode 100644 haskell/haskell-X11-xft/README create mode 100644 haskell/haskell-X11-xft/doinst.sh create mode 100644 haskell/haskell-X11-xft/haskell-X11-xft.SlackBuild create mode 100644 haskell/haskell-X11-xft/haskell-X11-xft.info create mode 100644 haskell/haskell-X11-xft/slack-desc create mode 100644 haskell/haskell-X11/README create mode 100644 haskell/haskell-X11/doinst.sh create mode 100644 haskell/haskell-X11/haskell-X11.SlackBuild create mode 100644 haskell/haskell-X11/haskell-X11.info create mode 100644 haskell/haskell-X11/slack-desc create mode 100644 haskell/haskell-ansi-terminal/README create mode 100644 haskell/haskell-ansi-terminal/doinst.sh create mode 100644 haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild create mode 100644 haskell/haskell-ansi-terminal/haskell-ansi-terminal.info create mode 100644 haskell/haskell-ansi-terminal/slack-desc create mode 100644 haskell/haskell-ansi-wl-pprint/README create mode 100644 haskell/haskell-ansi-wl-pprint/doinst.sh create mode 100644 haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild create mode 100644 haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info create mode 100644 haskell/haskell-ansi-wl-pprint/slack-desc create mode 100644 haskell/haskell-binary/README create mode 100644 haskell/haskell-binary/doinst.sh create mode 100644 haskell/haskell-binary/haskell-binary.SlackBuild create mode 100644 haskell/haskell-binary/haskell-binary.info create mode 100644 haskell/haskell-binary/slack-desc create mode 100644 haskell/haskell-cgi/README create mode 100644 haskell/haskell-cgi/doinst.sh create mode 100644 haskell/haskell-cgi/haskell-cgi.SlackBuild create mode 100644 haskell/haskell-cgi/haskell-cgi.info create mode 100644 haskell/haskell-cgi/slack-desc create mode 100644 haskell/haskell-dataenc/README create mode 100644 haskell/haskell-dataenc/doinst.sh create mode 100644 haskell/haskell-dataenc/haskell-dataenc.SlackBuild create mode 100644 haskell/haskell-dataenc/haskell-dataenc.info create mode 100644 haskell/haskell-dataenc/slack-desc create mode 100644 haskell/haskell-deepseq/README create mode 100644 haskell/haskell-deepseq/doinst.sh create mode 100644 haskell/haskell-deepseq/haskell-deepseq.SlackBuild create mode 100644 haskell/haskell-deepseq/haskell-deepseq.info create mode 100644 haskell/haskell-deepseq/slack-desc create mode 100644 haskell/haskell-digest/README create mode 100644 haskell/haskell-digest/doinst.sh create mode 100644 haskell/haskell-digest/haskell-digest.SlackBuild create mode 100644 haskell/haskell-digest/haskell-digest.info create mode 100644 haskell/haskell-digest/slack-desc create mode 100644 haskell/haskell-editline/README create mode 100644 haskell/haskell-editline/doinst.sh create mode 100644 haskell/haskell-editline/haskell-editline.SlackBuild create mode 100644 haskell/haskell-editline/haskell-editline.info create mode 100644 haskell/haskell-editline/slack-desc create mode 100644 haskell/haskell-fgl/README create mode 100644 haskell/haskell-fgl/doinst.sh create mode 100644 haskell/haskell-fgl/haskell-fgl.SlackBuild create mode 100644 haskell/haskell-fgl/haskell-fgl.info create mode 100644 haskell/haskell-fgl/slack-desc create mode 100644 haskell/haskell-ghc-paths/README create mode 100644 haskell/haskell-ghc-paths/doinst.sh create mode 100644 haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild create mode 100644 haskell/haskell-ghc-paths/haskell-ghc-paths.info create mode 100644 haskell/haskell-ghc-paths/slack-desc create mode 100644 haskell/haskell-hashed-storage/README create mode 100644 haskell/haskell-hashed-storage/doinst.sh create mode 100644 haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild create mode 100644 haskell/haskell-hashed-storage/haskell-hashed-storage.info create mode 100644 haskell/haskell-hashed-storage/slack-desc create mode 100644 haskell/haskell-haskeline/README create mode 100644 haskell/haskell-haskeline/doinst.sh create mode 100644 haskell/haskell-haskeline/haskell-haskeline.SlackBuild create mode 100644 haskell/haskell-haskeline/haskell-haskeline.info create mode 100644 haskell/haskell-haskeline/slack-desc create mode 100644 haskell/haskell-haskell-src/README create mode 100644 haskell/haskell-haskell-src/doinst.sh create mode 100644 haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild create mode 100644 haskell/haskell-haskell-src/haskell-haskell-src.info create mode 100644 haskell/haskell-haskell-src/slack-desc create mode 100644 haskell/haskell-hinotify/README create mode 100644 haskell/haskell-hinotify/doinst.sh create mode 100644 haskell/haskell-hinotify/haskell-hinotify.SlackBuild create mode 100644 haskell/haskell-hinotify/haskell-hinotify.info create mode 100644 haskell/haskell-hinotify/slack-desc create mode 100644 haskell/haskell-hostname/README create mode 100644 haskell/haskell-hostname/doinst.sh create mode 100644 haskell/haskell-hostname/haskell-hostname.SlackBuild create mode 100644 haskell/haskell-hostname/haskell-hostname.info create mode 100644 haskell/haskell-hostname/slack-desc create mode 100644 haskell/haskell-html/README create mode 100644 haskell/haskell-html/doinst.sh create mode 100644 haskell/haskell-html/haskell-html.SlackBuild create mode 100644 haskell/haskell-html/haskell-html.info create mode 100644 haskell/haskell-html/slack-desc create mode 100644 haskell/haskell-lcs/README create mode 100644 haskell/haskell-lcs/doinst.sh create mode 100644 haskell/haskell-lcs/haskell-lcs.SlackBuild create mode 100644 haskell/haskell-lcs/haskell-lcs.info create mode 100644 haskell/haskell-lcs/slack-desc create mode 100644 haskell/haskell-mmap/README create mode 100644 haskell/haskell-mmap/doinst.sh create mode 100644 haskell/haskell-mmap/haskell-mmap.SlackBuild create mode 100644 haskell/haskell-mmap/haskell-mmap.info create mode 100644 haskell/haskell-mmap/slack-desc create mode 100644 haskell/haskell-mtl/README create mode 100644 haskell/haskell-mtl/doinst.sh create mode 100644 haskell/haskell-mtl/haskell-mtl.SlackBuild create mode 100644 haskell/haskell-mtl/haskell-mtl.info create mode 100644 haskell/haskell-mtl/slack-desc create mode 100644 haskell/haskell-network/README create mode 100644 haskell/haskell-network/doinst.sh create mode 100644 haskell/haskell-network/haskell-network.SlackBuild create mode 100644 haskell/haskell-network/haskell-network.info create mode 100644 haskell/haskell-network/slack-desc create mode 100644 haskell/haskell-packedstring/README create mode 100644 haskell/haskell-packedstring/doinst.sh create mode 100644 haskell/haskell-packedstring/haskell-packedstring.SlackBuild create mode 100644 haskell/haskell-packedstring/haskell-packedstring.info create mode 100644 haskell/haskell-packedstring/slack-desc create mode 100644 haskell/haskell-parallel/README create mode 100644 haskell/haskell-parallel/doinst.sh create mode 100644 haskell/haskell-parallel/haskell-parallel.SlackBuild create mode 100644 haskell/haskell-parallel/haskell-parallel.info create mode 100644 haskell/haskell-parallel/slack-desc create mode 100644 haskell/haskell-parsec/README create mode 100644 haskell/haskell-parsec/doinst.sh create mode 100644 haskell/haskell-parsec/haskell-parsec.SlackBuild create mode 100644 haskell/haskell-parsec/haskell-parsec.info create mode 100644 haskell/haskell-parsec/slack-desc create mode 100644 haskell/haskell-platform/README create mode 100644 haskell/haskell-platform/haskell-platform.SlackBuild create mode 100644 haskell/haskell-platform/haskell-platform.info create mode 100644 haskell/haskell-platform/not_update_pkg_db.diff create mode 100644 haskell/haskell-platform/slack-desc create mode 100644 haskell/haskell-regex-base/README create mode 100644 haskell/haskell-regex-base/doinst.sh create mode 100644 haskell/haskell-regex-base/haskell-regex-base.SlackBuild create mode 100644 haskell/haskell-regex-base/haskell-regex-base.info create mode 100644 haskell/haskell-regex-base/slack-desc create mode 100644 haskell/haskell-regex-compat/README create mode 100644 haskell/haskell-regex-compat/doinst.sh create mode 100644 haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild create mode 100644 haskell/haskell-regex-compat/haskell-regex-compat.info create mode 100644 haskell/haskell-regex-compat/slack-desc create mode 100644 haskell/haskell-regex-posix/README create mode 100644 haskell/haskell-regex-posix/doinst.sh create mode 100644 haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild create mode 100644 haskell/haskell-regex-posix/haskell-regex-posix.info create mode 100644 haskell/haskell-regex-posix/slack-desc create mode 100644 haskell/haskell-stm/README create mode 100644 haskell/haskell-stm/doinst.sh create mode 100644 haskell/haskell-stm/haskell-stm.SlackBuild create mode 100644 haskell/haskell-stm/haskell-stm.info create mode 100644 haskell/haskell-stm/slack-desc create mode 100644 haskell/haskell-syb/README create mode 100644 haskell/haskell-syb/doinst.sh create mode 100644 haskell/haskell-syb/haskell-syb.SlackBuild create mode 100644 haskell/haskell-syb/haskell-syb.info create mode 100644 haskell/haskell-syb/slack-desc create mode 100644 haskell/haskell-tar/README create mode 100644 haskell/haskell-tar/doinst.sh create mode 100644 haskell/haskell-tar/haskell-tar.SlackBuild create mode 100644 haskell/haskell-tar/haskell-tar.info create mode 100644 haskell/haskell-tar/slack-desc create mode 100644 haskell/haskell-terminfo/README create mode 100644 haskell/haskell-terminfo/doinst.sh create mode 100644 haskell/haskell-terminfo/haskell-terminfo.SlackBuild create mode 100644 haskell/haskell-terminfo/haskell-terminfo.info create mode 100644 haskell/haskell-terminfo/slack-desc create mode 100644 haskell/haskell-test-framework-hunit/README create mode 100644 haskell/haskell-test-framework-hunit/doinst.sh create mode 100644 haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild create mode 100644 haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info create mode 100644 haskell/haskell-test-framework-hunit/slack-desc create mode 100644 haskell/haskell-test-framework-quickcheck2/README create mode 100644 haskell/haskell-test-framework-quickcheck2/doinst.sh create mode 100644 haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild create mode 100644 haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info create mode 100644 haskell/haskell-test-framework-quickcheck2/slack-desc create mode 100644 haskell/haskell-test-framework/README create mode 100644 haskell/haskell-test-framework/doinst.sh create mode 100644 haskell/haskell-test-framework/haskell-test-framework.SlackBuild create mode 100644 haskell/haskell-test-framework/haskell-test-framework.info create mode 100644 haskell/haskell-test-framework/slack-desc create mode 100644 haskell/haskell-test-framework/test-framework_cabal.patch create mode 100644 haskell/haskell-texmath/README create mode 100644 haskell/haskell-texmath/doinst.sh create mode 100644 haskell/haskell-texmath/haskell-texmath.SlackBuild create mode 100644 haskell/haskell-texmath/haskell-texmath.info create mode 100644 haskell/haskell-texmath/slack-desc create mode 100644 haskell/haskell-texmath/texmath-utf8.patch create mode 100644 haskell/haskell-text/README create mode 100644 haskell/haskell-text/doinst.sh create mode 100644 haskell/haskell-text/haskell-text.SlackBuild create mode 100644 haskell/haskell-text/haskell-text.info create mode 100644 haskell/haskell-text/slack-desc create mode 100644 haskell/haskell-transformers/README create mode 100644 haskell/haskell-transformers/doinst.sh create mode 100644 haskell/haskell-transformers/haskell-transformers.SlackBuild create mode 100644 haskell/haskell-transformers/haskell-transformers.info create mode 100644 haskell/haskell-transformers/slack-desc create mode 100644 haskell/haskell-utf8-string/README create mode 100644 haskell/haskell-utf8-string/doinst.sh create mode 100644 haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild create mode 100644 haskell/haskell-utf8-string/haskell-utf8-string.info create mode 100644 haskell/haskell-utf8-string/slack-desc create mode 100644 haskell/haskell-xhtml/README create mode 100644 haskell/haskell-xhtml/doinst.sh create mode 100644 haskell/haskell-xhtml/haskell-xhtml.SlackBuild create mode 100644 haskell/haskell-xhtml/haskell-xhtml.info create mode 100644 haskell/haskell-xhtml/slack-desc create mode 100644 haskell/haskell-xml/README create mode 100644 haskell/haskell-xml/doinst.sh create mode 100644 haskell/haskell-xml/haskell-xml.SlackBuild create mode 100644 haskell/haskell-xml/haskell-xml.info create mode 100644 haskell/haskell-xml/slack-desc create mode 100644 haskell/haskell-zip-archive/README create mode 100644 haskell/haskell-zip-archive/doinst.sh create mode 100644 haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild create mode 100644 haskell/haskell-zip-archive/haskell-zip-archive.info create mode 100644 haskell/haskell-zip-archive/slack-desc create mode 100644 haskell/haskell-zlib/README create mode 100644 haskell/haskell-zlib/doinst.sh create mode 100644 haskell/haskell-zlib/haskell-zlib.SlackBuild create mode 100644 haskell/haskell-zlib/haskell-zlib.info create mode 100644 haskell/haskell-zlib/slack-desc delete mode 100644 libraries/haskell-GLURaw/README delete mode 100644 libraries/haskell-GLURaw/doinst.sh delete mode 100644 libraries/haskell-GLURaw/haskell-GLURaw.SlackBuild delete mode 100644 libraries/haskell-GLURaw/haskell-GLURaw.info delete mode 100644 libraries/haskell-GLURaw/slack-desc delete mode 100644 libraries/haskell-GLUT/README delete mode 100644 libraries/haskell-GLUT/doinst.sh delete mode 100644 libraries/haskell-GLUT/haskell-GLUT.SlackBuild delete mode 100644 libraries/haskell-GLUT/haskell-GLUT.info delete mode 100644 libraries/haskell-GLUT/slack-desc delete mode 100644 libraries/haskell-HTTP/README delete mode 100644 libraries/haskell-HTTP/doinst.sh delete mode 100644 libraries/haskell-HTTP/haskell-HTTP.SlackBuild delete mode 100644 libraries/haskell-HTTP/haskell-HTTP.info delete mode 100644 libraries/haskell-HTTP/slack-desc delete mode 100644 libraries/haskell-HUnit/README delete mode 100644 libraries/haskell-HUnit/doinst.sh delete mode 100644 libraries/haskell-HUnit/haskell-HUnit.SlackBuild delete mode 100644 libraries/haskell-HUnit/haskell-HUnit.info delete mode 100644 libraries/haskell-HUnit/slack-desc delete mode 100644 libraries/haskell-MonadCatchIO-mtl/README delete mode 100644 libraries/haskell-MonadCatchIO-mtl/doinst.sh delete mode 100644 libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild delete mode 100644 libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info delete mode 100644 libraries/haskell-MonadCatchIO-mtl/slack-desc delete mode 100644 libraries/haskell-ObjectName/README delete mode 100644 libraries/haskell-ObjectName/doinst.sh delete mode 100644 libraries/haskell-ObjectName/haskell-ObjectName.SlackBuild delete mode 100644 libraries/haskell-ObjectName/haskell-ObjectName.info delete mode 100644 libraries/haskell-ObjectName/slack-desc delete mode 100644 libraries/haskell-OpenGL/README delete mode 100644 libraries/haskell-OpenGL/doinst.sh delete mode 100644 libraries/haskell-OpenGL/haskell-OpenGL.SlackBuild delete mode 100644 libraries/haskell-OpenGL/haskell-OpenGL.info delete mode 100644 libraries/haskell-OpenGL/slack-desc delete mode 100644 libraries/haskell-OpenGLRaw/README delete mode 100644 libraries/haskell-OpenGLRaw/doinst.sh delete mode 100644 libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild delete mode 100644 libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.info delete mode 100644 libraries/haskell-OpenGLRaw/slack-desc delete mode 100644 libraries/haskell-QuickCheck/README delete mode 100644 libraries/haskell-QuickCheck/doinst.sh delete mode 100644 libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild delete mode 100644 libraries/haskell-QuickCheck/haskell-QuickCheck.info delete mode 100644 libraries/haskell-QuickCheck/slack-desc delete mode 100644 libraries/haskell-StateVar/README delete mode 100644 libraries/haskell-StateVar/doinst.sh delete mode 100644 libraries/haskell-StateVar/haskell-StateVar.SlackBuild delete mode 100644 libraries/haskell-StateVar/haskell-StateVar.info delete mode 100644 libraries/haskell-StateVar/slack-desc delete mode 100644 libraries/haskell-Tensor/README delete mode 100644 libraries/haskell-Tensor/doinst.sh delete mode 100644 libraries/haskell-Tensor/haskell-Tensor.SlackBuild delete mode 100644 libraries/haskell-Tensor/haskell-Tensor.info delete mode 100644 libraries/haskell-Tensor/slack-desc delete mode 100644 libraries/haskell-X11-xft/README delete mode 100644 libraries/haskell-X11-xft/doinst.sh delete mode 100644 libraries/haskell-X11-xft/haskell-X11-xft.SlackBuild delete mode 100644 libraries/haskell-X11-xft/haskell-X11-xft.info delete mode 100644 libraries/haskell-X11-xft/slack-desc delete mode 100644 libraries/haskell-X11/README delete mode 100644 libraries/haskell-X11/doinst.sh delete mode 100644 libraries/haskell-X11/haskell-X11.SlackBuild delete mode 100644 libraries/haskell-X11/haskell-X11.info delete mode 100644 libraries/haskell-X11/slack-desc delete mode 100644 libraries/haskell-ansi-terminal/README delete mode 100644 libraries/haskell-ansi-terminal/doinst.sh delete mode 100644 libraries/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild delete mode 100644 libraries/haskell-ansi-terminal/haskell-ansi-terminal.info delete mode 100644 libraries/haskell-ansi-terminal/slack-desc delete mode 100644 libraries/haskell-ansi-wl-pprint/README delete mode 100644 libraries/haskell-ansi-wl-pprint/doinst.sh delete mode 100644 libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild delete mode 100644 libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info delete mode 100644 libraries/haskell-ansi-wl-pprint/slack-desc delete mode 100644 libraries/haskell-binary/README delete mode 100644 libraries/haskell-binary/doinst.sh delete mode 100644 libraries/haskell-binary/haskell-binary.SlackBuild delete mode 100644 libraries/haskell-binary/haskell-binary.info delete mode 100644 libraries/haskell-binary/slack-desc delete mode 100644 libraries/haskell-cgi/README delete mode 100644 libraries/haskell-cgi/doinst.sh delete mode 100644 libraries/haskell-cgi/haskell-cgi.SlackBuild delete mode 100644 libraries/haskell-cgi/haskell-cgi.info delete mode 100644 libraries/haskell-cgi/slack-desc delete mode 100644 libraries/haskell-dataenc/README delete mode 100644 libraries/haskell-dataenc/doinst.sh delete mode 100644 libraries/haskell-dataenc/haskell-dataenc.SlackBuild delete mode 100644 libraries/haskell-dataenc/haskell-dataenc.info delete mode 100644 libraries/haskell-dataenc/slack-desc delete mode 100644 libraries/haskell-deepseq/README delete mode 100644 libraries/haskell-deepseq/doinst.sh delete mode 100644 libraries/haskell-deepseq/haskell-deepseq.SlackBuild delete mode 100644 libraries/haskell-deepseq/haskell-deepseq.info delete mode 100644 libraries/haskell-deepseq/slack-desc delete mode 100644 libraries/haskell-digest/README delete mode 100644 libraries/haskell-digest/doinst.sh delete mode 100644 libraries/haskell-digest/haskell-digest.SlackBuild delete mode 100644 libraries/haskell-digest/haskell-digest.info delete mode 100644 libraries/haskell-digest/slack-desc delete mode 100644 libraries/haskell-editline/README delete mode 100644 libraries/haskell-editline/doinst.sh delete mode 100644 libraries/haskell-editline/haskell-editline.SlackBuild delete mode 100644 libraries/haskell-editline/haskell-editline.info delete mode 100644 libraries/haskell-editline/slack-desc delete mode 100644 libraries/haskell-fgl/README delete mode 100644 libraries/haskell-fgl/doinst.sh delete mode 100644 libraries/haskell-fgl/haskell-fgl.SlackBuild delete mode 100644 libraries/haskell-fgl/haskell-fgl.info delete mode 100644 libraries/haskell-fgl/slack-desc delete mode 100644 libraries/haskell-ghc-paths/README delete mode 100644 libraries/haskell-ghc-paths/doinst.sh delete mode 100644 libraries/haskell-ghc-paths/haskell-ghc-paths.SlackBuild delete mode 100644 libraries/haskell-ghc-paths/haskell-ghc-paths.info delete mode 100644 libraries/haskell-ghc-paths/slack-desc delete mode 100644 libraries/haskell-hashed-storage/README delete mode 100644 libraries/haskell-hashed-storage/doinst.sh delete mode 100644 libraries/haskell-hashed-storage/haskell-hashed-storage.SlackBuild delete mode 100644 libraries/haskell-hashed-storage/haskell-hashed-storage.info delete mode 100644 libraries/haskell-hashed-storage/slack-desc delete mode 100644 libraries/haskell-haskeline/README delete mode 100644 libraries/haskell-haskeline/doinst.sh delete mode 100644 libraries/haskell-haskeline/haskell-haskeline.SlackBuild delete mode 100644 libraries/haskell-haskeline/haskell-haskeline.info delete mode 100644 libraries/haskell-haskeline/slack-desc delete mode 100644 libraries/haskell-haskell-src/README delete mode 100644 libraries/haskell-haskell-src/doinst.sh delete mode 100644 libraries/haskell-haskell-src/haskell-haskell-src.SlackBuild delete mode 100644 libraries/haskell-haskell-src/haskell-haskell-src.info delete mode 100644 libraries/haskell-haskell-src/slack-desc delete mode 100644 libraries/haskell-hinotify/README delete mode 100644 libraries/haskell-hinotify/doinst.sh delete mode 100644 libraries/haskell-hinotify/haskell-hinotify.SlackBuild delete mode 100644 libraries/haskell-hinotify/haskell-hinotify.info delete mode 100644 libraries/haskell-hinotify/slack-desc delete mode 100644 libraries/haskell-hostname/README delete mode 100644 libraries/haskell-hostname/doinst.sh delete mode 100644 libraries/haskell-hostname/haskell-hostname.SlackBuild delete mode 100644 libraries/haskell-hostname/haskell-hostname.info delete mode 100644 libraries/haskell-hostname/slack-desc delete mode 100644 libraries/haskell-html/README delete mode 100644 libraries/haskell-html/doinst.sh delete mode 100644 libraries/haskell-html/haskell-html.SlackBuild delete mode 100644 libraries/haskell-html/haskell-html.info delete mode 100644 libraries/haskell-html/slack-desc delete mode 100644 libraries/haskell-lcs/README delete mode 100644 libraries/haskell-lcs/doinst.sh delete mode 100644 libraries/haskell-lcs/haskell-lcs.SlackBuild delete mode 100644 libraries/haskell-lcs/haskell-lcs.info delete mode 100644 libraries/haskell-lcs/slack-desc delete mode 100644 libraries/haskell-mmap/README delete mode 100644 libraries/haskell-mmap/doinst.sh delete mode 100644 libraries/haskell-mmap/haskell-mmap.SlackBuild delete mode 100644 libraries/haskell-mmap/haskell-mmap.info delete mode 100644 libraries/haskell-mmap/slack-desc delete mode 100644 libraries/haskell-mtl/README delete mode 100644 libraries/haskell-mtl/doinst.sh delete mode 100644 libraries/haskell-mtl/haskell-mtl.SlackBuild delete mode 100644 libraries/haskell-mtl/haskell-mtl.info delete mode 100644 libraries/haskell-mtl/slack-desc delete mode 100644 libraries/haskell-network/README delete mode 100644 libraries/haskell-network/doinst.sh delete mode 100644 libraries/haskell-network/haskell-network.SlackBuild delete mode 100644 libraries/haskell-network/haskell-network.info delete mode 100644 libraries/haskell-network/slack-desc delete mode 100644 libraries/haskell-packedstring/README delete mode 100644 libraries/haskell-packedstring/doinst.sh delete mode 100644 libraries/haskell-packedstring/haskell-packedstring.SlackBuild delete mode 100644 libraries/haskell-packedstring/haskell-packedstring.info delete mode 100644 libraries/haskell-packedstring/slack-desc delete mode 100644 libraries/haskell-parallel/README delete mode 100644 libraries/haskell-parallel/doinst.sh delete mode 100644 libraries/haskell-parallel/haskell-parallel.SlackBuild delete mode 100644 libraries/haskell-parallel/haskell-parallel.info delete mode 100644 libraries/haskell-parallel/slack-desc delete mode 100644 libraries/haskell-parsec/README delete mode 100644 libraries/haskell-parsec/doinst.sh delete mode 100644 libraries/haskell-parsec/haskell-parsec.SlackBuild delete mode 100644 libraries/haskell-parsec/haskell-parsec.info delete mode 100644 libraries/haskell-parsec/slack-desc delete mode 100644 libraries/haskell-regex-base/README delete mode 100644 libraries/haskell-regex-base/doinst.sh delete mode 100644 libraries/haskell-regex-base/haskell-regex-base.SlackBuild delete mode 100644 libraries/haskell-regex-base/haskell-regex-base.info delete mode 100644 libraries/haskell-regex-base/slack-desc delete mode 100644 libraries/haskell-regex-compat/README delete mode 100644 libraries/haskell-regex-compat/doinst.sh delete mode 100644 libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild delete mode 100644 libraries/haskell-regex-compat/haskell-regex-compat.info delete mode 100644 libraries/haskell-regex-compat/slack-desc delete mode 100644 libraries/haskell-regex-posix/README delete mode 100644 libraries/haskell-regex-posix/doinst.sh delete mode 100644 libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild delete mode 100644 libraries/haskell-regex-posix/haskell-regex-posix.info delete mode 100644 libraries/haskell-regex-posix/slack-desc delete mode 100644 libraries/haskell-stm/README delete mode 100644 libraries/haskell-stm/doinst.sh delete mode 100644 libraries/haskell-stm/haskell-stm.SlackBuild delete mode 100644 libraries/haskell-stm/haskell-stm.info delete mode 100644 libraries/haskell-stm/slack-desc delete mode 100644 libraries/haskell-syb/README delete mode 100644 libraries/haskell-syb/doinst.sh delete mode 100644 libraries/haskell-syb/haskell-syb.SlackBuild delete mode 100644 libraries/haskell-syb/haskell-syb.info delete mode 100644 libraries/haskell-syb/slack-desc delete mode 100644 libraries/haskell-tar/README delete mode 100644 libraries/haskell-tar/doinst.sh delete mode 100644 libraries/haskell-tar/haskell-tar.SlackBuild delete mode 100644 libraries/haskell-tar/haskell-tar.info delete mode 100644 libraries/haskell-tar/slack-desc delete mode 100644 libraries/haskell-terminfo/README delete mode 100644 libraries/haskell-terminfo/doinst.sh delete mode 100644 libraries/haskell-terminfo/haskell-terminfo.SlackBuild delete mode 100644 libraries/haskell-terminfo/haskell-terminfo.info delete mode 100644 libraries/haskell-terminfo/slack-desc delete mode 100644 libraries/haskell-texmath/README delete mode 100644 libraries/haskell-texmath/doinst.sh delete mode 100644 libraries/haskell-texmath/haskell-texmath.SlackBuild delete mode 100644 libraries/haskell-texmath/haskell-texmath.info delete mode 100644 libraries/haskell-texmath/slack-desc delete mode 100644 libraries/haskell-texmath/texmath-utf8.patch delete mode 100644 libraries/haskell-text/README delete mode 100644 libraries/haskell-text/doinst.sh delete mode 100644 libraries/haskell-text/haskell-text.SlackBuild delete mode 100644 libraries/haskell-text/haskell-text.info delete mode 100644 libraries/haskell-text/slack-desc delete mode 100644 libraries/haskell-transformers/README delete mode 100644 libraries/haskell-transformers/doinst.sh delete mode 100644 libraries/haskell-transformers/haskell-transformers.SlackBuild delete mode 100644 libraries/haskell-transformers/haskell-transformers.info delete mode 100644 libraries/haskell-transformers/slack-desc delete mode 100644 libraries/haskell-utf8-string/README delete mode 100644 libraries/haskell-utf8-string/doinst.sh delete mode 100644 libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild delete mode 100644 libraries/haskell-utf8-string/haskell-utf8-string.info delete mode 100644 libraries/haskell-utf8-string/slack-desc delete mode 100644 libraries/haskell-xhtml/README delete mode 100644 libraries/haskell-xhtml/doinst.sh delete mode 100644 libraries/haskell-xhtml/haskell-xhtml.SlackBuild delete mode 100644 libraries/haskell-xhtml/haskell-xhtml.info delete mode 100644 libraries/haskell-xhtml/slack-desc delete mode 100644 libraries/haskell-xml/README delete mode 100644 libraries/haskell-xml/doinst.sh delete mode 100644 libraries/haskell-xml/haskell-xml.SlackBuild delete mode 100644 libraries/haskell-xml/haskell-xml.info delete mode 100644 libraries/haskell-xml/slack-desc delete mode 100644 libraries/haskell-zip-archive/README delete mode 100644 libraries/haskell-zip-archive/doinst.sh delete mode 100644 libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild delete mode 100644 libraries/haskell-zip-archive/haskell-zip-archive.info delete mode 100644 libraries/haskell-zip-archive/slack-desc delete mode 100644 libraries/haskell-zlib/README delete mode 100644 libraries/haskell-zlib/doinst.sh delete mode 100644 libraries/haskell-zlib/haskell-zlib.SlackBuild delete mode 100644 libraries/haskell-zlib/haskell-zlib.info delete mode 100644 libraries/haskell-zlib/slack-desc 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 diff --git a/haskell/ghc/README b/haskell/ghc/README new file mode 100644 index 0000000000..d4cc3b8fd5 --- /dev/null +++ b/haskell/ghc/README @@ -0,0 +1,3 @@ +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/haskell/ghc/ghc.SlackBuild b/haskell/ghc/ghc.SlackBuild new file mode 100644 index 0000000000..8d4f600d77 --- /dev/null +++ b/haskell/ghc/ghc.SlackBuild @@ -0,0 +1,97 @@ +#!/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/haskell/ghc/ghc.info b/haskell/ghc/ghc.info new file mode 100644 index 0000000000..e67628dfbd --- /dev/null +++ b/haskell/ghc/ghc.info @@ -0,0 +1,10 @@ +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/haskell/ghc/slack-desc b/haskell/ghc/slack-desc new file mode 100644 index 0000000000..a1743f135e --- /dev/null +++ b/haskell/ghc/slack-desc @@ -0,0 +1,19 @@ +# 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/haskell/haskell-GLURaw/README b/haskell/haskell-GLURaw/README new file mode 100644 index 0000000000..8989e984cc --- /dev/null +++ b/haskell/haskell-GLURaw/README @@ -0,0 +1,8 @@ +GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility +library. It is basically a 1:1 mapping of GLU's C API, intended as a +basis for a nicer interface. + +This requires ghc and haskell-OpenGLRaw. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-GLURaw/doinst.sh b/haskell/haskell-GLURaw/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-GLURaw/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild b/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild new file mode 100644 index 0000000000..98eff190bf --- /dev/null +++ b/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for GLURaw + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-GLURaw +VERSION=${VERSION:-1.1.0.0} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-GLURaw/haskell-GLURaw.info b/haskell/haskell-GLURaw/haskell-GLURaw.info new file mode 100644 index 0000000000..932977b8da --- /dev/null +++ b/haskell/haskell-GLURaw/haskell-GLURaw.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-GLURaw" +VERSION="1.1.0.0" +HOMEPAGE="http://hackage.haskell.org/package/GLURaw" +DOWNLOAD="http://hackage.haskell.org/packages/archive/GLURaw/1.1.0.0/GLURaw-1.1.0.0.tar.gz" +MD5SUM="3f195f73f5c58edc3dd32c5048c5b64e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-GLURaw/slack-desc b/haskell/haskell-GLURaw/slack-desc new file mode 100644 index 0000000000..33261d52af --- /dev/null +++ b/haskell/haskell-GLURaw/slack-desc @@ -0,0 +1,19 @@ +# 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-GLURaw: haskell-GLURaw (A raw binding for the OpenGL graphics system) +haskell-GLURaw: +haskell-GLURaw: GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility +haskell-GLURaw: library. It is basically a 1:1 mapping of GLU's C API, intended as a +haskell-GLURaw: basis for a nicer interface. +haskell-GLURaw: +haskell-GLURaw: +haskell-GLURaw: +haskell-GLURaw: +haskell-GLURaw: +haskell-GLURaw: diff --git a/haskell/haskell-GLUT/README b/haskell/haskell-GLUT/README new file mode 100644 index 0000000000..878de79cbb --- /dev/null +++ b/haskell/haskell-GLUT/README @@ -0,0 +1,8 @@ +A Haskell binding for the OpenGL Utility Toolkit, a window system +independent toolkit for writing OpenGL programs. + +This requires ghc, haskell-StateVar, haskell-Tensor and +haskell-OpenGL. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-GLUT/doinst.sh b/haskell/haskell-GLUT/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-GLUT/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-GLUT/haskell-GLUT.SlackBuild b/haskell/haskell-GLUT/haskell-GLUT.SlackBuild new file mode 100644 index 0000000000..e9f8936ae5 --- /dev/null +++ b/haskell/haskell-GLUT/haskell-GLUT.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for GLUT + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-GLUT +VERSION=${VERSION:-2.2.2.0} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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 README examples $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/haskell/haskell-GLUT/haskell-GLUT.info b/haskell/haskell-GLUT/haskell-GLUT.info new file mode 100644 index 0000000000..c2fff5d32a --- /dev/null +++ b/haskell/haskell-GLUT/haskell-GLUT.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-GLUT" +VERSION="2.2.2.0" +HOMEPAGE="http://hackage.haskell.org/package/GLUT" +DOWNLOAD="http://hackage.haskell.org/packages/archive/GLUT/2.2.2.0/GLUT-2.2.2.0.tar.gz" +MD5SUM="e11912f50b76950b0d9e27d25127e391" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-GLUT/slack-desc b/haskell/haskell-GLUT/slack-desc new file mode 100644 index 0000000000..5940380453 --- /dev/null +++ b/haskell/haskell-GLUT/slack-desc @@ -0,0 +1,19 @@ +# 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-GLUT: haskell-GLUT (A binding for the OpenGL Utility Toolkit) +haskell-GLUT: +haskell-GLUT: A Haskell binding for the OpenGL Utility Toolkit, a window system +haskell-GLUT: independent toolkit for writing OpenGL programs. +haskell-GLUT: +haskell-GLUT: +haskell-GLUT: +haskell-GLUT: +haskell-GLUT: +haskell-GLUT: +haskell-GLUT: diff --git a/haskell/haskell-HTTP/README b/haskell/haskell-HTTP/README new file mode 100644 index 0000000000..1713ad6e0d --- /dev/null +++ b/haskell/haskell-HTTP/README @@ -0,0 +1,9 @@ +The HTTP package supports client-side web programming in Haskell. +It lets you set up HTTP connections, transmitting requests and +processing the responses coming back, all from within the comforts +of Haskell. + +This requires haskell-network. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-HTTP/doinst.sh b/haskell/haskell-HTTP/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-HTTP/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-HTTP/haskell-HTTP.SlackBuild b/haskell/haskell-HTTP/haskell-HTTP.SlackBuild new file mode 100644 index 0000000000..d619c338e8 --- /dev/null +++ b/haskell/haskell-HTTP/haskell-HTTP.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for HTTP + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-HTTP +VERSION=${VERSION:-4000.1.1} +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 CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-HTTP/haskell-HTTP.info b/haskell/haskell-HTTP/haskell-HTTP.info new file mode 100644 index 0000000000..49bfea2ffe --- /dev/null +++ b/haskell/haskell-HTTP/haskell-HTTP.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-HTTP" +VERSION="4000.1.1" +HOMEPAGE="http://hackage.haskell.org/package/HTTP" +DOWNLOAD="http://hackage.haskell.org/packages/archive/HTTP/4000.1.1/HTTP-4000.1.1.tar.gz" +MD5SUM="ddf23d46c4d6dc0048c454e3d01caa57" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-HTTP/slack-desc b/haskell/haskell-HTTP/slack-desc new file mode 100644 index 0000000000..b3970a5c95 --- /dev/null +++ b/haskell/haskell-HTTP/slack-desc @@ -0,0 +1,19 @@ +# 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-HTTP: haskell-HTTP (A Haskell library for client-side HTTP) +haskell-HTTP: +haskell-HTTP: The HTTP package supports client-side web programming in Haskell. +haskell-HTTP: It lets you set up HTTP connections, transmitting requests and +haskell-HTTP: processing the responses coming back, all from within the comforts +haskell-HTTP: of Haskell. +haskell-HTTP: +haskell-HTTP: http://hackage.haskell.org/package/HTTP +haskell-HTTP: +haskell-HTTP: +haskell-HTTP: diff --git a/haskell/haskell-HUnit/README b/haskell/haskell-HUnit/README new file mode 100644 index 0000000000..90e9270497 --- /dev/null +++ b/haskell/haskell-HUnit/README @@ -0,0 +1,7 @@ +HUnit is a unit testing framework for Haskell, inspired by the JUnit +tool for Java. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-HUnit/doinst.sh b/haskell/haskell-HUnit/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-HUnit/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-HUnit/haskell-HUnit.SlackBuild b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild new file mode 100644 index 0000000000..b70780c182 --- /dev/null +++ b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware build script for HUnit + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-HUnit +VERSION=${VERSION:-1.2.2.3} +BUILD=${BUILD:-2} +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.hs 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 + +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 README doc/Guide.html $PKG/usr/doc/$PRGNAM-$VERSION +# --docdir not fully respected +mv $PKG/usr/share/$SRCNAM-$VERSION/examples $PKG/usr/doc/$PRGNAM-$VERSION/examples +# rest of them are duplicates +rm -rf $PKG/usr/share +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-HUnit/haskell-HUnit.info b/haskell/haskell-HUnit/haskell-HUnit.info new file mode 100644 index 0000000000..41e74138ea --- /dev/null +++ b/haskell/haskell-HUnit/haskell-HUnit.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-HUnit" +VERSION="1.2.2.3" +HOMEPAGE="http://hackage.haskell.org/package/HUnit" +DOWNLOAD="http://hackage.haskell.org/packages/archive/HUnit/1.2.2.3/HUnit-1.2.2.3.tar.gz" +MD5SUM="f179add502f88153e5c9fdc69056b657" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-HUnit/slack-desc b/haskell/haskell-HUnit/slack-desc new file mode 100644 index 0000000000..60583e8526 --- /dev/null +++ b/haskell/haskell-HUnit/slack-desc @@ -0,0 +1,19 @@ +# 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-HUnit: haskell-HUnit (Unit testing framework for Haskell) +haskell-HUnit: +haskell-HUnit: HUnit is a unit testing framework for Haskell, inspired by the JUnit +haskell-HUnit: tool for Java. +haskell-HUnit: +haskell-HUnit: http://hackage.haskell.org/package/HUnit +haskell-HUnit: +haskell-HUnit: +haskell-HUnit: +haskell-HUnit: +haskell-HUnit: diff --git a/haskell/haskell-MonadCatchIO-mtl/README b/haskell/haskell-MonadCatchIO-mtl/README new file mode 100644 index 0000000000..156680c936 --- /dev/null +++ b/haskell/haskell-MonadCatchIO-mtl/README @@ -0,0 +1,6 @@ +Provides a monad-transformer version of the Control.Exception.catch +function. For this, it defines the MonadCatchIO class, a subset of +MonadIO. It defines proper instances for most monad transformers in +the mtl library. + +This requires ghc, haskell-transformers, and haskell-mtl. diff --git a/haskell/haskell-MonadCatchIO-mtl/doinst.sh b/haskell/haskell-MonadCatchIO-mtl/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-MonadCatchIO-mtl/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild b/haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild new file mode 100644 index 0000000000..c54efaec1b --- /dev/null +++ b/haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/sh + +# Slackware build script for MonadCatchIO-mtl + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-MonadCatchIO-mtl +VERSION=${VERSION:-0.3.0.1} +BUILD=${BUILD:-2} +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 +# BUG: At least the package should come with lisence +#cp -a $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/haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info b/haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info new file mode 100644 index 0000000000..5f3a242ff0 --- /dev/null +++ b/haskell/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-MonadCatchIO-mtl" +VERSION="0.3.0.1" +HOMEPAGE="http://hackage.haskell.org/package/MonadCatchIO-mtl" +DOWNLOAD="http://hackage.haskell.org/packages/archive/MonadCatchIO-mtl/0.3.0.1/MonadCatchIO-mtl-0.3.0.1.tar.gz" +MD5SUM="53f56fece758b15eff950f9c9796fbdf" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-MonadCatchIO-mtl/slack-desc b/haskell/haskell-MonadCatchIO-mtl/slack-desc new file mode 100644 index 0000000000..fbf5055cdb --- /dev/null +++ b/haskell/haskell-MonadCatchIO-mtl/slack-desc @@ -0,0 +1,19 @@ +# 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-MonadCatchIO-mtl: haskell-MonadCatchIO-mtl (Monad-transformer version of haskell-mtl) +haskell-MonadCatchIO-mtl: +haskell-MonadCatchIO-mtl: Provides a monad-transformer version of the Control.Exception.catch +haskell-MonadCatchIO-mtl: function. For this, it defines the MonadCatchIO class, a subset of +haskell-MonadCatchIO-mtl: MonadIO. It defines proper instances for most monad transformers in +haskell-MonadCatchIO-mtl: the mtl library. +haskell-MonadCatchIO-mtl: +haskell-MonadCatchIO-mtl: Homepage: http://hackage.haskell.org/package/MonadCatchIO-mtl +haskell-MonadCatchIO-mtl: +haskell-MonadCatchIO-mtl: +haskell-MonadCatchIO-mtl: diff --git a/haskell/haskell-ObjectName/README b/haskell/haskell-ObjectName/README new file mode 100644 index 0000000000..e266ea95af --- /dev/null +++ b/haskell/haskell-ObjectName/README @@ -0,0 +1,9 @@ +This tiny package contains the class ObjectName, which corresponds +to the general notion of explicitly handled identifiers for API +objects, e.g. a texture object name in OpenGL or a buffer object +name in OpenAL. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-ObjectName/doinst.sh b/haskell/haskell-ObjectName/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-ObjectName/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-ObjectName/haskell-ObjectName.SlackBuild b/haskell/haskell-ObjectName/haskell-ObjectName.SlackBuild new file mode 100644 index 0000000000..fbf457b394 --- /dev/null +++ b/haskell/haskell-ObjectName/haskell-ObjectName.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for ObjectName + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-ObjectName +VERSION=${VERSION:-1.0.0.0} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-ObjectName/haskell-ObjectName.info b/haskell/haskell-ObjectName/haskell-ObjectName.info new file mode 100644 index 0000000000..a8e516e878 --- /dev/null +++ b/haskell/haskell-ObjectName/haskell-ObjectName.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-ObjectName" +VERSION="1.0.0.0" +HOMEPAGE="http://hackage.haskell.org/package/ObjectName" +DOWNLOAD="http://hackage.haskell.org/packages/archive/ObjectName/1.0.0.0/ObjectName-1.0.0.0.tar.gz" +MD5SUM="00140131c26a51ae1118f685a73ad923" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-ObjectName/slack-desc b/haskell/haskell-ObjectName/slack-desc new file mode 100644 index 0000000000..0b12834253 --- /dev/null +++ b/haskell/haskell-ObjectName/slack-desc @@ -0,0 +1,19 @@ +# 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-ObjectName: haskell-ObjectName (Explicitly handled object names) +haskell-ObjectName: +haskell-ObjectName: This tiny package contains the class ObjectName, which corresponds +haskell-ObjectName: to the general notion of explicitly handled identifiers for API +haskell-ObjectName: objects, e.g. a texture object name in OpenGL or a buffer object +haskell-ObjectName: name in OpenAL. +haskell-ObjectName: +haskell-ObjectName: +haskell-ObjectName: +haskell-ObjectName: +haskell-ObjectName: diff --git a/haskell/haskell-OpenGL/README b/haskell/haskell-OpenGL/README new file mode 100644 index 0000000000..be6dacd307 --- /dev/null +++ b/haskell/haskell-OpenGL/README @@ -0,0 +1,8 @@ +A Haskell binding for the OpenGL graphics system (GL, version 3.2) +and its accompanying utility library (GLU, version 1.3). + +This requires ghc, haskell-OpenGLRaw, haskell-GLURaw, +haskell-ObjectName, haskell-StateVar and haskell-Tensor. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-OpenGL/doinst.sh b/haskell/haskell-OpenGL/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-OpenGL/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild b/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild new file mode 100644 index 0000000000..792be7ae23 --- /dev/null +++ b/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for OpenGL + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-OpenGL +VERSION=${VERSION:-2.4.0.1} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-OpenGL/haskell-OpenGL.info b/haskell/haskell-OpenGL/haskell-OpenGL.info new file mode 100644 index 0000000000..956df02cc5 --- /dev/null +++ b/haskell/haskell-OpenGL/haskell-OpenGL.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-OpenGL" +VERSION="2.4.0.1" +HOMEPAGE="http://hackage.haskell.org/package/OpenGL" +DOWNLOAD="http://hackage.haskell.org/packages/archive/OpenGL/2.4.0.1/OpenGL-2.4.0.1.tar.gz" +MD5SUM="71b03fce1e3d64be1e874d7989f0272c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-OpenGL/slack-desc b/haskell/haskell-OpenGL/slack-desc new file mode 100644 index 0000000000..9d8df4dc6b --- /dev/null +++ b/haskell/haskell-OpenGL/slack-desc @@ -0,0 +1,19 @@ +# 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-OpenGL: haskell-OpenGL (A binding for the OpenGL graphics system) +haskell-OpenGL: +haskell-OpenGL: A Haskell binding for the OpenGL graphics system (GL, version 3.2) +haskell-OpenGL: and its accompanying utility library (GLU, version 1.3). +haskell-OpenGL: +haskell-OpenGL: +haskell-OpenGL: +haskell-OpenGL: +haskell-OpenGL: +haskell-OpenGL: +haskell-OpenGL: diff --git a/haskell/haskell-OpenGLRaw/README b/haskell/haskell-OpenGLRaw/README new file mode 100644 index 0000000000..211d7eb2be --- /dev/null +++ b/haskell/haskell-OpenGLRaw/README @@ -0,0 +1,14 @@ +OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics +system and lots of OpenGL extensions. It is basically a 1:1 mapping +of OpenGL's C API, intended as a basis for a nicer interface. +OpenGLRaw offers access to all necessary functions, tokens and types +plus a general facility for loading extension entries. The module +hierarchy closely mirrors the naming structure of the OpenGL +extensions, making it easy to find the right module to import. All +API entries are loaded dynamically. If an API entry is not found at +runtime, a userError is thrown. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-OpenGLRaw/doinst.sh b/haskell/haskell-OpenGLRaw/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-OpenGLRaw/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild b/haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild new file mode 100644 index 0000000000..49f9970446 --- /dev/null +++ b/haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for OpenGLRaw + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-OpenGLRaw +VERSION=${VERSION:-1.1.0.1} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.info b/haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.info new file mode 100644 index 0000000000..bf18fa575a --- /dev/null +++ b/haskell/haskell-OpenGLRaw/haskell-OpenGLRaw.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-OpenGLRaw" +VERSION="1.1.0.1" +HOMEPAGE="http://hackage.haskell.org/package/OpenGLRaw" +DOWNLOAD="http://hackage.haskell.org/packages/archive/OpenGLRaw/1.1.0.1/OpenGLRaw-1.1.0.1.tar.gz" +MD5SUM="efe968cf32e46ae61b7b19edc2711044" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-OpenGLRaw/slack-desc b/haskell/haskell-OpenGLRaw/slack-desc new file mode 100644 index 0000000000..01eb26c905 --- /dev/null +++ b/haskell/haskell-OpenGLRaw/slack-desc @@ -0,0 +1,19 @@ +# 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-OpenGLRaw: haskell-OpenGLRaw (A raw binding for the OpenGL graphics system) +haskell-OpenGLRaw: +haskell-OpenGLRaw: OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics +haskell-OpenGLRaw: system and lots of OpenGL extensions. It is basically a 1:1 mapping +haskell-OpenGLRaw: of OpenGL's C API, intended as a basis for a nicer interface. +haskell-OpenGLRaw: OpenGLRaw offers access to all necessary functions, tokens and types +haskell-OpenGLRaw: plus a general facility for loading extension entries. The module +haskell-OpenGLRaw: hierarchy closely mirrors the naming structure of the OpenGL +haskell-OpenGLRaw: extensions, making it easy to find the right module to import. All +haskell-OpenGLRaw: API entries are loaded dynamically. If an API entry is not found at +haskell-OpenGLRaw: runtime, a userError is thrown. diff --git a/haskell/haskell-QuickCheck/README b/haskell/haskell-QuickCheck/README new file mode 100644 index 0000000000..fc75575469 --- /dev/null +++ b/haskell/haskell-QuickCheck/README @@ -0,0 +1,10 @@ +QuickCheck is a library for random testing of program properties. +The programmer provides a specification of the program, in the form +of properties which functions should satisfy, and QuickCheck then +tests that the properties hold in a large number of randomly +generated cases. + +This requires ghc, haskell-transformers, and haskell-mtl. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-QuickCheck/doinst.sh b/haskell/haskell-QuickCheck/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-QuickCheck/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild b/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild new file mode 100644 index 0000000000..18524141e0 --- /dev/null +++ b/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for QuickCheck + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-QuickCheck +VERSION=${VERSION:-2.4.0.1} +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 \ + --enable-shared \ + --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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-QuickCheck/haskell-QuickCheck.info b/haskell/haskell-QuickCheck/haskell-QuickCheck.info new file mode 100644 index 0000000000..91ab2762c0 --- /dev/null +++ b/haskell/haskell-QuickCheck/haskell-QuickCheck.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-QuickCheck" +VERSION="2.4.0.1" +HOMEPAGE="http://hackage.haskell.org/package/QuickCheck" +DOWNLOAD="http://hackage.haskell.org/packages/archive/QuickCheck/2.4.0.1/QuickCheck-2.4.0.1.tar.gz" +MD5SUM="e8c86e95fd1fa4c58fc8e53e2853db5e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-QuickCheck/slack-desc b/haskell/haskell-QuickCheck/slack-desc new file mode 100644 index 0000000000..3c16d50998 --- /dev/null +++ b/haskell/haskell-QuickCheck/slack-desc @@ -0,0 +1,19 @@ +# 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-QuickCheck: haskell-QuickCheck (Automatic testing of Haskell programs) +haskell-QuickCheck: +haskell-QuickCheck: QuickCheck is a library for random testing of program properties. +haskell-QuickCheck: The programmer provides a specification of the program, in the form +haskell-QuickCheck: of properties which functions should satisfy, and QuickCheck then +haskell-QuickCheck: tests that the properties hold in a large number of randomly +haskell-QuickCheck: generated cases. +haskell-QuickCheck: +haskell-QuickCheck: http://hackage.haskell.org/package/QuickCheck +haskell-QuickCheck: +haskell-QuickCheck: diff --git a/haskell/haskell-StateVar/README b/haskell/haskell-StateVar/README new file mode 100644 index 0000000000..2d3ee44d07 --- /dev/null +++ b/haskell/haskell-StateVar/README @@ -0,0 +1,7 @@ +This package contains state variables, which are references in the +IO monad, like IORefs or parts of the OpenGL state. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-StateVar/doinst.sh b/haskell/haskell-StateVar/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-StateVar/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-StateVar/haskell-StateVar.SlackBuild b/haskell/haskell-StateVar/haskell-StateVar.SlackBuild new file mode 100644 index 0000000000..4115010ffb --- /dev/null +++ b/haskell/haskell-StateVar/haskell-StateVar.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for StateVar + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-StateVar +VERSION=${VERSION:-1.0.0.0} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-StateVar/haskell-StateVar.info b/haskell/haskell-StateVar/haskell-StateVar.info new file mode 100644 index 0000000000..8146797529 --- /dev/null +++ b/haskell/haskell-StateVar/haskell-StateVar.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-StateVar" +VERSION="1.0.0.0" +HOMEPAGE="http://hackage.haskell.org/package/StateVar" +DOWNLOAD="http://hackage.haskell.org/packages/archive/StateVar/1.0.0.0/StateVar-1.0.0.0.tar.gz" +MD5SUM="313aa364e9c41bdd87f4bd3710676d63" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-StateVar/slack-desc b/haskell/haskell-StateVar/slack-desc new file mode 100644 index 0000000000..cf762cdcda --- /dev/null +++ b/haskell/haskell-StateVar/slack-desc @@ -0,0 +1,19 @@ +# 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-StateVar: haskell-StateVar (State variables for Haskell) +haskell-StateVar: +haskell-StateVar: This package contains state variables, which are references in the +haskell-StateVar: IO monad, like IORefs or parts of the OpenGL state. +haskell-StateVar: +haskell-StateVar: +haskell-StateVar: +haskell-StateVar: +haskell-StateVar: +haskell-StateVar: +haskell-StateVar: diff --git a/haskell/haskell-Tensor/README b/haskell/haskell-Tensor/README new file mode 100644 index 0000000000..0ed8491b14 --- /dev/null +++ b/haskell/haskell-Tensor/README @@ -0,0 +1,7 @@ +This package contains tensor data types and their instances for some +basic type classes. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-Tensor/doinst.sh b/haskell/haskell-Tensor/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-Tensor/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-Tensor/haskell-Tensor.SlackBuild b/haskell/haskell-Tensor/haskell-Tensor.SlackBuild new file mode 100644 index 0000000000..1396770bf2 --- /dev/null +++ b/haskell/haskell-Tensor/haskell-Tensor.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for Tensor + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-Tensor +VERSION=${VERSION:-1.0.0.1} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-Tensor/haskell-Tensor.info b/haskell/haskell-Tensor/haskell-Tensor.info new file mode 100644 index 0000000000..afef4b7d40 --- /dev/null +++ b/haskell/haskell-Tensor/haskell-Tensor.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-Tensor" +VERSION="1.0.0.1" +HOMEPAGE="http://hackage.haskell.org/package/Tensor" +DOWNLOAD="http://hackage.haskell.org/packages/archive/Tensor/1.0.0.1/Tensor-1.0.0.1.tar.gz" +MD5SUM="67e0393f0cf4f2db06f525853e47811c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-Tensor/slack-desc b/haskell/haskell-Tensor/slack-desc new file mode 100644 index 0000000000..f9e7ead65a --- /dev/null +++ b/haskell/haskell-Tensor/slack-desc @@ -0,0 +1,19 @@ +# 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-Tensor: haskell-Tensor (Tensor data types) +haskell-Tensor: +haskell-Tensor: This package contains tensor data types and their instances for some +haskell-Tensor: basic type classes. +haskell-Tensor: +haskell-Tensor: +haskell-Tensor: +haskell-Tensor: +haskell-Tensor: +haskell-Tensor: +haskell-Tensor: diff --git a/haskell/haskell-X11-xft/README b/haskell/haskell-X11-xft/README new file mode 100644 index 0000000000..711cb15ac9 --- /dev/null +++ b/haskell/haskell-X11-xft/README @@ -0,0 +1,6 @@ +haskell-X11-xft is haskell support for xft in X11. + +This requires ghc, haskell-X11, and haskell-utf8-string. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-X11-xft/doinst.sh b/haskell/haskell-X11-xft/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-X11-xft/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-X11-xft/haskell-X11-xft.SlackBuild b/haskell/haskell-X11-xft/haskell-X11-xft.SlackBuild new file mode 100644 index 0000000000..5e678db3f5 --- /dev/null +++ b/haskell/haskell-X11-xft/haskell-X11-xft.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh +# Slackware build script for X11-xft + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Modified by Andy Bailey (GooseYArd@gmail.com) for X11-xft +# Public domain. + +SRCNAM=X11-xft +PRGNAM=haskell-$SRCNAM +VERSION=${VERSION:-0.3} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +GHC_VERSION=$(ghc --numeric-version) + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 \ + --enable-shared \ + --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 + +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 + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-X11-xft/haskell-X11-xft.info b/haskell/haskell-X11-xft/haskell-X11-xft.info new file mode 100644 index 0000000000..c12d37f9b7 --- /dev/null +++ b/haskell/haskell-X11-xft/haskell-X11-xft.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-X11-xft" +VERSION="0.3" +HOMEPAGE="http://hackage.haskell.org/package/X11-xft" +DOWNLOAD="http://hackage.haskell.org/packages/archive/X11-xft/0.3/X11-xft-0.3.tar.gz" +MD5SUM="1b4a528a2a4fe5e9de715f6758ff9015" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Andy Bailey" +EMAIL="GooseYArd@gmail.com" +APPROVED="Erik Hanson" diff --git a/haskell/haskell-X11-xft/slack-desc b/haskell/haskell-X11-xft/slack-desc new file mode 100644 index 0000000000..d8f386dc70 --- /dev/null +++ b/haskell/haskell-X11-xft/slack-desc @@ -0,0 +1,19 @@ +# 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-X11-xft: haskell-X11-xft (haskell bindings to the xft library) +haskell-X11-xft: +haskell-X11-xft: Haskell bindings to the Xft, X Free Type interface library, +haskell-X11-xft: and some Xrender parts. +haskell-X11-xft: +haskell-X11-xft: http://hackage.haskell.org/package/X11-xft +haskell-X11-xft: +haskell-X11-xft: +haskell-X11-xft: +haskell-X11-xft: +haskell-X11-xft: diff --git a/haskell/haskell-X11/README b/haskell/haskell-X11/README new file mode 100644 index 0000000000..64f452c70f --- /dev/null +++ b/haskell/haskell-X11/README @@ -0,0 +1,9 @@ +A Haskell binding to the X11 graphics library. The binding is a +direct translation of the C binding; for documentation of these calls, +refer to The Xlib Programming Manual, available online at +http://tronche.com/gui/x/xlib/. + +This requires ghc and haskell-syb from SlackBuilds.org. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-X11/doinst.sh b/haskell/haskell-X11/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-X11/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-X11/haskell-X11.SlackBuild b/haskell/haskell-X11/haskell-X11.SlackBuild new file mode 100644 index 0000000000..dd72723ba3 --- /dev/null +++ b/haskell/haskell-X11/haskell-X11.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for X11 + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-X11 +VERSION=${VERSION:-1.5.0.0} +BUILD=${BUILD:-3} +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.hs 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 + +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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-X11/haskell-X11.info b/haskell/haskell-X11/haskell-X11.info new file mode 100644 index 0000000000..e4fcc8604a --- /dev/null +++ b/haskell/haskell-X11/haskell-X11.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-X11" +VERSION="1.5.0.0" +HOMEPAGE="http://hackage.haskell.org/package/X11" +DOWNLOAD="http://hackage.haskell.org/packages/archive/X11/1.5.0.0/X11-1.5.0.0.tar.gz" +MD5SUM="ec6670f5ce1812206903c8a0fd9df04c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-X11/slack-desc b/haskell/haskell-X11/slack-desc new file mode 100644 index 0000000000..922c7a60d8 --- /dev/null +++ b/haskell/haskell-X11/slack-desc @@ -0,0 +1,19 @@ +# 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-X11: haskell-X11 (A Haskell binding to the X11 graphics library) +haskell-X11: +haskell-X11: The binding is a direct translation of the C binding; for +haskell-X11: documentation of these calls, refer to The Xlib Programming Manual, +haskell-X11: available online at http://tronche.com/gui/x/xlib/. +haskell-X11: +haskell-X11: http://hackage.haskell.org/package/X11 +haskell-X11: +haskell-X11: +haskell-X11: +haskell-X11: diff --git a/haskell/haskell-ansi-terminal/README b/haskell/haskell-ansi-terminal/README new file mode 100644 index 0000000000..1cde06ceeb --- /dev/null +++ b/haskell/haskell-ansi-terminal/README @@ -0,0 +1,8 @@ +ANSI terminal support for Haskell: allows cursor movement, screen +clearing, color output showing or hiding the cursor, and changing +the title. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-ansi-terminal/doinst.sh b/haskell/haskell-ansi-terminal/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-ansi-terminal/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild b/haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild new file mode 100644 index 0000000000..a9e25df1b6 --- /dev/null +++ b/haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for ansi-terminal + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-ansi-terminal +VERSION=${VERSION:-0.5.5} +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/haskell/haskell-ansi-terminal/haskell-ansi-terminal.info b/haskell/haskell-ansi-terminal/haskell-ansi-terminal.info new file mode 100644 index 0000000000..51a6d6eeb4 --- /dev/null +++ b/haskell/haskell-ansi-terminal/haskell-ansi-terminal.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-ansi-terminal" +VERSION="0.5.5" +HOMEPAGE="http://hackage.haskell.org/package/ansi-terminal" +DOWNLOAD="http://hackage.haskell.org/packages/archive/ansi-terminal/0.5.5/ansi-terminal-0.5.5.tar.gz" +MD5SUM="5ad9e6561f0de1a2e98b6c72d119ea75" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-ansi-terminal/slack-desc b/haskell/haskell-ansi-terminal/slack-desc new file mode 100644 index 0000000000..d76be32bf3 --- /dev/null +++ b/haskell/haskell-ansi-terminal/slack-desc @@ -0,0 +1,19 @@ +# 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-ansi-terminal: haskell-ansi-terminal (Simple ANSI terminal support) +haskell-ansi-terminal: +haskell-ansi-terminal: ANSI terminal support for Haskell: allows cursor movement, screen +haskell-ansi-terminal: clearing, color output showing or hiding the cursor, and changing +haskell-ansi-terminal: the title. +haskell-ansi-terminal: +haskell-ansi-terminal: +haskell-ansi-terminal: +haskell-ansi-terminal: +haskell-ansi-terminal: +haskell-ansi-terminal: diff --git a/haskell/haskell-ansi-wl-pprint/README b/haskell/haskell-ansi-wl-pprint/README new file mode 100644 index 0000000000..44c4974c14 --- /dev/null +++ b/haskell/haskell-ansi-wl-pprint/README @@ -0,0 +1,8 @@ +This is a pretty printing library based on Wadler's paper A Prettier +Printer. It has been enhanced with support for ANSI terminal colored +output using the ansi-terminal package. + +This requires ghc, and haskell-ansi-terminal. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-ansi-wl-pprint/doinst.sh b/haskell/haskell-ansi-wl-pprint/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-ansi-wl-pprint/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild b/haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild new file mode 100644 index 0000000000..de4a690b59 --- /dev/null +++ b/haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for ansi-wl-pprint + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-ansi-wl-pprint +VERSION=${VERSION:-0.6.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 {} \; + +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/haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info b/haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info new file mode 100644 index 0000000000..db2f5ee8de --- /dev/null +++ b/haskell/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-ansi-wl-pprint" +VERSION="0.6.3" +HOMEPAGE="http://hackage.haskell.org/package/ansi-wl-pprint" +DOWNLOAD="http://hackage.haskell.org/packages/archive/ansi-wl-pprint/0.6.3/ansi-wl-pprint-0.6.3.tar.gz" +MD5SUM="1a58d605d340226a74074d7e5583565d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-ansi-wl-pprint/slack-desc b/haskell/haskell-ansi-wl-pprint/slack-desc new file mode 100644 index 0000000000..08da3a9e29 --- /dev/null +++ b/haskell/haskell-ansi-wl-pprint/slack-desc @@ -0,0 +1,19 @@ +# 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-ansi-wl-pprint: haskell-ansi-wl-pprint (The Wadler/Leijen Pretty Printer) +haskell-ansi-wl-pprint: +haskell-ansi-wl-pprint: This is a pretty printing library based on Wadler's paper A Prettier +haskell-ansi-wl-pprint: Printer. It has been enhanced with support for ANSI terminal colored +haskell-ansi-wl-pprint: output using the ansi-terminal package. +haskell-ansi-wl-pprint: +haskell-ansi-wl-pprint: +haskell-ansi-wl-pprint: +haskell-ansi-wl-pprint: +haskell-ansi-wl-pprint: +haskell-ansi-wl-pprint: diff --git a/haskell/haskell-binary/README b/haskell/haskell-binary/README new file mode 100644 index 0000000000..34fa609952 --- /dev/null +++ b/haskell/haskell-binary/README @@ -0,0 +1,8 @@ +This is a library for Haskell programs, providing high performance binary +serialisation of Haskell data. It uses the ByteString library to achieve +efficient, lazy reading and writing of structures in binary format. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-binary/doinst.sh b/haskell/haskell-binary/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-binary/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-binary/haskell-binary.SlackBuild b/haskell/haskell-binary/haskell-binary.SlackBuild new file mode 100644 index 0000000000..145b949840 --- /dev/null +++ b/haskell/haskell-binary/haskell-binary.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for binary + +# Written by Peter Wang +# Modified by Mikko Värri +# Public domain. + +PRGNAM=haskell-binary +VERSION=${VERSION:-0.5.0.2} +BUILD=${BUILD:-4} +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 # Exit on most errors + +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 \ + --enable-shared \ + --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 + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +install -m 644 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-binary/haskell-binary.info b/haskell/haskell-binary/haskell-binary.info new file mode 100644 index 0000000000..3f9c55403b --- /dev/null +++ b/haskell/haskell-binary/haskell-binary.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-binary" +VERSION="0.5.0.2" +HOMEPAGE="http://hackage.haskell.org/package/binary" +DOWNLOAD="http://hackage.haskell.org/packages/archive/binary/0.5.0.2/binary-0.5.0.2.tar.gz" +MD5SUM="6bf8f3d1441602c9ab09a75e3bd6e926" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-binary/slack-desc b/haskell/haskell-binary/slack-desc new file mode 100644 index 0000000000..06140eecf8 --- /dev/null +++ b/haskell/haskell-binary/slack-desc @@ -0,0 +1,19 @@ +# 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-binary: haskell-binary (binary serialisation library for Haskell) +haskell-binary: +haskell-binary: This is a library for Haskell programs, providing high +haskell-binary: performance binary serialisation of Haskell data. It uses the +haskell-binary: ByteString library to achieve efficient, lazy reading and +haskell-binary: writing of structures in binary format. +haskell-binary: +haskell-binary: +haskell-binary: +haskell-binary: +haskell-binary: diff --git a/haskell/haskell-cgi/README b/haskell/haskell-cgi/README new file mode 100644 index 0000000000..488b06326f --- /dev/null +++ b/haskell/haskell-cgi/README @@ -0,0 +1,6 @@ +This is a Haskell library for writing CGI programs. + +This requires haskell-MonadCatchIO-mtl, haskell-network and haskell-xhtml. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-cgi/doinst.sh b/haskell/haskell-cgi/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-cgi/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-cgi/haskell-cgi.SlackBuild b/haskell/haskell-cgi/haskell-cgi.SlackBuild new file mode 100644 index 0000000000..7204d44268 --- /dev/null +++ b/haskell/haskell-cgi/haskell-cgi.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for cgi + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-cgi +VERSION=${VERSION:-3001.1.8.2} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-cgi/haskell-cgi.info b/haskell/haskell-cgi/haskell-cgi.info new file mode 100644 index 0000000000..8c6dafe586 --- /dev/null +++ b/haskell/haskell-cgi/haskell-cgi.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-cgi" +VERSION="3001.1.8.2" +HOMEPAGE="http://hackage.haskell.org/package/cgi" +DOWNLOAD="http://hackage.haskell.org/packages/archive/cgi/3001.1.8.2/cgi-3001.1.8.2.tar.gz" +MD5SUM="4092efaf00ac329b9771879f57a95323" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-cgi/slack-desc b/haskell/haskell-cgi/slack-desc new file mode 100644 index 0000000000..c3be262247 --- /dev/null +++ b/haskell/haskell-cgi/slack-desc @@ -0,0 +1,19 @@ +# 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-cgi: haskell-cgi (A Haskell library for writing CGI programs) +haskell-cgi: +haskell-cgi: This is a Haskell library for writing CGI programs. +haskell-cgi: +haskell-cgi: http://hackage.haskell.org/package/cgi +haskell-cgi: +haskell-cgi: +haskell-cgi: +haskell-cgi: +haskell-cgi: +haskell-cgi: diff --git a/haskell/haskell-dataenc/README b/haskell/haskell-dataenc/README new file mode 100644 index 0000000000..0e39f95c01 --- /dev/null +++ b/haskell/haskell-dataenc/README @@ -0,0 +1,8 @@ +Data encoding library currently providing Base16, Base32, Base32Hex, +Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, +URL encoding, uuencode, xxencode, and yEncoding. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-dataenc/doinst.sh b/haskell/haskell-dataenc/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-dataenc/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild new file mode 100644 index 0000000000..24cb79f9e5 --- /dev/null +++ b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for dataenc + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-dataenc +VERSION=${VERSION:-0.13.0.4} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-dataenc/haskell-dataenc.info b/haskell/haskell-dataenc/haskell-dataenc.info new file mode 100644 index 0000000000..7776ddef0a --- /dev/null +++ b/haskell/haskell-dataenc/haskell-dataenc.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-dataenc" +VERSION="0.13.0.4" +HOMEPAGE="http://hackage.haskell.org/package/dataenc" +DOWNLOAD="http://hackage.haskell.org/packages/archive/dataenc/0.13.0.4/dataenc-0.13.0.4.tar.gz" +MD5SUM="4764fa7f75ed3ee95a759d67d1347d46" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-dataenc/slack-desc b/haskell/haskell-dataenc/slack-desc new file mode 100644 index 0000000000..bea7b806f2 --- /dev/null +++ b/haskell/haskell-dataenc/slack-desc @@ -0,0 +1,19 @@ +# 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-dataenc: haskell-dataenc (Data encoding library) +haskell-dataenc: +haskell-dataenc: Data encoding library currently providing Base16, Base32, Base32Hex, +haskell-dataenc: Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, +haskell-dataenc: URL encoding, uuencode, xxencode, and yEncoding. +haskell-dataenc: +haskell-dataenc: http://hackage.haskell.org/package/dataenc +haskell-dataenc: +haskell-dataenc: +haskell-dataenc: +haskell-dataenc: diff --git a/haskell/haskell-deepseq/README b/haskell/haskell-deepseq/README new file mode 100644 index 0000000000..409bf706fc --- /dev/null +++ b/haskell/haskell-deepseq/README @@ -0,0 +1,7 @@ +This package provides a "deep" version of seq, for fully evaluating +data structures. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-deepseq/doinst.sh b/haskell/haskell-deepseq/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-deepseq/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-deepseq/haskell-deepseq.SlackBuild b/haskell/haskell-deepseq/haskell-deepseq.SlackBuild new file mode 100644 index 0000000000..eab0b06d14 --- /dev/null +++ b/haskell/haskell-deepseq/haskell-deepseq.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for deepseq + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-deepseq +VERSION=${VERSION:-1.1.0.2} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-deepseq/haskell-deepseq.info b/haskell/haskell-deepseq/haskell-deepseq.info new file mode 100644 index 0000000000..997005544f --- /dev/null +++ b/haskell/haskell-deepseq/haskell-deepseq.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-deepseq" +VERSION="1.1.0.2" +HOMEPAGE="http://hackage.haskell.org/package/deepseq" +DOWNLOAD="http://hackage.haskell.org/packages/archive/deepseq/1.1.0.2/deepseq-1.1.0.2.tar.gz" +MD5SUM="90b66480f0eb659c1db209ee703e0162" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-deepseq/slack-desc b/haskell/haskell-deepseq/slack-desc new file mode 100644 index 0000000000..b0a5792930 --- /dev/null +++ b/haskell/haskell-deepseq/slack-desc @@ -0,0 +1,19 @@ +# 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-deepseq: haskell-deepseq (Fully evaluate data structures in Haskell) +haskell-deepseq: +haskell-deepseq: This package provides a "deep" version of seq, for fully evaluating +haskell-deepseq: data structures. +haskell-deepseq: +haskell-deepseq: http://hackage.haskell.org/package/deepseq +haskell-deepseq: +haskell-deepseq: +haskell-deepseq: +haskell-deepseq: +haskell-deepseq: diff --git a/haskell/haskell-digest/README b/haskell/haskell-digest/README new file mode 100644 index 0000000000..3d1bce3dd6 --- /dev/null +++ b/haskell/haskell-digest/README @@ -0,0 +1,8 @@ +This is a library for Haskell programs, providing efficient cryptographic hash +implementations for strict and lazy bytestrings. CRC32 and Adler32 are +supported; they are implemented as FFI bindings to efficient code from zlib. + +This requires ghc. + +After uninstalling, run the following command to unregister the package +from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-digest/doinst.sh b/haskell/haskell-digest/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-digest/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-digest/haskell-digest.SlackBuild b/haskell/haskell-digest/haskell-digest.SlackBuild new file mode 100644 index 0000000000..29a1e37cf7 --- /dev/null +++ b/haskell/haskell-digest/haskell-digest.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for digest + +# Written by Peter Wang +# Modified by Mikko Värri +# Public domain. + +PRGNAM=haskell-digest +VERSION=${VERSION:-0.0.0.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 # Exit on most errors + +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.hs 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 + +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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-digest/haskell-digest.info b/haskell/haskell-digest/haskell-digest.info new file mode 100644 index 0000000000..edf39d01fb --- /dev/null +++ b/haskell/haskell-digest/haskell-digest.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-digest" +VERSION="0.0.0.9" +HOMEPAGE="http://hackage.haskell.org/package/digest" +DOWNLOAD="http://hackage.haskell.org/packages/archive/digest/0.0.0.9/digest-0.0.0.9.tar.gz" +MD5SUM="0f35175426d9e443516ac3fa2bf91311" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-digest/slack-desc b/haskell/haskell-digest/slack-desc new file mode 100644 index 0000000000..568dc71293 --- /dev/null +++ b/haskell/haskell-digest/slack-desc @@ -0,0 +1,19 @@ +# 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-digest: haskell-digest (cryptographic hash library for Haskell) +haskell-digest: +haskell-digest: This is a library for Haskell programs, providing efficient +haskell-digest: cryptographic hash implementations for strict and lazy +haskell-digest: bytestrings. CRC32 and Adler32 are supported; they are +haskell-digest: implemented as FFI bindings to efficient code from zlib. +haskell-digest: +haskell-digest: +haskell-digest: +haskell-digest: +haskell-digest: diff --git a/haskell/haskell-editline/README b/haskell/haskell-editline/README new file mode 100644 index 0000000000..0f36b82abc --- /dev/null +++ b/haskell/haskell-editline/README @@ -0,0 +1,10 @@ +This package contains Haskell bindings to the BSD editline library. +It provides a basic interface to the editline API for reading lines of +input from the user. Additionally, a readline compatibility module is +included which provides a subset of the functions from the readline +package. + +This requires libedit and ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-editline/doinst.sh b/haskell/haskell-editline/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-editline/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-editline/haskell-editline.SlackBuild b/haskell/haskell-editline/haskell-editline.SlackBuild new file mode 100644 index 0000000000..f07fc4011a --- /dev/null +++ b/haskell/haskell-editline/haskell-editline.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for editline + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-editline +VERSION=${VERSION:-0.2.1.0} +BUILD=${BUILD:-3} +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-editline/haskell-editline.info b/haskell/haskell-editline/haskell-editline.info new file mode 100644 index 0000000000..efbfcf748d --- /dev/null +++ b/haskell/haskell-editline/haskell-editline.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-editline" +VERSION="0.2.1.0" +HOMEPAGE="http://hackage.haskell.org/package/editline" +DOWNLOAD="http://hackage.haskell.org/packages/archive/editline/0.2.1.0/editline-0.2.1.0.tar.gz" +MD5SUM="fa57f434e538bb32bbfa97aface34358" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-editline/slack-desc b/haskell/haskell-editline/slack-desc new file mode 100644 index 0000000000..9e942b8e2f --- /dev/null +++ b/haskell/haskell-editline/slack-desc @@ -0,0 +1,19 @@ +# 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-editline: haskell-editline (Bindings to the editline library (libedit)) +haskell-editline: +haskell-editline: This package contains bindings to the BSD editline library. It +haskell-editline: provides a basic interface to the editline API for reading lines of +haskell-editline: input from the user. Additionally, a readline compatibility module +haskell-editline: is included which provides a subset of the functions from the +haskell-editline: readline package. +haskell-editline: +haskell-editline: http://hackage.haskell.org/package/editline +haskell-editline: +haskell-editline: diff --git a/haskell/haskell-fgl/README b/haskell/haskell-fgl/README new file mode 100644 index 0000000000..ed8951f045 --- /dev/null +++ b/haskell/haskell-fgl/README @@ -0,0 +1,7 @@ +The functional graph library for Haskell provides several modules +that define inductive graphs and graph algorithms. + +This requires ghc, haskell-transformers, and haskell-mtl. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-fgl/doinst.sh b/haskell/haskell-fgl/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-fgl/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-fgl/haskell-fgl.SlackBuild b/haskell/haskell-fgl/haskell-fgl.SlackBuild new file mode 100644 index 0000000000..238be494db --- /dev/null +++ b/haskell/haskell-fgl/haskell-fgl.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for fgl + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-fgl +VERSION=${VERSION:-5.4.2.3} +BUILD=${BUILD:-2} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-fgl/haskell-fgl.info b/haskell/haskell-fgl/haskell-fgl.info new file mode 100644 index 0000000000..8c3fa0bd57 --- /dev/null +++ b/haskell/haskell-fgl/haskell-fgl.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-fgl" +VERSION="5.4.2.3" +HOMEPAGE="http://hackage.haskell.org/package/fgl" +DOWNLOAD="http://hackage.haskell.org/packages/archive/fgl/5.4.2.3/fgl-5.4.2.3.tar.gz" +MD5SUM="29ccab8bebed16a8d7346c3ed52c5d9c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-fgl/slack-desc b/haskell/haskell-fgl/slack-desc new file mode 100644 index 0000000000..a08e2317bd --- /dev/null +++ b/haskell/haskell-fgl/slack-desc @@ -0,0 +1,19 @@ +# 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-fgl: haskell-fgl (Martin Erwig's Functional Graph Library) +haskell-fgl: +haskell-fgl: The functional graph library for Haskell provides several modules +haskell-fgl: that define inductive graphs and graph algorithms. +haskell-fgl: +haskell-fgl: http://hackage.haskell.org/package/fgl +haskell-fgl: +haskell-fgl: +haskell-fgl: +haskell-fgl: +haskell-fgl: diff --git a/haskell/haskell-ghc-paths/README b/haskell/haskell-ghc-paths/README new file mode 100644 index 0000000000..251c68ed71 --- /dev/null +++ b/haskell/haskell-ghc-paths/README @@ -0,0 +1,6 @@ +haskell-ghc-paths gives knowledge of GHC's installation directories. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-ghc-paths/doinst.sh b/haskell/haskell-ghc-paths/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-ghc-paths/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild new file mode 100644 index 0000000000..9ca777fa40 --- /dev/null +++ b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for ghc-paths + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-ghc-paths +VERSION=${VERSION:-0.1.0.8} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-ghc-paths/haskell-ghc-paths.info b/haskell/haskell-ghc-paths/haskell-ghc-paths.info new file mode 100644 index 0000000000..4c2c5064ce --- /dev/null +++ b/haskell/haskell-ghc-paths/haskell-ghc-paths.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-ghc-paths" +VERSION="0.1.0.8" +HOMEPAGE="http://hackage.haskell.org/package/ghc-paths" +DOWNLOAD="http://hackage.haskell.org/packages/archive/ghc-paths/0.1.0.8/ghc-paths-0.1.0.8.tar.gz" +MD5SUM="d2b23dc563888e380588501d2ce1d82b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-ghc-paths/slack-desc b/haskell/haskell-ghc-paths/slack-desc new file mode 100644 index 0000000000..0924f67de7 --- /dev/null +++ b/haskell/haskell-ghc-paths/slack-desc @@ -0,0 +1,19 @@ +# 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-ghc-paths: haskell-ghc-paths (gives knowledge of GHC's installation directories) +haskell-ghc-paths: +haskell-ghc-paths: This package gives knowledge of GHC's installation directories. +haskell-ghc-paths: +haskell-ghc-paths: +haskell-ghc-paths: +haskell-ghc-paths: +haskell-ghc-paths: +haskell-ghc-paths: +haskell-ghc-paths: +haskell-ghc-paths: diff --git a/haskell/haskell-hashed-storage/README b/haskell/haskell-hashed-storage/README new file mode 100644 index 0000000000..2f8d278cd8 --- /dev/null +++ b/haskell/haskell-hashed-storage/README @@ -0,0 +1,13 @@ +Support code for reading and manipulating hashed file storage (where +each file and directory is associated with a cryptographic hash, for +corruption-resistant storage and fast comparisons). + +The supported storage formats include darcs hashed pristine, a plain +filesystem tree and an indexed plain tree (where the index maintains +hashes of the plain files and directories). + +This requires ghc, haskell-binary, haskell-dataenc, haskell-mmap, +haskell-transformers, haskell-zlib, and haskell-mtl. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hashed-storage/doinst.sh b/haskell/haskell-hashed-storage/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hashed-storage/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild b/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild new file mode 100644 index 0000000000..f6e04cccd8 --- /dev/null +++ b/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for hashed-storage + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-hashed-storage +VERSION=${VERSION:-0.5.4} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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 NEWS $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/haskell/haskell-hashed-storage/haskell-hashed-storage.info b/haskell/haskell-hashed-storage/haskell-hashed-storage.info new file mode 100644 index 0000000000..9a6e8d4f5e --- /dev/null +++ b/haskell/haskell-hashed-storage/haskell-hashed-storage.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hashed-storage" +VERSION="0.5.4" +HOMEPAGE="http://hackage.haskell.org/package/hashed-storage" +DOWNLOAD="http://hackage.haskell.org/packages/archive/hashed-storage/0.5.4/hashed-storage-0.5.4.tar.gz" +MD5SUM="e182a3fe6f977b0df85641da5df8e4f2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-hashed-storage/slack-desc b/haskell/haskell-hashed-storage/slack-desc new file mode 100644 index 0000000000..82b57a0e6d --- /dev/null +++ b/haskell/haskell-hashed-storage/slack-desc @@ -0,0 +1,19 @@ +# 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-hashed-storage: haskell-hashed-storage (Hashed file storage support code) +haskell-hashed-storage: +haskell-hashed-storage: Support code for reading and manipulating hashed file storage (where +haskell-hashed-storage: each file and directory is associated with a cryptographic hash, for +haskell-hashed-storage: corruption-resistant storage and fast comparisons). +haskell-hashed-storage: +haskell-hashed-storage: The supported storage formats include darcs hashed pristine, a plain +haskell-hashed-storage: filesystem tree and an indexed plain tree (where the index maintains +haskell-hashed-storage: hashes of the plain files and directories). +haskell-hashed-storage: +haskell-hashed-storage: http://hackage.haskell.org/package/hashed-storage diff --git a/haskell/haskell-haskeline/README b/haskell/haskell-haskeline/README new file mode 100644 index 0000000000..5ad216dcb7 --- /dev/null +++ b/haskell/haskell-haskeline/README @@ -0,0 +1,10 @@ +Haskeline provides a user interface for line input in command-line +programs. This library is similar in purpose to readline, but since +it is written in Haskell, it is (hopefully) more easily used in other +Haskell programs. + +This requires ghc, haskell-transformers, haskell-mtl, +haskell-terminfo, and haskell-utf8-string. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-haskeline/doinst.sh b/haskell/haskell-haskeline/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-haskeline/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-haskeline/haskell-haskeline.SlackBuild b/haskell/haskell-haskeline/haskell-haskeline.SlackBuild new file mode 100644 index 0000000000..87e07cc7dd --- /dev/null +++ b/haskell/haskell-haskeline/haskell-haskeline.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/sh + +# Slackware build script for haskeline + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-haskeline +VERSION=${VERSION:-0.6.3.2} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --flags="terminfo" + +runghc Setup.hs build +runghc Setup.hs haddock +runghc Setup.hs copy --destdir=$PKG +runghc Setup.hs 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 CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-haskeline/haskell-haskeline.info b/haskell/haskell-haskeline/haskell-haskeline.info new file mode 100644 index 0000000000..bd1dc3fd1f --- /dev/null +++ b/haskell/haskell-haskeline/haskell-haskeline.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-haskeline" +VERSION="0.6.3.2" +HOMEPAGE="http://hackage.haskell.org/package/haskeline" +DOWNLOAD="http://hackage.haskell.org/packages/archive/haskeline/0.6.3.2/haskeline-0.6.3.2.tar.gz" +MD5SUM="d75863f63a1cfb499d0198e4f28ac2af" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-haskeline/slack-desc b/haskell/haskell-haskeline/slack-desc new file mode 100644 index 0000000000..2355477de4 --- /dev/null +++ b/haskell/haskell-haskeline/slack-desc @@ -0,0 +1,19 @@ +# 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-haskeline: haskell-haskeline (A command-line interface for user input) +haskell-haskeline: +haskell-haskeline: Haskeline provides a user interface for line input in command-line +haskell-haskeline: programs. This library is similar in purpose to readline, but since +haskell-haskeline: it is written in Haskell it is (hopefully) more easily used in other +haskell-haskeline: Haskell programs. +haskell-haskeline: +haskell-haskeline: http://hackage.haskell.org/package/haskeline +haskell-haskeline: +haskell-haskeline: +haskell-haskeline: diff --git a/haskell/haskell-haskell-src/README b/haskell/haskell-haskell-src/README new file mode 100644 index 0000000000..1d66af8621 --- /dev/null +++ b/haskell/haskell-haskell-src/README @@ -0,0 +1,7 @@ +Facilities for manipulating Haskell source code: an abstract syntax, +lexer, parser, and pretty-printer. + +This requires ghc, happy, and haskell-syb. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-haskell-src/doinst.sh b/haskell/haskell-haskell-src/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-haskell-src/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild b/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild new file mode 100644 index 0000000000..225878ade4 --- /dev/null +++ b/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for haskell-src + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-haskell-src +VERSION=${VERSION:-1.0.1.4} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-haskell-src/haskell-haskell-src.info b/haskell/haskell-haskell-src/haskell-haskell-src.info new file mode 100644 index 0000000000..63050d484c --- /dev/null +++ b/haskell/haskell-haskell-src/haskell-haskell-src.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-haskell-src" +VERSION="1.0.1.4" +HOMEPAGE="http://hackage.haskell.org/package/haskell-src" +DOWNLOAD="http://hackage.haskell.org/packages/archive/haskell-src/1.0.1.4/haskell-src-1.0.1.4.tar.gz" +MD5SUM="32d181c082393ab859e72610803bac6e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-haskell-src/slack-desc b/haskell/haskell-haskell-src/slack-desc new file mode 100644 index 0000000000..07c6b40709 --- /dev/null +++ b/haskell/haskell-haskell-src/slack-desc @@ -0,0 +1,19 @@ +# 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-haskell-src: haskell-haskell-src (Manipulating Haskell source code) +haskell-haskell-src: +haskell-haskell-src: Facilities for manipulating Haskell source code: an abstract syntax, +haskell-haskell-src: lexer, parser and pretty-printer. +haskell-haskell-src: +haskell-haskell-src: http://hackage.haskell.org/package/haskell-src +haskell-haskell-src: +haskell-haskell-src: +haskell-haskell-src: +haskell-haskell-src: +haskell-haskell-src: diff --git a/haskell/haskell-hinotify/README b/haskell/haskell-hinotify/README new file mode 100644 index 0000000000..4b31faab0f --- /dev/null +++ b/haskell/haskell-hinotify/README @@ -0,0 +1,8 @@ +inotify provides file system event notification, simply add a watcher to +a file or directory and get an event when it is accessed or modified. +This package provides haskell bindings for inotify. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hinotify/doinst.sh b/haskell/haskell-hinotify/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hinotify/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-hinotify/haskell-hinotify.SlackBuild b/haskell/haskell-hinotify/haskell-hinotify.SlackBuild new file mode 100644 index 0000000000..0374b97aea --- /dev/null +++ b/haskell/haskell-hinotify/haskell-hinotify.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for hinotify + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Modified by Andy Bailey (GooseYArd@gmail.com) for hinotify +# Public domain. + +SRCNAM=hinotify +PRGNAM=haskell-$SRCNAM +VERSION=${VERSION:-0.3.1} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +GHC_VERSION=$(ghc --numeric-version) + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 \ + --enable-shared \ + --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 + +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 + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-hinotify/haskell-hinotify.info b/haskell/haskell-hinotify/haskell-hinotify.info new file mode 100644 index 0000000000..728dd9939d --- /dev/null +++ b/haskell/haskell-hinotify/haskell-hinotify.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hinotify" +VERSION="0.3.1" +HOMEPAGE="http://hackage.haskell.org/package/hinotify" +DOWNLOAD="http://hackage.haskell.org/packages/archive/hinotify/0.3.1/hinotify-0.3.1.tar.gz" +MD5SUM="b24191dab428cd0bfb74af9f0ab68372" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Andy Bailey" +EMAIL="GooseYArd@gmail.com" +APPROVED="Erik Hanson" diff --git a/haskell/haskell-hinotify/slack-desc b/haskell/haskell-hinotify/slack-desc new file mode 100644 index 0000000000..a8d4c7b41f --- /dev/null +++ b/haskell/haskell-hinotify/slack-desc @@ -0,0 +1,19 @@ +# 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-hinotify: haskell-hinotify (file system event notifications) +haskell-hinotify: +haskell-hinotify: inotify provides file system event notification, simply add a watcher +haskell-hinotify: to a file or directory and get an event when it is accessed or +haskell-hinotify: modified. +haskell-hinotify: +haskell-hinotify: http://hackage.haskell.org/package/hinotify +haskell-hinotify: +haskell-hinotify: +haskell-hinotify: +haskell-hinotify: diff --git a/haskell/haskell-hostname/README b/haskell/haskell-hostname/README new file mode 100644 index 0000000000..9dd0d404fc --- /dev/null +++ b/haskell/haskell-hostname/README @@ -0,0 +1,7 @@ +A very simple package providing a cross-platform means of +determining the hostname. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-hostname/doinst.sh b/haskell/haskell-hostname/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-hostname/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-hostname/haskell-hostname.SlackBuild b/haskell/haskell-hostname/haskell-hostname.SlackBuild new file mode 100644 index 0000000000..a818061962 --- /dev/null +++ b/haskell/haskell-hostname/haskell-hostname.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for hostname + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-hostname +VERSION=${VERSION:-1.0} +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/haskell/haskell-hostname/haskell-hostname.info b/haskell/haskell-hostname/haskell-hostname.info new file mode 100644 index 0000000000..029071f2bf --- /dev/null +++ b/haskell/haskell-hostname/haskell-hostname.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-hostname" +VERSION="1.0" +HOMEPAGE="http://hackage.haskell.org/package/hostname" +DOWNLOAD="http://hackage.haskell.org/packages/archive/hostname/1.0/hostname-1.0.tar.gz" +MD5SUM="9389c8634239e5d6096ef563e59a703f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-hostname/slack-desc b/haskell/haskell-hostname/slack-desc new file mode 100644 index 0000000000..c890efcd73 --- /dev/null +++ b/haskell/haskell-hostname/slack-desc @@ -0,0 +1,19 @@ +# 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-hostname: haskell-hostname (cross-platform getHostName function for Haskell) +haskell-hostname: +haskell-hostname: A very simple package providing a cross-platform means of +haskell-hostname: determining the hostname. +haskell-hostname: +haskell-hostname: +haskell-hostname: +haskell-hostname: +haskell-hostname: +haskell-hostname: +haskell-hostname: diff --git a/haskell/haskell-html/README b/haskell/haskell-html/README new file mode 100644 index 0000000000..05e7b5f4e4 --- /dev/null +++ b/haskell/haskell-html/README @@ -0,0 +1,7 @@ +This package contains a combinator library for constructing HTML +documents in Haskell. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-html/doinst.sh b/haskell/haskell-html/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-html/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-html/haskell-html.SlackBuild b/haskell/haskell-html/haskell-html.SlackBuild new file mode 100644 index 0000000000..5cfef04593 --- /dev/null +++ b/haskell/haskell-html/haskell-html.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for html + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-html +VERSION=${VERSION:-1.0.1.2} +BUILD=${BUILD:-3} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-html/haskell-html.info b/haskell/haskell-html/haskell-html.info new file mode 100644 index 0000000000..b7f31a31be --- /dev/null +++ b/haskell/haskell-html/haskell-html.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-html" +VERSION="1.0.1.2" +HOMEPAGE="http://hackage.haskell.org/package/html" +DOWNLOAD="http://hackage.haskell.org/packages/archive/html/1.0.1.2/html-1.0.1.2.tar.gz" +MD5SUM="2a7de5a2af9a2f80d39825d6a95ee445" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-html/slack-desc b/haskell/haskell-html/slack-desc new file mode 100644 index 0000000000..2503806572 --- /dev/null +++ b/haskell/haskell-html/slack-desc @@ -0,0 +1,19 @@ +# 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-html: haskell-html (HTML combinator library) +haskell-html: +haskell-html: This package contains a combinator library for constructing HTML +haskell-html: documents. +haskell-html: +haskell-html: http://hackage.haskell.org/package/html +haskell-html: +haskell-html: +haskell-html: +haskell-html: +haskell-html: diff --git a/haskell/haskell-lcs/README b/haskell/haskell-lcs/README new file mode 100644 index 0000000000..c278761007 --- /dev/null +++ b/haskell/haskell-lcs/README @@ -0,0 +1,7 @@ +Provides a function lcs that takes two lists and returns a longest +common sublist. For example, lcs abcd acbd is either abd or acd. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-lcs/doinst.sh b/haskell/haskell-lcs/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-lcs/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-lcs/haskell-lcs.SlackBuild b/haskell/haskell-lcs/haskell-lcs.SlackBuild new file mode 100644 index 0000000000..e64e8311d7 --- /dev/null +++ b/haskell/haskell-lcs/haskell-lcs.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for lcs + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-lcs +VERSION=${VERSION:-0.2} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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 COPYING BSD3 GPL-2 $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/haskell/haskell-lcs/haskell-lcs.info b/haskell/haskell-lcs/haskell-lcs.info new file mode 100644 index 0000000000..88788009f5 --- /dev/null +++ b/haskell/haskell-lcs/haskell-lcs.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-lcs" +VERSION="0.2" +HOMEPAGE="http://hackage.haskell.org/package/lcs" +DOWNLOAD="http://hackage.haskell.org/packages/archive/lcs/0.2/lcs-0.2.tar.gz" +MD5SUM="2ef97e00291dde72248811581f997b66" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-lcs/slack-desc b/haskell/haskell-lcs/slack-desc new file mode 100644 index 0000000000..db55cdae26 --- /dev/null +++ b/haskell/haskell-lcs/slack-desc @@ -0,0 +1,19 @@ +# 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-lcs: haskell-lcs (Find longest common sublist of two lists) +haskell-lcs: +haskell-lcs: Provides a function lcs that takes two lists and returns a longest +haskell-lcs: common sublist. For example, lcs abcd acbd is either abd or acd. +haskell-lcs: +haskell-lcs: http://hackage.haskell.org/package/lcs +haskell-lcs: +haskell-lcs: +haskell-lcs: +haskell-lcs: +haskell-lcs: diff --git a/haskell/haskell-mmap/README b/haskell/haskell-mmap/README new file mode 100644 index 0000000000..e4068c9ac1 --- /dev/null +++ b/haskell/haskell-mmap/README @@ -0,0 +1,10 @@ +This library provides a wrapper to mmap(2) or MapViewOfFile, +allowing files or devices to be lazily loaded into memory as strict +or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual +memory subsystem to do on-demand loading. Modifications are also +supported. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-mmap/doinst.sh b/haskell/haskell-mmap/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-mmap/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-mmap/haskell-mmap.SlackBuild b/haskell/haskell-mmap/haskell-mmap.SlackBuild new file mode 100644 index 0000000000..afcfece329 --- /dev/null +++ b/haskell/haskell-mmap/haskell-mmap.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for mmap + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-mmap +VERSION=${VERSION:-0.5.7} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-mmap/haskell-mmap.info b/haskell/haskell-mmap/haskell-mmap.info new file mode 100644 index 0000000000..b963a116e4 --- /dev/null +++ b/haskell/haskell-mmap/haskell-mmap.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-mmap" +VERSION="0.5.7" +HOMEPAGE="http://hackage.haskell.org/package/mmap" +DOWNLOAD="http://hackage.haskell.org/packages/archive/mmap/0.5.7/mmap-0.5.7.tar.gz" +MD5SUM="1f74b3f59617332b06e277f5212423c1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-mmap/slack-desc b/haskell/haskell-mmap/slack-desc new file mode 100644 index 0000000000..05e473e92e --- /dev/null +++ b/haskell/haskell-mmap/slack-desc @@ -0,0 +1,19 @@ +# 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-mmap: haskell-mmap (Memory mapper for POSIX and Windows) +haskell-mmap: +haskell-mmap: This library provides a wrapper to mmap(2) or MapViewOfFile, +haskell-mmap: allowing files or devices to be lazily loaded into memory as strict +haskell-mmap: or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual +haskell-mmap: memory subsystem to do on-demand loading. Modifications are also +haskell-mmap: supported. +haskell-mmap: +haskell-mmap: http://hackage.haskell.org/package/mmap +haskell-mmap: +haskell-mmap: diff --git a/haskell/haskell-mtl/README b/haskell/haskell-mtl/README new file mode 100644 index 0000000000..19cee88cbc --- /dev/null +++ b/haskell/haskell-mtl/README @@ -0,0 +1,9 @@ +A monad transformer library, inspired by the paper Functional +Programming with Overloading and Higher-Order Polymorphism, by Mark P +Jones , Advanced +School of Functional Programming, 1995. + +This requires ghc and haskell-transformers. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-mtl/doinst.sh b/haskell/haskell-mtl/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-mtl/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-mtl/haskell-mtl.SlackBuild b/haskell/haskell-mtl/haskell-mtl.SlackBuild new file mode 100644 index 0000000000..4b1ae790af --- /dev/null +++ b/haskell/haskell-mtl/haskell-mtl.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for mtl + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-mtl +VERSION=${VERSION:-2.0.1.0} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-mtl/haskell-mtl.info b/haskell/haskell-mtl/haskell-mtl.info new file mode 100644 index 0000000000..6caf0014e1 --- /dev/null +++ b/haskell/haskell-mtl/haskell-mtl.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-mtl" +VERSION="2.0.1.0" +HOMEPAGE="http://hackage.haskell.org/package/mtl" +DOWNLOAD="http://hackage.haskell.org/packages/archive/mtl/2.0.1.0/mtl-2.0.1.0.tar.gz" +MD5SUM="934fa813625ef7e88a6a96a09815ff95" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-mtl/slack-desc b/haskell/haskell-mtl/slack-desc new file mode 100644 index 0000000000..cdb67de0ec --- /dev/null +++ b/haskell/haskell-mtl/slack-desc @@ -0,0 +1,19 @@ +# 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-mtl: haskell-mtl (Monad transformer library) +haskell-mtl: +haskell-mtl: A monad transformer library, inspired by the paper Functional +haskell-mtl: Programming with Overloading and Higher-Order Polymorphism, by Mark +haskell-mtl: P Jones (http://web.cecs.pdx.edu/~mpj/pubs/springschool.html), +haskell-mtl: Advanced School of Functional Programming, 1995. +haskell-mtl: +haskell-mtl: http://hackage.haskell.org/package/mtl +haskell-mtl: +haskell-mtl: +haskell-mtl: diff --git a/haskell/haskell-network/README b/haskell/haskell-network/README new file mode 100644 index 0000000000..bb058c77ea --- /dev/null +++ b/haskell/haskell-network/README @@ -0,0 +1,7 @@ +Provides high level and low level interfaces for network client and +server programming in Haskell. Also URI interface is included. + +This requires ghc and haskell-parsec. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-network/doinst.sh b/haskell/haskell-network/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-network/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-network/haskell-network.SlackBuild b/haskell/haskell-network/haskell-network.SlackBuild new file mode 100644 index 0000000000..b080f41f38 --- /dev/null +++ b/haskell/haskell-network/haskell-network.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for network + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-network +VERSION=${VERSION:-2.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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-network/haskell-network.info b/haskell/haskell-network/haskell-network.info new file mode 100644 index 0000000000..3e23c53d60 --- /dev/null +++ b/haskell/haskell-network/haskell-network.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-network" +VERSION="2.3" +HOMEPAGE="http://hackage.haskell.org/package/network" +DOWNLOAD="http://hackage.haskell.org/packages/archive/network/2.3/network-2.3.tar.gz" +MD5SUM="b43d48203617247f4b711375428df23e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-network/slack-desc b/haskell/haskell-network/slack-desc new file mode 100644 index 0000000000..c5d7ed76b2 --- /dev/null +++ b/haskell/haskell-network/slack-desc @@ -0,0 +1,19 @@ +# 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-network: haskell-network (Networking-related facilities for Haskell) +haskell-network: +haskell-network: Provides high level and low level interfaces for network client and +haskell-network: server programming in Haskell. Also URI interface is included. +haskell-network: +haskell-network: http://hackage.haskell.org/package/network +haskell-network: +haskell-network: +haskell-network: +haskell-network: +haskell-network: diff --git a/haskell/haskell-packedstring/README b/haskell/haskell-packedstring/README new file mode 100644 index 0000000000..75d8b860b7 --- /dev/null +++ b/haskell/haskell-packedstring/README @@ -0,0 +1,6 @@ +Haskell packedstring library is deprecated and should not be used in new code. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-packedstring/doinst.sh b/haskell/haskell-packedstring/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-packedstring/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-packedstring/haskell-packedstring.SlackBuild b/haskell/haskell-packedstring/haskell-packedstring.SlackBuild new file mode 100644 index 0000000000..297296b02b --- /dev/null +++ b/haskell/haskell-packedstring/haskell-packedstring.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for packedstring + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-packedstring +VERSION=${VERSION:-0.1.0.1} +BUILD=${BUILD:-3} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-packedstring/haskell-packedstring.info b/haskell/haskell-packedstring/haskell-packedstring.info new file mode 100644 index 0000000000..e83b3acb64 --- /dev/null +++ b/haskell/haskell-packedstring/haskell-packedstring.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-packedstring" +VERSION="0.1.0.1" +HOMEPAGE="http://hackage.haskell.org/package/packedstring" +DOWNLOAD="http://hackage.haskell.org/packages/archive/packedstring/0.1.0.1/packedstring-0.1.0.1.tar.gz" +MD5SUM="ea0bdcb92f4c5bd78ac8bb7a654fcfb2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-packedstring/slack-desc b/haskell/haskell-packedstring/slack-desc new file mode 100644 index 0000000000..0ec3e9268c --- /dev/null +++ b/haskell/haskell-packedstring/slack-desc @@ -0,0 +1,19 @@ +# 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-packedstring: haskell-packedstring (Packed Strings for Haskell) +haskell-packedstring: +haskell-packedstring: This library is deprecated and should not be used in new code. +haskell-packedstring: +haskell-packedstring: http://hackage.haskell.org/package/packedstring +haskell-packedstring: +haskell-packedstring: +haskell-packedstring: +haskell-packedstring: +haskell-packedstring: +haskell-packedstring: diff --git a/haskell/haskell-parallel/README b/haskell/haskell-parallel/README new file mode 100644 index 0000000000..4a6738c63f --- /dev/null +++ b/haskell/haskell-parallel/README @@ -0,0 +1,6 @@ +This package provides a library for parallel programming in Haskell. + +This requires ghc and haskell-deepseq. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-parallel/doinst.sh b/haskell/haskell-parallel/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-parallel/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-parallel/haskell-parallel.SlackBuild b/haskell/haskell-parallel/haskell-parallel.SlackBuild new file mode 100644 index 0000000000..7197ad0baf --- /dev/null +++ b/haskell/haskell-parallel/haskell-parallel.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for parallel + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-parallel +VERSION=${VERSION:-3.1.0.1} +BUILD=${BUILD:-2} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-parallel/haskell-parallel.info b/haskell/haskell-parallel/haskell-parallel.info new file mode 100644 index 0000000000..8b314e825d --- /dev/null +++ b/haskell/haskell-parallel/haskell-parallel.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-parallel" +VERSION="3.1.0.1" +HOMEPAGE="http://hackage.haskell.org/package/parallel" +DOWNLOAD="http://hackage.haskell.org/packages/archive/parallel/3.1.0.1/parallel-3.1.0.1.tar.gz" +MD5SUM="591979e7897dbc09157edf73a4614957" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-parallel/slack-desc b/haskell/haskell-parallel/slack-desc new file mode 100644 index 0000000000..4c64d75925 --- /dev/null +++ b/haskell/haskell-parallel/slack-desc @@ -0,0 +1,19 @@ +# 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-parallel: haskell-parallel (Parallel programming library for Haskell) +haskell-parallel: +haskell-parallel: This package provides a library for parallel programming. +haskell-parallel: +haskell-parallel: http://hackage.haskell.org/package/parallel +haskell-parallel: +haskell-parallel: +haskell-parallel: +haskell-parallel: +haskell-parallel: +haskell-parallel: diff --git a/haskell/haskell-parsec/README b/haskell/haskell-parsec/README new file mode 100644 index 0000000000..04dfcedd2a --- /dev/null +++ b/haskell/haskell-parsec/README @@ -0,0 +1,10 @@ +Parsec is designed from scratch as an industrial-strength parser +library. It is simple, safe, well documented, has extensive +libraries and good error messages, and is also fast. It is defined +as a monad transformer that can be stacked on arbitrary monads, and +it is also parametric in the input stream type. + +This requires ghc, haskell-transformers, haskell-mtl, and haskell-syb. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-parsec/doinst.sh b/haskell/haskell-parsec/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-parsec/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-parsec/haskell-parsec.SlackBuild b/haskell/haskell-parsec/haskell-parsec.SlackBuild new file mode 100644 index 0000000000..94a66d7bd6 --- /dev/null +++ b/haskell/haskell-parsec/haskell-parsec.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for parsec + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-parsec +VERSION=${VERSION:-3.1.0} +BUILD=${BUILD:-2} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-parsec/haskell-parsec.info b/haskell/haskell-parsec/haskell-parsec.info new file mode 100644 index 0000000000..9d6204f77d --- /dev/null +++ b/haskell/haskell-parsec/haskell-parsec.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-parsec" +VERSION="3.1.0" +HOMEPAGE="http://hackage.haskell.org/package/parsec" +DOWNLOAD="http://hackage.haskell.org/packages/archive/parsec/3.1.0/parsec-3.1.0.tar.gz" +MD5SUM="310bf233dcf8ec678c427b1198700b53" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-parsec/slack-desc b/haskell/haskell-parsec/slack-desc new file mode 100644 index 0000000000..a4d4ff6689 --- /dev/null +++ b/haskell/haskell-parsec/slack-desc @@ -0,0 +1,19 @@ +# 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-parsec: haskell-parsec (Monadic parser combinators for Haskell) +haskell-parsec: +haskell-parsec: Parsec is designed from scratch as an industrial-strength parser +haskell-parsec: library. It is simple, safe, well documented, has extensive +haskell-parsec: libraries and good error messages, and is also fast. It is defined +haskell-parsec: as a monad transformer that can be stacked on arbitrary monads, and +haskell-parsec: it is also parametric in the input stream type. +haskell-parsec: +haskell-parsec: http://hackage.haskell.org/package/parsec +haskell-parsec: +haskell-parsec: diff --git a/haskell/haskell-platform/README b/haskell/haskell-platform/README new file mode 100644 index 0000000000..da1e3acc1e --- /dev/null +++ b/haskell/haskell-platform/README @@ -0,0 +1,12 @@ +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/haskell/haskell-platform/haskell-platform.SlackBuild b/haskell/haskell-platform/haskell-platform.SlackBuild new file mode 100644 index 0000000000..0c892ec378 --- /dev/null +++ b/haskell/haskell-platform/haskell-platform.SlackBuild @@ -0,0 +1,98 @@ +#!/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/haskell/haskell-platform/haskell-platform.info b/haskell/haskell-platform/haskell-platform.info new file mode 100644 index 0000000000..0141bba4f7 --- /dev/null +++ b/haskell/haskell-platform/haskell-platform.info @@ -0,0 +1,10 @@ +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/haskell/haskell-platform/not_update_pkg_db.diff b/haskell/haskell-platform/not_update_pkg_db.diff new file mode 100644 index 0000000000..968e32e407 --- /dev/null +++ b/haskell/haskell-platform/not_update_pkg_db.diff @@ -0,0 +1,28 @@ +--- ./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 new file mode 100644 index 0000000000..8480dc360d --- /dev/null +++ b/haskell/haskell-platform/slack-desc @@ -0,0 +1,19 @@ +# 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/haskell/haskell-regex-base/README b/haskell/haskell-regex-base/README new file mode 100644 index 0000000000..b5cd3a4dfb --- /dev/null +++ b/haskell/haskell-regex-base/README @@ -0,0 +1,6 @@ +Haskell interface API for regex-posix, pcre, parsec, tdfa, dfa. + +This requires ghc, haskell-transformers, and haskell-mtl. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-regex-base/doinst.sh b/haskell/haskell-regex-base/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-regex-base/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-regex-base/haskell-regex-base.SlackBuild b/haskell/haskell-regex-base/haskell-regex-base.SlackBuild new file mode 100644 index 0000000000..af06029550 --- /dev/null +++ b/haskell/haskell-regex-base/haskell-regex-base.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for regex-base + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-regex-base +VERSION=${VERSION:-0.93.2} +BUILD=${BUILD:-2} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-regex-base/haskell-regex-base.info b/haskell/haskell-regex-base/haskell-regex-base.info new file mode 100644 index 0000000000..42578be82e --- /dev/null +++ b/haskell/haskell-regex-base/haskell-regex-base.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-regex-base" +VERSION="0.93.2" +HOMEPAGE="http://hackage.haskell.org/package/regex-base" +DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-base/0.93.2/regex-base-0.93.2.tar.gz" +MD5SUM="e7b93b0b17eff8d3068ecb2f5d5f6ea3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-regex-base/slack-desc b/haskell/haskell-regex-base/slack-desc new file mode 100644 index 0000000000..85436d8c4e --- /dev/null +++ b/haskell/haskell-regex-base/slack-desc @@ -0,0 +1,19 @@ +# 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-regex-base: haskell-regex-base (Replaces/Enhances Text.Regex Haskell library) +haskell-regex-base: +haskell-regex-base: Interface API for regex-posix, pcre, parsec, tdfa, dfa. +haskell-regex-base: +haskell-regex-base: http://hackage.haskell.org/package/regex-base +haskell-regex-base: +haskell-regex-base: +haskell-regex-base: +haskell-regex-base: +haskell-regex-base: +haskell-regex-base: diff --git a/haskell/haskell-regex-compat/README b/haskell/haskell-regex-compat/README new file mode 100644 index 0000000000..2246bedbc7 --- /dev/null +++ b/haskell/haskell-regex-compat/README @@ -0,0 +1,6 @@ +A module layer over haskell-regex-posix to replace Text.Regex. + +This requires ghc and haskell-regex-posix. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-regex-compat/doinst.sh b/haskell/haskell-regex-compat/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-regex-compat/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild b/haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild new file mode 100644 index 0000000000..5e0c3126fb --- /dev/null +++ b/haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for regex-compat + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-regex-compat +VERSION=${VERSION:-0.93.1} +BUILD=${BUILD:-2} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-regex-compat/haskell-regex-compat.info b/haskell/haskell-regex-compat/haskell-regex-compat.info new file mode 100644 index 0000000000..2033a4b239 --- /dev/null +++ b/haskell/haskell-regex-compat/haskell-regex-compat.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-regex-compat" +VERSION="0.93.1" +HOMEPAGE="http://hackage.haskell.org/package/regex-compat" +DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-compat/0.93.1/regex-compat-0.93.1.tar.gz" +MD5SUM="d6becec95ea8098cab663116fdce60a5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-regex-compat/slack-desc b/haskell/haskell-regex-compat/slack-desc new file mode 100644 index 0000000000..32da5c586d --- /dev/null +++ b/haskell/haskell-regex-compat/slack-desc @@ -0,0 +1,19 @@ +# 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-regex-compat: haskell-regex-compat (Replaces/Enhances Text.Regex Haskell library) +haskell-regex-compat: +haskell-regex-compat: One module layer over regex-posix to replace Text.Regex. +haskell-regex-compat: +haskell-regex-compat: http://hackage.haskell.org/package/regex-compat +haskell-regex-compat: +haskell-regex-compat: +haskell-regex-compat: +haskell-regex-compat: +haskell-regex-compat: +haskell-regex-compat: diff --git a/haskell/haskell-regex-posix/README b/haskell/haskell-regex-posix/README new file mode 100644 index 0000000000..f305a9cb43 --- /dev/null +++ b/haskell/haskell-regex-posix/README @@ -0,0 +1,6 @@ +The posix regex backend for haskell-regex-base. + +This requires ghc and haskell-regex-base. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-regex-posix/doinst.sh b/haskell/haskell-regex-posix/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-regex-posix/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild new file mode 100644 index 0000000000..9289670bfa --- /dev/null +++ b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for regex-posix + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-regex-posix +VERSION=${VERSION:-0.94.4} +BUILD=${BUILD:-2} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-regex-posix/haskell-regex-posix.info b/haskell/haskell-regex-posix/haskell-regex-posix.info new file mode 100644 index 0000000000..2fdec4c5ab --- /dev/null +++ b/haskell/haskell-regex-posix/haskell-regex-posix.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-regex-posix" +VERSION="0.94.4" +HOMEPAGE="http://hackage.haskell.org/package/regex-posix" +DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-posix/0.94.4/regex-posix-0.94.4.tar.gz" +MD5SUM="c28a13e8329e93a19bbb51708bf64abb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-regex-posix/slack-desc b/haskell/haskell-regex-posix/slack-desc new file mode 100644 index 0000000000..6e5acd8226 --- /dev/null +++ b/haskell/haskell-regex-posix/slack-desc @@ -0,0 +1,19 @@ +# 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-regex-posix: haskell-regex-posix (Replaces/Enhances Text.Regex Haskell library) +haskell-regex-posix: +haskell-regex-posix: The posix regex backend for regex-base. +haskell-regex-posix: +haskell-regex-posix: http://hackage.haskell.org/package/regex-posix +haskell-regex-posix: +haskell-regex-posix: +haskell-regex-posix: +haskell-regex-posix: +haskell-regex-posix: +haskell-regex-posix: diff --git a/haskell/haskell-stm/README b/haskell/haskell-stm/README new file mode 100644 index 0000000000..1ef22a9627 --- /dev/null +++ b/haskell/haskell-stm/README @@ -0,0 +1,6 @@ +A modular composable concurrency abstraction for Haskell. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-stm/doinst.sh b/haskell/haskell-stm/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-stm/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-stm/haskell-stm.SlackBuild b/haskell/haskell-stm/haskell-stm.SlackBuild new file mode 100644 index 0000000000..8d316e196d --- /dev/null +++ b/haskell/haskell-stm/haskell-stm.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for stm + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-stm +VERSION=${VERSION:-2.2.0.1} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-stm/haskell-stm.info b/haskell/haskell-stm/haskell-stm.info new file mode 100644 index 0000000000..2908be0eaf --- /dev/null +++ b/haskell/haskell-stm/haskell-stm.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-stm" +VERSION="2.2.0.1" +HOMEPAGE="http://hackage.haskell.org/package/stm" +DOWNLOAD="http://hackage.haskell.org/packages/archive/stm/2.2.0.1/stm-2.2.0.1.tar.gz" +MD5SUM="b1cf03ed315e00c33160746feeee8682" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-stm/slack-desc b/haskell/haskell-stm/slack-desc new file mode 100644 index 0000000000..8056e65699 --- /dev/null +++ b/haskell/haskell-stm/slack-desc @@ -0,0 +1,19 @@ +# 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-stm: haskell-stm (Software Transactional Memory for Haskell) +haskell-stm: +haskell-stm: A modular composable concurrency abstraction. +haskell-stm: +haskell-stm: http://hackage.haskell.org/package/stm +haskell-stm: +haskell-stm: +haskell-stm: +haskell-stm: +haskell-stm: +haskell-stm: diff --git a/haskell/haskell-syb/README b/haskell/haskell-syb/README new file mode 100644 index 0000000000..71987b1aac --- /dev/null +++ b/haskell/haskell-syb/README @@ -0,0 +1,10 @@ +Syb Haskell library contains the generics system described in the +Scrap Your Boilerplate papers. It defines the Data class of types +permitting folding and unfolding of constructor applications, +instances of this class for primitive types, and a variety of +traversals. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-syb/doinst.sh b/haskell/haskell-syb/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-syb/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-syb/haskell-syb.SlackBuild b/haskell/haskell-syb/haskell-syb.SlackBuild new file mode 100644 index 0000000000..920ca1433e --- /dev/null +++ b/haskell/haskell-syb/haskell-syb.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for syb + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-syb +VERSION=${VERSION:-0.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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-syb/haskell-syb.info b/haskell/haskell-syb/haskell-syb.info new file mode 100644 index 0000000000..d236c25495 --- /dev/null +++ b/haskell/haskell-syb/haskell-syb.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-syb" +VERSION="0.3" +HOMEPAGE="http://hackage.haskell.org/package/syb" +DOWNLOAD="http://hackage.haskell.org/packages/archive/syb/0.3/syb-0.3.tar.gz" +MD5SUM="c4f6771fa32d467a029e6e813757a9fe" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-syb/slack-desc b/haskell/haskell-syb/slack-desc new file mode 100644 index 0000000000..928dd73678 --- /dev/null +++ b/haskell/haskell-syb/slack-desc @@ -0,0 +1,19 @@ +# 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-syb: haskell-syb (Scrap Your Boilerplate) +haskell-syb: +haskell-syb: Syb Haskell library contains the generics system described in the +haskell-syb: Scrap Your Boilerplate papers. It defines the Data class of types +haskell-syb: permitting folding and unfolding of constructor applications, +haskell-syb: instances of this class for primitive types, and a variety of +haskell-syb: traversals. +haskell-syb: +haskell-syb: Homepage: http://hackage.haskell.org/package/syb +haskell-syb: +haskell-syb: diff --git a/haskell/haskell-tar/README b/haskell/haskell-tar/README new file mode 100644 index 0000000000..4319cdf917 --- /dev/null +++ b/haskell/haskell-tar/README @@ -0,0 +1,11 @@ +This library is for working with ".tar" archive files. It can read and +write a range of common variations of archive format including V7, +USTAR, POSIX and GNU formats. It provides support for packing and +unpacking portable archives. This makes it suitable for distribution +but not backup because details like file ownership and exact +permissions are not preserved. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-tar/doinst.sh b/haskell/haskell-tar/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-tar/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-tar/haskell-tar.SlackBuild b/haskell/haskell-tar/haskell-tar.SlackBuild new file mode 100644 index 0000000000..f15e53fe4b --- /dev/null +++ b/haskell/haskell-tar/haskell-tar.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for tar + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-tar +VERSION=${VERSION:-0.3.1.0} +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/haskell/haskell-tar/haskell-tar.info b/haskell/haskell-tar/haskell-tar.info new file mode 100644 index 0000000000..0c19b1d004 --- /dev/null +++ b/haskell/haskell-tar/haskell-tar.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-tar" +VERSION="0.3.1.0" +HOMEPAGE="http://hackage.haskell.org/package/tar" +DOWNLOAD="http://hackage.haskell.org/packages/archive/tar/0.3.1.0/tar-0.3.1.0.tar.gz" +MD5SUM="10b54856495f9ef0a42aa270085c7d5e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-tar/slack-desc b/haskell/haskell-tar/slack-desc new file mode 100644 index 0000000000..919123e442 --- /dev/null +++ b/haskell/haskell-tar/slack-desc @@ -0,0 +1,19 @@ +# 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-tar: haskell-tar (Reading, writing and manipulating ".tar" archive files) +haskell-tar: +haskell-tar: This library is for working with ".tar" archive files. It can read +haskell-tar: and write a range of common variations of archive format including +haskell-tar: V7, USTAR, POSIX and GNU formats. It provides support for packing +haskell-tar: and unpacking portable archives. This makes it suitable for +haskell-tar: distribution but not backup because details like file ownership and +haskell-tar: exact permissions are not preserved. +haskell-tar: +haskell-tar: http://hackage.haskell.org/package/tar +haskell-tar: diff --git a/haskell/haskell-terminfo/README b/haskell/haskell-terminfo/README new file mode 100644 index 0000000000..c06fe50398 --- /dev/null +++ b/haskell/haskell-terminfo/README @@ -0,0 +1,9 @@ +This library provides an Haskell interface to the terminfo database +(via bindings to the curses library). Terminfo allows POSIX systems +to interact with a variety of terminals using a standard set of +capabilities. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-terminfo/doinst.sh b/haskell/haskell-terminfo/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-terminfo/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-terminfo/haskell-terminfo.SlackBuild b/haskell/haskell-terminfo/haskell-terminfo.SlackBuild new file mode 100644 index 0000000000..e30133bffe --- /dev/null +++ b/haskell/haskell-terminfo/haskell-terminfo.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for terminfo + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-terminfo +VERSION=${VERSION:-0.3.1.3} +BUILD=${BUILD:-2} +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-terminfo/haskell-terminfo.info b/haskell/haskell-terminfo/haskell-terminfo.info new file mode 100644 index 0000000000..3a107b1f8c --- /dev/null +++ b/haskell/haskell-terminfo/haskell-terminfo.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-terminfo" +VERSION="0.3.1.3" +HOMEPAGE="http://hackage.haskell.org/package/terminfo" +DOWNLOAD="http://hackage.haskell.org/packages/archive/terminfo/0.3.1.3/terminfo-0.3.1.3.tar.gz" +MD5SUM="8c0e052340f628b76f5687fa23379628" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-terminfo/slack-desc b/haskell/haskell-terminfo/slack-desc new file mode 100644 index 0000000000..5fecdcec25 --- /dev/null +++ b/haskell/haskell-terminfo/slack-desc @@ -0,0 +1,19 @@ +# 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-terminfo: haskell-terminfo (Haskell bindings to the terminfo library) +haskell-terminfo: +haskell-terminfo: This library provides an interface to the terminfo database (via +haskell-terminfo: bindings to the curses library). Terminfo allows POSIX systems to +haskell-terminfo: interact with a variety of terminals using a standard set of +haskell-terminfo: capabilities. +haskell-terminfo: +haskell-terminfo: http://hackage.haskell.org/package/terminfo +haskell-terminfo: +haskell-terminfo: +haskell-terminfo: diff --git a/haskell/haskell-test-framework-hunit/README b/haskell/haskell-test-framework-hunit/README new file mode 100644 index 0000000000..3df4db2c11 --- /dev/null +++ b/haskell/haskell-test-framework-hunit/README @@ -0,0 +1,9 @@ +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/haskell/haskell-test-framework-hunit/doinst.sh b/haskell/haskell-test-framework-hunit/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-test-framework-hunit/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild b/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild new file mode 100644 index 0000000000..efc366ea2d --- /dev/null +++ b/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.SlackBuild @@ -0,0 +1,90 @@ +#!/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/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info b/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info new file mode 100644 index 0000000000..9d263d70c3 --- /dev/null +++ b/haskell/haskell-test-framework-hunit/haskell-test-framework-hunit.info @@ -0,0 +1,10 @@ +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/haskell/haskell-test-framework-hunit/slack-desc b/haskell/haskell-test-framework-hunit/slack-desc new file mode 100644 index 0000000000..57badcfcd4 --- /dev/null +++ b/haskell/haskell-test-framework-hunit/slack-desc @@ -0,0 +1,19 @@ +# 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/haskell/haskell-test-framework-quickcheck2/README b/haskell/haskell-test-framework-quickcheck2/README new file mode 100644 index 0000000000..d414dd2cf4 --- /dev/null +++ b/haskell/haskell-test-framework-quickcheck2/README @@ -0,0 +1,9 @@ +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/haskell/haskell-test-framework-quickcheck2/doinst.sh b/haskell/haskell-test-framework-quickcheck2/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-test-framework-quickcheck2/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild new file mode 100644 index 0000000000..ba6667fecf --- /dev/null +++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild @@ -0,0 +1,90 @@ +#!/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/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info new file mode 100644 index 0000000000..574551ae3b --- /dev/null +++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.info @@ -0,0 +1,10 @@ +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/haskell/haskell-test-framework-quickcheck2/slack-desc b/haskell/haskell-test-framework-quickcheck2/slack-desc new file mode 100644 index 0000000000..0a8a046466 --- /dev/null +++ b/haskell/haskell-test-framework-quickcheck2/slack-desc @@ -0,0 +1,19 @@ +# 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/haskell/haskell-test-framework/README b/haskell/haskell-test-framework/README new file mode 100644 index 0000000000..fc115db6bb --- /dev/null +++ b/haskell/haskell-test-framework/README @@ -0,0 +1,12 @@ +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/haskell/haskell-test-framework/doinst.sh b/haskell/haskell-test-framework/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-test-framework/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-test-framework/haskell-test-framework.SlackBuild b/haskell/haskell-test-framework/haskell-test-framework.SlackBuild new file mode 100644 index 0000000000..7fc39c94e8 --- /dev/null +++ b/haskell/haskell-test-framework/haskell-test-framework.SlackBuild @@ -0,0 +1,94 @@ +#!/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/haskell/haskell-test-framework/haskell-test-framework.info b/haskell/haskell-test-framework/haskell-test-framework.info new file mode 100644 index 0000000000..1a88ae9ac8 --- /dev/null +++ b/haskell/haskell-test-framework/haskell-test-framework.info @@ -0,0 +1,10 @@ +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/haskell/haskell-test-framework/slack-desc b/haskell/haskell-test-framework/slack-desc new file mode 100644 index 0000000000..b6ca89d272 --- /dev/null +++ b/haskell/haskell-test-framework/slack-desc @@ -0,0 +1,19 @@ +# 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/haskell/haskell-test-framework/test-framework_cabal.patch b/haskell/haskell-test-framework/test-framework_cabal.patch new file mode 100644 index 0000000000..2bc5bb37ac --- /dev/null +++ b/haskell/haskell-test-framework/test-framework_cabal.patch @@ -0,0 +1,22 @@ +--- 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 diff --git a/haskell/haskell-texmath/README b/haskell/haskell-texmath/README new file mode 100644 index 0000000000..2ea3bf86a3 --- /dev/null +++ b/haskell/haskell-texmath/README @@ -0,0 +1,8 @@ +This is a library for Haskell programs, providing functions to convert LaTeX +math formulas to presentation MathML. It supports basic LaTeX and AMS +extensions, but not macros. + +This requires ghc, haskell-parsec and haskell-xml. + +When uninstalling, run the following command to unregister the package +from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-texmath/doinst.sh b/haskell/haskell-texmath/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-texmath/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-texmath/haskell-texmath.SlackBuild b/haskell/haskell-texmath/haskell-texmath.SlackBuild new file mode 100644 index 0000000000..cf3d1299c7 --- /dev/null +++ b/haskell/haskell-texmath/haskell-texmath.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/sh + +# Slackware build script for texmath + +# Written by Peter Wang +# Public domain. + +SRCNAM=texmath +PRGNAM=haskell-$SRCNAM +VERSION=${VERSION:-0.3.0.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 # Exit on most errors + +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 {} \; + +# Remove false dependency on utf8-string (only for a sample CGI script). +patch -p1 < $CWD/texmath-utf8.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +runghc Setup.hs 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 + +# Remove test data. +rm -r $PKG/usr/share + +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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-texmath/haskell-texmath.info b/haskell/haskell-texmath/haskell-texmath.info new file mode 100644 index 0000000000..a4e4ec8ec3 --- /dev/null +++ b/haskell/haskell-texmath/haskell-texmath.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-texmath" +VERSION="0.3.0.1" +HOMEPAGE="http://hackage.haskell.org/package/texmath" +DOWNLOAD="http://hackage.haskell.org/packages/archive/texmath/0.3.0.1/texmath-0.3.0.1.tar.gz" +MD5SUM="f2ec771aaae9e678bf9106fe161efb85" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Peter Wang" +EMAIL="novalazy@gmail.com" +APPROVED="dsomero" diff --git a/haskell/haskell-texmath/slack-desc b/haskell/haskell-texmath/slack-desc new file mode 100644 index 0000000000..ccfd1d3913 --- /dev/null +++ b/haskell/haskell-texmath/slack-desc @@ -0,0 +1,19 @@ +# 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-texmath: haskell-texmath (Conversion of LaTeX math formulas to MathML) +haskell-texmath: +haskell-texmath: This is a library for Haskell programs, providing functions to +haskell-texmath: convert LaTeX math formulas to presentation MathML. It supports +haskell-texmath: basic LaTeX and AMS extensions, but not macros. +haskell-texmath: +haskell-texmath: http://hackage.haskell.org/package/texmath +haskell-texmath: +haskell-texmath: +haskell-texmath: +haskell-texmath: diff --git a/haskell/haskell-texmath/texmath-utf8.patch b/haskell/haskell-texmath/texmath-utf8.patch new file mode 100644 index 0000000000..ab5fcf2bf0 --- /dev/null +++ b/haskell/haskell-texmath/texmath-utf8.patch @@ -0,0 +1,28 @@ +From: John MacFarlane +Date: Thu, 22 Jul 2010 19:11:14 -0700 +Subject: [PATCH] Put utf8-string dependency in right place. + +--- + texmath.cabal | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +diff --git a/texmath.cabal b/texmath.cabal +index f14d7dc..ad83d05 100644 +--- a/texmath.cabal ++++ b/texmath.cabal +@@ -77,11 +77,10 @@ Executable testTeXMathML + + Executable texmath-cgi + Main-is: cgi/texmath-cgi.hs +- Build-depends: utf8-string + Ghc-Options: -Wall -fno-warn-unused-do-bind + Ghc-Prof-Options: -auto-all + if flag(cgi) + Buildable: True +- Build-depends: cgi, json ++ Build-depends: cgi, json, utf8-string + else + Buildable: False +-- +1.7.1 + diff --git a/haskell/haskell-text/README b/haskell/haskell-text/README new file mode 100644 index 0000000000..2d3b2ea8de --- /dev/null +++ b/haskell/haskell-text/README @@ -0,0 +1,7 @@ +An efficient packed, immutable Unicode text type for Haskell +programs. + +This requires ghc and haskell-deepseq. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-text/doinst.sh b/haskell/haskell-text/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-text/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-text/haskell-text.SlackBuild b/haskell/haskell-text/haskell-text.SlackBuild new file mode 100644 index 0000000000..313c732263 --- /dev/null +++ b/haskell/haskell-text/haskell-text.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for text + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-text +VERSION=${VERSION:-0.11.0.1} +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 README.markdown $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/haskell/haskell-text/haskell-text.info b/haskell/haskell-text/haskell-text.info new file mode 100644 index 0000000000..e2b328790d --- /dev/null +++ b/haskell/haskell-text/haskell-text.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-text" +VERSION="0.11.0.1" +HOMEPAGE="http://hackage.haskell.org/package/text" +DOWNLOAD="http://hackage.haskell.org/packages/archive/text/0.11.0.1/text-0.11.0.1.tar.gz" +MD5SUM="a073c64255b1e497a9689b2fc408772c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="rworkman" diff --git a/haskell/haskell-text/slack-desc b/haskell/haskell-text/slack-desc new file mode 100644 index 0000000000..22298daaeb --- /dev/null +++ b/haskell/haskell-text/slack-desc @@ -0,0 +1,19 @@ +# 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-text: haskell-text (Fast, packed Unicode strings, using stream fusion) +haskell-text: +haskell-text: This package provides the Data.Text library, a library for the +haskell-text: space-and time-efficient manipulation of Unicode text in Haskell. +haskell-text: +haskell-text: +haskell-text: +haskell-text: +haskell-text: +haskell-text: +haskell-text: diff --git a/haskell/haskell-transformers/README b/haskell/haskell-transformers/README new file mode 100644 index 0000000000..786e1f6189 --- /dev/null +++ b/haskell/haskell-transformers/README @@ -0,0 +1,10 @@ +This part contains the monad transformer class, the concrete monad +transformers, operations and liftings. It can be used on its own in +Haskell 98 code, or with the monad classes in the monads-fd or +monads-tf packages, which automatically lift operations introduced +by monad transformers through other transformers. + +This requires ghc. + +After uninstalling, run this command to unregister the package from +the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-transformers/doinst.sh b/haskell/haskell-transformers/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-transformers/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-transformers/haskell-transformers.SlackBuild b/haskell/haskell-transformers/haskell-transformers.SlackBuild new file mode 100644 index 0000000000..c1a04682d0 --- /dev/null +++ b/haskell/haskell-transformers/haskell-transformers.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for transformers + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-transformers +VERSION=${VERSION:-0.2.2.0} +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.hs configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ + --enable-shared \ + --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 + +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/haskell/haskell-transformers/haskell-transformers.info b/haskell/haskell-transformers/haskell-transformers.info new file mode 100644 index 0000000000..62d6f8756c --- /dev/null +++ b/haskell/haskell-transformers/haskell-transformers.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-transformers" +VERSION="0.2.2.0" +HOMEPAGE="http://hackage.haskell.org/package/transformers" +DOWNLOAD="http://hackage.haskell.org/packages/archive/transformers/0.2.2.0/transformers-0.2.2.0.tar.gz" +MD5SUM="3470ac66116900cd1ba84d3744474e49" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-transformers/slack-desc b/haskell/haskell-transformers/slack-desc new file mode 100644 index 0000000000..8c1bf1a8eb --- /dev/null +++ b/haskell/haskell-transformers/slack-desc @@ -0,0 +1,19 @@ +# 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-transformers: haskell-transformers (Concrete functor and monad transformers) +haskell-transformers: +haskell-transformers: This part contains the monad transformer class, the concrete monad +haskell-transformers: transformers, operations and liftings. It can be used on its own in +haskell-transformers: Haskell 98 code, or with the monad classes in the monads-fd or +haskell-transformers: monads-tf packages, which automatically lift operations introduced +haskell-transformers: by monad transformers through other transformers. +haskell-transformers: +haskell-transformers: Homepage: http://hackage.haskell.org/package/transformers +haskell-transformers: +haskell-transformers: diff --git a/haskell/haskell-utf8-string/README b/haskell/haskell-utf8-string/README new file mode 100644 index 0000000000..b138b17ef6 --- /dev/null +++ b/haskell/haskell-utf8-string/README @@ -0,0 +1,5 @@ +A UTF8 layer for IO and Strings. The utf8-string package provides +operations for encoding UTF8 strings to Word8 lists and back, and +for reading and writing UTF8 without truncation. + +This requires ghc. diff --git a/haskell/haskell-utf8-string/doinst.sh b/haskell/haskell-utf8-string/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-utf8-string/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild b/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild new file mode 100644 index 0000000000..29d37a815e --- /dev/null +++ b/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for utf8-string + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-utf8-string +VERSION=${VERSION:-0.3.6} +BUILD=${BUILD:-2} +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/haskell/haskell-utf8-string/haskell-utf8-string.info b/haskell/haskell-utf8-string/haskell-utf8-string.info new file mode 100644 index 0000000000..2d5d86647f --- /dev/null +++ b/haskell/haskell-utf8-string/haskell-utf8-string.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-utf8-string" +VERSION="0.3.6" +HOMEPAGE="http://hackage.haskell.org/package/utf8-string" +DOWNLOAD="http://hackage.haskell.org/packages/archive/utf8-string/0.3.6/utf8-string-0.3.6.tar.gz" +MD5SUM="be8c5ef52a0824babdc89d60c1e9b600" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-utf8-string/slack-desc b/haskell/haskell-utf8-string/slack-desc new file mode 100644 index 0000000000..d116c5dae0 --- /dev/null +++ b/haskell/haskell-utf8-string/slack-desc @@ -0,0 +1,19 @@ +# 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-utf8-string: haskell-utf8-string (Support for reading and writing UTF8 Strings) +haskell-utf8-string: +haskell-utf8-string: A UTF8 layer for IO and Strings. The utf8-string package provides +haskell-utf8-string: operations for encoding UTF8 strings to Word8 lists and back, and +haskell-utf8-string: for reading and writing UTF8 without truncation. +haskell-utf8-string: +haskell-utf8-string: Homepage: http://hackage.haskell.org/package/utf8-string +haskell-utf8-string: +haskell-utf8-string: +haskell-utf8-string: +haskell-utf8-string: diff --git a/haskell/haskell-xhtml/README b/haskell/haskell-xhtml/README new file mode 100644 index 0000000000..c3719d151c --- /dev/null +++ b/haskell/haskell-xhtml/README @@ -0,0 +1,7 @@ +This package provides combinators for producing XHTML 1.0, including +the Strict, Transitional and Frameset variants, in Haskell. + +This requires ghc. + +After uninstalling, run this command to unregister the package from the ghc +package database: ghc-pkg recache diff --git a/haskell/haskell-xhtml/doinst.sh b/haskell/haskell-xhtml/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-xhtml/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-xhtml/haskell-xhtml.SlackBuild b/haskell/haskell-xhtml/haskell-xhtml.SlackBuild new file mode 100644 index 0000000000..288b27183f --- /dev/null +++ b/haskell/haskell-xhtml/haskell-xhtml.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for xhtml + +# Written by Mikko Värri (vmj@linuxbox.fi) +# Public domain. + +PRGNAM=haskell-xhtml +VERSION=${VERSION:-3000.2.0.1} +BUILD=${BUILD:-3} +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.hs 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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-xhtml/haskell-xhtml.info b/haskell/haskell-xhtml/haskell-xhtml.info new file mode 100644 index 0000000000..10f86c2f6f --- /dev/null +++ b/haskell/haskell-xhtml/haskell-xhtml.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-xhtml" +VERSION="3000.2.0.1" +HOMEPAGE="http://hackage.haskell.org/package/xhtml" +DOWNLOAD="http://hackage.haskell.org/packages/archive/xhtml/3000.2.0.1/xhtml-3000.2.0.1.tar.gz" +MD5SUM="9e3e7d9c66618c5e29716f90e54363c9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-xhtml/slack-desc b/haskell/haskell-xhtml/slack-desc new file mode 100644 index 0000000000..aa97695606 --- /dev/null +++ b/haskell/haskell-xhtml/slack-desc @@ -0,0 +1,19 @@ +# 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-xhtml: haskell-xhtml (An XHTML combinator library for Haskell) +haskell-xhtml: +haskell-xhtml: This package provides combinators for producing XHTML 1.0, including +haskell-xhtml: the Strict, Transitional and Frameset variants. +haskell-xhtml: +haskell-xhtml: http://hackage.haskell.org/package/xhtml +haskell-xhtml: +haskell-xhtml: +haskell-xhtml: +haskell-xhtml: +haskell-xhtml: diff --git a/haskell/haskell-xml/README b/haskell/haskell-xml/README new file mode 100644 index 0000000000..ee185c420a --- /dev/null +++ b/haskell/haskell-xml/README @@ -0,0 +1,6 @@ +A simple XML library for Haskell programs. + +This requires ghc. + +When uninstalling, run the following command to unregister the package +from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-xml/doinst.sh b/haskell/haskell-xml/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-xml/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-xml/haskell-xml.SlackBuild b/haskell/haskell-xml/haskell-xml.SlackBuild new file mode 100644 index 0000000000..9660d06a13 --- /dev/null +++ b/haskell/haskell-xml/haskell-xml.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for xml + +# Written by Peter Wang +# Public domain. + +SRCNAM=xml +PRGNAM=haskell-$SRCNAM +VERSION=${VERSION:-1.3.7} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 # Exit on most errors + +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.hs 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 + +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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-xml/haskell-xml.info b/haskell/haskell-xml/haskell-xml.info new file mode 100644 index 0000000000..e4dca3c40b --- /dev/null +++ b/haskell/haskell-xml/haskell-xml.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-xml" +VERSION="1.3.7" +HOMEPAGE="http://hackage.haskell.org/package/xml" +DOWNLOAD="http://hackage.haskell.org/packages/archive/xml/1.3.7/xml-1.3.7.tar.gz" +MD5SUM="fc2d7e1a321b4393dd444b16ab6ba669" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Peter Wang" +EMAIL="novalazy@gmail.com" +APPROVED="dsomero" diff --git a/haskell/haskell-xml/slack-desc b/haskell/haskell-xml/slack-desc new file mode 100644 index 0000000000..58daafdaec --- /dev/null +++ b/haskell/haskell-xml/slack-desc @@ -0,0 +1,19 @@ +# 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-xml: haskell-xml (XML library for Haskell) +haskell-xml: +haskell-xml: A simple XML library for Haskell programs. +haskell-xml: +haskell-xml: http://hackage.haskell.org/package/xml +haskell-xml: +haskell-xml: +haskell-xml: +haskell-xml: +haskell-xml: +haskell-xml: diff --git a/haskell/haskell-zip-archive/README b/haskell/haskell-zip-archive/README new file mode 100644 index 0000000000..20bbea1999 --- /dev/null +++ b/haskell/haskell-zip-archive/README @@ -0,0 +1,8 @@ +This is a library for Haskell programs. It provides functions for +creating, modifying, and extracting files from zip archives. + +This requires ghc, haskell-binary, haskell-transformers, haskell-mtl, +haskell-digest, haskell-zlib, and haskell-utf8-string. + +After uninstalling, run the following command to unregister the package +from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-zip-archive/doinst.sh b/haskell/haskell-zip-archive/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-zip-archive/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild b/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild new file mode 100644 index 0000000000..56955f12c9 --- /dev/null +++ b/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for zip-archive + +# Written by Peter Wang +# Modified by Mikko Värri +# Public domain. + +PRGNAM=haskell-zip-archive +VERSION=${VERSION:-0.1.1.6} +BUILD=${BUILD:-2} +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 # Exit on most errors + +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 \ + --enable-shared \ + --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 + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-zip-archive/haskell-zip-archive.info b/haskell/haskell-zip-archive/haskell-zip-archive.info new file mode 100644 index 0000000000..eab4ad52be --- /dev/null +++ b/haskell/haskell-zip-archive/haskell-zip-archive.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-zip-archive" +VERSION="0.1.1.6" +HOMEPAGE="http://hackage.haskell.org/package/zip-archive" +DOWNLOAD="http://hackage.haskell.org/packages/archive/zip-archive/0.1.1.6/zip-archive-0.1.1.6.tar.gz" +MD5SUM="4806077be79ecb5486306432ee93e38d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-zip-archive/slack-desc b/haskell/haskell-zip-archive/slack-desc new file mode 100644 index 0000000000..a97f0881ad --- /dev/null +++ b/haskell/haskell-zip-archive/slack-desc @@ -0,0 +1,19 @@ +# 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-zip-archive: haskell-zip-archive (Haskell library for zip archives) +haskell-zip-archive: +haskell-zip-archive: This is a library for Haskell programs. It provides functions for +haskell-zip-archive: creating, modifying, and extracting files from zip archives. +haskell-zip-archive: +haskell-zip-archive: +haskell-zip-archive: +haskell-zip-archive: +haskell-zip-archive: +haskell-zip-archive: +haskell-zip-archive: diff --git a/haskell/haskell-zlib/README b/haskell/haskell-zlib/README new file mode 100644 index 0000000000..b2435f0eb2 --- /dev/null +++ b/haskell/haskell-zlib/README @@ -0,0 +1,9 @@ +This is a library for Haskell programs. It provides a pure interface for +compressing and decompressing streams of data represented as lazy ByteStrings. +It uses the zlib C library so it has high performance. It supports the "zlib", +"gzip" and "raw" compression formats. + +This requires ghc. + +After uninstalling, run the following command to unregister the package +from the ghc package database: ghc-pkg recache diff --git a/haskell/haskell-zlib/doinst.sh b/haskell/haskell-zlib/doinst.sh new file mode 100644 index 0000000000..3268c238bf --- /dev/null +++ b/haskell/haskell-zlib/doinst.sh @@ -0,0 +1 @@ +chroot . /usr/bin/ghc-pkg recache diff --git a/haskell/haskell-zlib/haskell-zlib.SlackBuild b/haskell/haskell-zlib/haskell-zlib.SlackBuild new file mode 100644 index 0000000000..35a5bc1f97 --- /dev/null +++ b/haskell/haskell-zlib/haskell-zlib.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for zlib + +# Written by Peter Wang +# Modified by Mikko Värri +# Public domain. + +PRGNAM=haskell-zlib +VERSION=${VERSION:-0.5.2.0} +BUILD=${BUILD:-4} +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 # Exit on most errors + +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.hs 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 + +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 + +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/doinst.sh > $PKG/install/doinst.sh +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/haskell/haskell-zlib/haskell-zlib.info b/haskell/haskell-zlib/haskell-zlib.info new file mode 100644 index 0000000000..0f4a9e24cc --- /dev/null +++ b/haskell/haskell-zlib/haskell-zlib.info @@ -0,0 +1,10 @@ +PRGNAM="haskell-zlib" +VERSION="0.5.2.0" +HOMEPAGE="http://hackage.haskell.org/package/zlib" +DOWNLOAD="http://hackage.haskell.org/packages/archive/zlib/0.5.2.0/zlib-0.5.2.0.tar.gz" +MD5SUM="19859e241dc18ef1501a5d44d8523507" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mikko Värri" +EMAIL="vmj@linuxbox.fi" +APPROVED="dsomero" diff --git a/haskell/haskell-zlib/slack-desc b/haskell/haskell-zlib/slack-desc new file mode 100644 index 0000000000..9f634083f1 --- /dev/null +++ b/haskell/haskell-zlib/slack-desc @@ -0,0 +1,19 @@ +# 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-zlib: haskell-zlib (compression library for Haskell) +haskell-zlib: +haskell-zlib: This is a library for Haskell programs. It provides a pure interface +haskell-zlib: for compressing and decompressing streams of data represented as +haskell-zlib: lazy ByteStrings. It uses the zlib C library so it has high +haskell-zlib: performance. It supports the "zlib", "gzip" and "raw" compression +haskell-zlib: formats. +haskell-zlib: +haskell-zlib: +haskell-zlib: +haskell-zlib: diff --git a/libraries/haskell-GLURaw/README b/libraries/haskell-GLURaw/README deleted file mode 100644 index 8989e984cc..0000000000 --- a/libraries/haskell-GLURaw/README +++ /dev/null @@ -1,8 +0,0 @@ -GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility -library. It is basically a 1:1 mapping of GLU's C API, intended as a -basis for a nicer interface. - -This requires ghc and haskell-OpenGLRaw. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-GLURaw/doinst.sh b/libraries/haskell-GLURaw/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-GLURaw/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-GLURaw/haskell-GLURaw.SlackBuild b/libraries/haskell-GLURaw/haskell-GLURaw.SlackBuild deleted file mode 100644 index 98eff190bf..0000000000 --- a/libraries/haskell-GLURaw/haskell-GLURaw.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for GLURaw - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-GLURaw -VERSION=${VERSION:-1.1.0.0} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-GLURaw/haskell-GLURaw.info b/libraries/haskell-GLURaw/haskell-GLURaw.info deleted file mode 100644 index 932977b8da..0000000000 --- a/libraries/haskell-GLURaw/haskell-GLURaw.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-GLURaw" -VERSION="1.1.0.0" -HOMEPAGE="http://hackage.haskell.org/package/GLURaw" -DOWNLOAD="http://hackage.haskell.org/packages/archive/GLURaw/1.1.0.0/GLURaw-1.1.0.0.tar.gz" -MD5SUM="3f195f73f5c58edc3dd32c5048c5b64e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-GLURaw/slack-desc b/libraries/haskell-GLURaw/slack-desc deleted file mode 100644 index 33261d52af..0000000000 --- a/libraries/haskell-GLURaw/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-GLURaw: haskell-GLURaw (A raw binding for the OpenGL graphics system) -haskell-GLURaw: -haskell-GLURaw: GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility -haskell-GLURaw: library. It is basically a 1:1 mapping of GLU's C API, intended as a -haskell-GLURaw: basis for a nicer interface. -haskell-GLURaw: -haskell-GLURaw: -haskell-GLURaw: -haskell-GLURaw: -haskell-GLURaw: -haskell-GLURaw: diff --git a/libraries/haskell-GLUT/README b/libraries/haskell-GLUT/README deleted file mode 100644 index 878de79cbb..0000000000 --- a/libraries/haskell-GLUT/README +++ /dev/null @@ -1,8 +0,0 @@ -A Haskell binding for the OpenGL Utility Toolkit, a window system -independent toolkit for writing OpenGL programs. - -This requires ghc, haskell-StateVar, haskell-Tensor and -haskell-OpenGL. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-GLUT/doinst.sh b/libraries/haskell-GLUT/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-GLUT/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-GLUT/haskell-GLUT.SlackBuild b/libraries/haskell-GLUT/haskell-GLUT.SlackBuild deleted file mode 100644 index e9f8936ae5..0000000000 --- a/libraries/haskell-GLUT/haskell-GLUT.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for GLUT - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-GLUT -VERSION=${VERSION:-2.2.2.0} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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 README examples $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/libraries/haskell-GLUT/haskell-GLUT.info b/libraries/haskell-GLUT/haskell-GLUT.info deleted file mode 100644 index c2fff5d32a..0000000000 --- a/libraries/haskell-GLUT/haskell-GLUT.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-GLUT" -VERSION="2.2.2.0" -HOMEPAGE="http://hackage.haskell.org/package/GLUT" -DOWNLOAD="http://hackage.haskell.org/packages/archive/GLUT/2.2.2.0/GLUT-2.2.2.0.tar.gz" -MD5SUM="e11912f50b76950b0d9e27d25127e391" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-GLUT/slack-desc b/libraries/haskell-GLUT/slack-desc deleted file mode 100644 index 5940380453..0000000000 --- a/libraries/haskell-GLUT/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-GLUT: haskell-GLUT (A binding for the OpenGL Utility Toolkit) -haskell-GLUT: -haskell-GLUT: A Haskell binding for the OpenGL Utility Toolkit, a window system -haskell-GLUT: independent toolkit for writing OpenGL programs. -haskell-GLUT: -haskell-GLUT: -haskell-GLUT: -haskell-GLUT: -haskell-GLUT: -haskell-GLUT: -haskell-GLUT: diff --git a/libraries/haskell-HTTP/README b/libraries/haskell-HTTP/README deleted file mode 100644 index 1713ad6e0d..0000000000 --- a/libraries/haskell-HTTP/README +++ /dev/null @@ -1,9 +0,0 @@ -The HTTP package supports client-side web programming in Haskell. -It lets you set up HTTP connections, transmitting requests and -processing the responses coming back, all from within the comforts -of Haskell. - -This requires haskell-network. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-HTTP/doinst.sh b/libraries/haskell-HTTP/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-HTTP/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-HTTP/haskell-HTTP.SlackBuild b/libraries/haskell-HTTP/haskell-HTTP.SlackBuild deleted file mode 100644 index d619c338e8..0000000000 --- a/libraries/haskell-HTTP/haskell-HTTP.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for HTTP - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-HTTP -VERSION=${VERSION:-4000.1.1} -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 CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-HTTP/haskell-HTTP.info b/libraries/haskell-HTTP/haskell-HTTP.info deleted file mode 100644 index 49bfea2ffe..0000000000 --- a/libraries/haskell-HTTP/haskell-HTTP.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-HTTP" -VERSION="4000.1.1" -HOMEPAGE="http://hackage.haskell.org/package/HTTP" -DOWNLOAD="http://hackage.haskell.org/packages/archive/HTTP/4000.1.1/HTTP-4000.1.1.tar.gz" -MD5SUM="ddf23d46c4d6dc0048c454e3d01caa57" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-HTTP/slack-desc b/libraries/haskell-HTTP/slack-desc deleted file mode 100644 index b3970a5c95..0000000000 --- a/libraries/haskell-HTTP/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-HTTP: haskell-HTTP (A Haskell library for client-side HTTP) -haskell-HTTP: -haskell-HTTP: The HTTP package supports client-side web programming in Haskell. -haskell-HTTP: It lets you set up HTTP connections, transmitting requests and -haskell-HTTP: processing the responses coming back, all from within the comforts -haskell-HTTP: of Haskell. -haskell-HTTP: -haskell-HTTP: http://hackage.haskell.org/package/HTTP -haskell-HTTP: -haskell-HTTP: -haskell-HTTP: diff --git a/libraries/haskell-HUnit/README b/libraries/haskell-HUnit/README deleted file mode 100644 index 90e9270497..0000000000 --- a/libraries/haskell-HUnit/README +++ /dev/null @@ -1,7 +0,0 @@ -HUnit is a unit testing framework for Haskell, inspired by the JUnit -tool for Java. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-HUnit/doinst.sh b/libraries/haskell-HUnit/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-HUnit/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-HUnit/haskell-HUnit.SlackBuild b/libraries/haskell-HUnit/haskell-HUnit.SlackBuild deleted file mode 100644 index b70780c182..0000000000 --- a/libraries/haskell-HUnit/haskell-HUnit.SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -# Slackware build script for HUnit - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-HUnit -VERSION=${VERSION:-1.2.2.3} -BUILD=${BUILD:-2} -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.hs 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 - -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 README doc/Guide.html $PKG/usr/doc/$PRGNAM-$VERSION -# --docdir not fully respected -mv $PKG/usr/share/$SRCNAM-$VERSION/examples $PKG/usr/doc/$PRGNAM-$VERSION/examples -# rest of them are duplicates -rm -rf $PKG/usr/share -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-HUnit/haskell-HUnit.info b/libraries/haskell-HUnit/haskell-HUnit.info deleted file mode 100644 index 41e74138ea..0000000000 --- a/libraries/haskell-HUnit/haskell-HUnit.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-HUnit" -VERSION="1.2.2.3" -HOMEPAGE="http://hackage.haskell.org/package/HUnit" -DOWNLOAD="http://hackage.haskell.org/packages/archive/HUnit/1.2.2.3/HUnit-1.2.2.3.tar.gz" -MD5SUM="f179add502f88153e5c9fdc69056b657" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-HUnit/slack-desc b/libraries/haskell-HUnit/slack-desc deleted file mode 100644 index 60583e8526..0000000000 --- a/libraries/haskell-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-HUnit: haskell-HUnit (Unit testing framework for Haskell) -haskell-HUnit: -haskell-HUnit: HUnit is a unit testing framework for Haskell, inspired by the JUnit -haskell-HUnit: tool for Java. -haskell-HUnit: -haskell-HUnit: http://hackage.haskell.org/package/HUnit -haskell-HUnit: -haskell-HUnit: -haskell-HUnit: -haskell-HUnit: -haskell-HUnit: diff --git a/libraries/haskell-MonadCatchIO-mtl/README b/libraries/haskell-MonadCatchIO-mtl/README deleted file mode 100644 index 156680c936..0000000000 --- a/libraries/haskell-MonadCatchIO-mtl/README +++ /dev/null @@ -1,6 +0,0 @@ -Provides a monad-transformer version of the Control.Exception.catch -function. For this, it defines the MonadCatchIO class, a subset of -MonadIO. It defines proper instances for most monad transformers in -the mtl library. - -This requires ghc, haskell-transformers, and haskell-mtl. diff --git a/libraries/haskell-MonadCatchIO-mtl/doinst.sh b/libraries/haskell-MonadCatchIO-mtl/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-MonadCatchIO-mtl/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild deleted file mode 100644 index c54efaec1b..0000000000 --- a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# Slackware build script for MonadCatchIO-mtl - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-MonadCatchIO-mtl -VERSION=${VERSION:-0.3.0.1} -BUILD=${BUILD:-2} -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 -# BUG: At least the package should come with lisence -#cp -a $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/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info b/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info deleted file mode 100644 index 5f3a242ff0..0000000000 --- a/libraries/haskell-MonadCatchIO-mtl/haskell-MonadCatchIO-mtl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-MonadCatchIO-mtl" -VERSION="0.3.0.1" -HOMEPAGE="http://hackage.haskell.org/package/MonadCatchIO-mtl" -DOWNLOAD="http://hackage.haskell.org/packages/archive/MonadCatchIO-mtl/0.3.0.1/MonadCatchIO-mtl-0.3.0.1.tar.gz" -MD5SUM="53f56fece758b15eff950f9c9796fbdf" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-MonadCatchIO-mtl/slack-desc b/libraries/haskell-MonadCatchIO-mtl/slack-desc deleted file mode 100644 index fbf5055cdb..0000000000 --- a/libraries/haskell-MonadCatchIO-mtl/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-MonadCatchIO-mtl: haskell-MonadCatchIO-mtl (Monad-transformer version of haskell-mtl) -haskell-MonadCatchIO-mtl: -haskell-MonadCatchIO-mtl: Provides a monad-transformer version of the Control.Exception.catch -haskell-MonadCatchIO-mtl: function. For this, it defines the MonadCatchIO class, a subset of -haskell-MonadCatchIO-mtl: MonadIO. It defines proper instances for most monad transformers in -haskell-MonadCatchIO-mtl: the mtl library. -haskell-MonadCatchIO-mtl: -haskell-MonadCatchIO-mtl: Homepage: http://hackage.haskell.org/package/MonadCatchIO-mtl -haskell-MonadCatchIO-mtl: -haskell-MonadCatchIO-mtl: -haskell-MonadCatchIO-mtl: diff --git a/libraries/haskell-ObjectName/README b/libraries/haskell-ObjectName/README deleted file mode 100644 index e266ea95af..0000000000 --- a/libraries/haskell-ObjectName/README +++ /dev/null @@ -1,9 +0,0 @@ -This tiny package contains the class ObjectName, which corresponds -to the general notion of explicitly handled identifiers for API -objects, e.g. a texture object name in OpenGL or a buffer object -name in OpenAL. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-ObjectName/doinst.sh b/libraries/haskell-ObjectName/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-ObjectName/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-ObjectName/haskell-ObjectName.SlackBuild b/libraries/haskell-ObjectName/haskell-ObjectName.SlackBuild deleted file mode 100644 index fbf457b394..0000000000 --- a/libraries/haskell-ObjectName/haskell-ObjectName.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for ObjectName - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-ObjectName -VERSION=${VERSION:-1.0.0.0} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-ObjectName/haskell-ObjectName.info b/libraries/haskell-ObjectName/haskell-ObjectName.info deleted file mode 100644 index a8e516e878..0000000000 --- a/libraries/haskell-ObjectName/haskell-ObjectName.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-ObjectName" -VERSION="1.0.0.0" -HOMEPAGE="http://hackage.haskell.org/package/ObjectName" -DOWNLOAD="http://hackage.haskell.org/packages/archive/ObjectName/1.0.0.0/ObjectName-1.0.0.0.tar.gz" -MD5SUM="00140131c26a51ae1118f685a73ad923" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-ObjectName/slack-desc b/libraries/haskell-ObjectName/slack-desc deleted file mode 100644 index 0b12834253..0000000000 --- a/libraries/haskell-ObjectName/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-ObjectName: haskell-ObjectName (Explicitly handled object names) -haskell-ObjectName: -haskell-ObjectName: This tiny package contains the class ObjectName, which corresponds -haskell-ObjectName: to the general notion of explicitly handled identifiers for API -haskell-ObjectName: objects, e.g. a texture object name in OpenGL or a buffer object -haskell-ObjectName: name in OpenAL. -haskell-ObjectName: -haskell-ObjectName: -haskell-ObjectName: -haskell-ObjectName: -haskell-ObjectName: diff --git a/libraries/haskell-OpenGL/README b/libraries/haskell-OpenGL/README deleted file mode 100644 index be6dacd307..0000000000 --- a/libraries/haskell-OpenGL/README +++ /dev/null @@ -1,8 +0,0 @@ -A Haskell binding for the OpenGL graphics system (GL, version 3.2) -and its accompanying utility library (GLU, version 1.3). - -This requires ghc, haskell-OpenGLRaw, haskell-GLURaw, -haskell-ObjectName, haskell-StateVar and haskell-Tensor. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-OpenGL/doinst.sh b/libraries/haskell-OpenGL/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-OpenGL/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-OpenGL/haskell-OpenGL.SlackBuild b/libraries/haskell-OpenGL/haskell-OpenGL.SlackBuild deleted file mode 100644 index 792be7ae23..0000000000 --- a/libraries/haskell-OpenGL/haskell-OpenGL.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for OpenGL - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-OpenGL -VERSION=${VERSION:-2.4.0.1} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-OpenGL/haskell-OpenGL.info b/libraries/haskell-OpenGL/haskell-OpenGL.info deleted file mode 100644 index 956df02cc5..0000000000 --- a/libraries/haskell-OpenGL/haskell-OpenGL.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-OpenGL" -VERSION="2.4.0.1" -HOMEPAGE="http://hackage.haskell.org/package/OpenGL" -DOWNLOAD="http://hackage.haskell.org/packages/archive/OpenGL/2.4.0.1/OpenGL-2.4.0.1.tar.gz" -MD5SUM="71b03fce1e3d64be1e874d7989f0272c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-OpenGL/slack-desc b/libraries/haskell-OpenGL/slack-desc deleted file mode 100644 index 9d8df4dc6b..0000000000 --- a/libraries/haskell-OpenGL/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-OpenGL: haskell-OpenGL (A binding for the OpenGL graphics system) -haskell-OpenGL: -haskell-OpenGL: A Haskell binding for the OpenGL graphics system (GL, version 3.2) -haskell-OpenGL: and its accompanying utility library (GLU, version 1.3). -haskell-OpenGL: -haskell-OpenGL: -haskell-OpenGL: -haskell-OpenGL: -haskell-OpenGL: -haskell-OpenGL: -haskell-OpenGL: diff --git a/libraries/haskell-OpenGLRaw/README b/libraries/haskell-OpenGLRaw/README deleted file mode 100644 index 211d7eb2be..0000000000 --- a/libraries/haskell-OpenGLRaw/README +++ /dev/null @@ -1,14 +0,0 @@ -OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics -system and lots of OpenGL extensions. It is basically a 1:1 mapping -of OpenGL's C API, intended as a basis for a nicer interface. -OpenGLRaw offers access to all necessary functions, tokens and types -plus a general facility for loading extension entries. The module -hierarchy closely mirrors the naming structure of the OpenGL -extensions, making it easy to find the right module to import. All -API entries are loaded dynamically. If an API entry is not found at -runtime, a userError is thrown. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-OpenGLRaw/doinst.sh b/libraries/haskell-OpenGLRaw/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-OpenGLRaw/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild b/libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild deleted file mode 100644 index 49f9970446..0000000000 --- a/libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for OpenGLRaw - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-OpenGLRaw -VERSION=${VERSION:-1.1.0.1} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.info b/libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.info deleted file mode 100644 index bf18fa575a..0000000000 --- a/libraries/haskell-OpenGLRaw/haskell-OpenGLRaw.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-OpenGLRaw" -VERSION="1.1.0.1" -HOMEPAGE="http://hackage.haskell.org/package/OpenGLRaw" -DOWNLOAD="http://hackage.haskell.org/packages/archive/OpenGLRaw/1.1.0.1/OpenGLRaw-1.1.0.1.tar.gz" -MD5SUM="efe968cf32e46ae61b7b19edc2711044" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-OpenGLRaw/slack-desc b/libraries/haskell-OpenGLRaw/slack-desc deleted file mode 100644 index 01eb26c905..0000000000 --- a/libraries/haskell-OpenGLRaw/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-OpenGLRaw: haskell-OpenGLRaw (A raw binding for the OpenGL graphics system) -haskell-OpenGLRaw: -haskell-OpenGLRaw: OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics -haskell-OpenGLRaw: system and lots of OpenGL extensions. It is basically a 1:1 mapping -haskell-OpenGLRaw: of OpenGL's C API, intended as a basis for a nicer interface. -haskell-OpenGLRaw: OpenGLRaw offers access to all necessary functions, tokens and types -haskell-OpenGLRaw: plus a general facility for loading extension entries. The module -haskell-OpenGLRaw: hierarchy closely mirrors the naming structure of the OpenGL -haskell-OpenGLRaw: extensions, making it easy to find the right module to import. All -haskell-OpenGLRaw: API entries are loaded dynamically. If an API entry is not found at -haskell-OpenGLRaw: runtime, a userError is thrown. diff --git a/libraries/haskell-QuickCheck/README b/libraries/haskell-QuickCheck/README deleted file mode 100644 index fc75575469..0000000000 --- a/libraries/haskell-QuickCheck/README +++ /dev/null @@ -1,10 +0,0 @@ -QuickCheck is a library for random testing of program properties. -The programmer provides a specification of the program, in the form -of properties which functions should satisfy, and QuickCheck then -tests that the properties hold in a large number of randomly -generated cases. - -This requires ghc, haskell-transformers, and haskell-mtl. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-QuickCheck/doinst.sh b/libraries/haskell-QuickCheck/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-QuickCheck/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild b/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild deleted file mode 100644 index 18524141e0..0000000000 --- a/libraries/haskell-QuickCheck/haskell-QuickCheck.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for QuickCheck - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-QuickCheck -VERSION=${VERSION:-2.4.0.1} -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 \ - --enable-shared \ - --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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-QuickCheck/haskell-QuickCheck.info b/libraries/haskell-QuickCheck/haskell-QuickCheck.info deleted file mode 100644 index 91ab2762c0..0000000000 --- a/libraries/haskell-QuickCheck/haskell-QuickCheck.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-QuickCheck" -VERSION="2.4.0.1" -HOMEPAGE="http://hackage.haskell.org/package/QuickCheck" -DOWNLOAD="http://hackage.haskell.org/packages/archive/QuickCheck/2.4.0.1/QuickCheck-2.4.0.1.tar.gz" -MD5SUM="e8c86e95fd1fa4c58fc8e53e2853db5e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-QuickCheck/slack-desc b/libraries/haskell-QuickCheck/slack-desc deleted file mode 100644 index 3c16d50998..0000000000 --- a/libraries/haskell-QuickCheck/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-QuickCheck: haskell-QuickCheck (Automatic testing of Haskell programs) -haskell-QuickCheck: -haskell-QuickCheck: QuickCheck is a library for random testing of program properties. -haskell-QuickCheck: The programmer provides a specification of the program, in the form -haskell-QuickCheck: of properties which functions should satisfy, and QuickCheck then -haskell-QuickCheck: tests that the properties hold in a large number of randomly -haskell-QuickCheck: generated cases. -haskell-QuickCheck: -haskell-QuickCheck: http://hackage.haskell.org/package/QuickCheck -haskell-QuickCheck: -haskell-QuickCheck: diff --git a/libraries/haskell-StateVar/README b/libraries/haskell-StateVar/README deleted file mode 100644 index 2d3ee44d07..0000000000 --- a/libraries/haskell-StateVar/README +++ /dev/null @@ -1,7 +0,0 @@ -This package contains state variables, which are references in the -IO monad, like IORefs or parts of the OpenGL state. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-StateVar/doinst.sh b/libraries/haskell-StateVar/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-StateVar/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-StateVar/haskell-StateVar.SlackBuild b/libraries/haskell-StateVar/haskell-StateVar.SlackBuild deleted file mode 100644 index 4115010ffb..0000000000 --- a/libraries/haskell-StateVar/haskell-StateVar.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for StateVar - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-StateVar -VERSION=${VERSION:-1.0.0.0} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-StateVar/haskell-StateVar.info b/libraries/haskell-StateVar/haskell-StateVar.info deleted file mode 100644 index 8146797529..0000000000 --- a/libraries/haskell-StateVar/haskell-StateVar.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-StateVar" -VERSION="1.0.0.0" -HOMEPAGE="http://hackage.haskell.org/package/StateVar" -DOWNLOAD="http://hackage.haskell.org/packages/archive/StateVar/1.0.0.0/StateVar-1.0.0.0.tar.gz" -MD5SUM="313aa364e9c41bdd87f4bd3710676d63" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-StateVar/slack-desc b/libraries/haskell-StateVar/slack-desc deleted file mode 100644 index cf762cdcda..0000000000 --- a/libraries/haskell-StateVar/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-StateVar: haskell-StateVar (State variables for Haskell) -haskell-StateVar: -haskell-StateVar: This package contains state variables, which are references in the -haskell-StateVar: IO monad, like IORefs or parts of the OpenGL state. -haskell-StateVar: -haskell-StateVar: -haskell-StateVar: -haskell-StateVar: -haskell-StateVar: -haskell-StateVar: -haskell-StateVar: diff --git a/libraries/haskell-Tensor/README b/libraries/haskell-Tensor/README deleted file mode 100644 index 0ed8491b14..0000000000 --- a/libraries/haskell-Tensor/README +++ /dev/null @@ -1,7 +0,0 @@ -This package contains tensor data types and their instances for some -basic type classes. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-Tensor/doinst.sh b/libraries/haskell-Tensor/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-Tensor/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-Tensor/haskell-Tensor.SlackBuild b/libraries/haskell-Tensor/haskell-Tensor.SlackBuild deleted file mode 100644 index 1396770bf2..0000000000 --- a/libraries/haskell-Tensor/haskell-Tensor.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for Tensor - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-Tensor -VERSION=${VERSION:-1.0.0.1} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-Tensor/haskell-Tensor.info b/libraries/haskell-Tensor/haskell-Tensor.info deleted file mode 100644 index afef4b7d40..0000000000 --- a/libraries/haskell-Tensor/haskell-Tensor.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-Tensor" -VERSION="1.0.0.1" -HOMEPAGE="http://hackage.haskell.org/package/Tensor" -DOWNLOAD="http://hackage.haskell.org/packages/archive/Tensor/1.0.0.1/Tensor-1.0.0.1.tar.gz" -MD5SUM="67e0393f0cf4f2db06f525853e47811c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-Tensor/slack-desc b/libraries/haskell-Tensor/slack-desc deleted file mode 100644 index f9e7ead65a..0000000000 --- a/libraries/haskell-Tensor/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-Tensor: haskell-Tensor (Tensor data types) -haskell-Tensor: -haskell-Tensor: This package contains tensor data types and their instances for some -haskell-Tensor: basic type classes. -haskell-Tensor: -haskell-Tensor: -haskell-Tensor: -haskell-Tensor: -haskell-Tensor: -haskell-Tensor: -haskell-Tensor: diff --git a/libraries/haskell-X11-xft/README b/libraries/haskell-X11-xft/README deleted file mode 100644 index 711cb15ac9..0000000000 --- a/libraries/haskell-X11-xft/README +++ /dev/null @@ -1,6 +0,0 @@ -haskell-X11-xft is haskell support for xft in X11. - -This requires ghc, haskell-X11, and haskell-utf8-string. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-X11-xft/doinst.sh b/libraries/haskell-X11-xft/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-X11-xft/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-X11-xft/haskell-X11-xft.SlackBuild b/libraries/haskell-X11-xft/haskell-X11-xft.SlackBuild deleted file mode 100644 index 5e678db3f5..0000000000 --- a/libraries/haskell-X11-xft/haskell-X11-xft.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# Slackware build script for X11-xft - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Modified by Andy Bailey (GooseYArd@gmail.com) for X11-xft -# Public domain. - -SRCNAM=X11-xft -PRGNAM=haskell-$SRCNAM -VERSION=${VERSION:-0.3} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -GHC_VERSION=$(ghc --numeric-version) - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) 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 \ - --enable-shared \ - --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 - -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 - -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-X11-xft/haskell-X11-xft.info b/libraries/haskell-X11-xft/haskell-X11-xft.info deleted file mode 100644 index c12d37f9b7..0000000000 --- a/libraries/haskell-X11-xft/haskell-X11-xft.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-X11-xft" -VERSION="0.3" -HOMEPAGE="http://hackage.haskell.org/package/X11-xft" -DOWNLOAD="http://hackage.haskell.org/packages/archive/X11-xft/0.3/X11-xft-0.3.tar.gz" -MD5SUM="1b4a528a2a4fe5e9de715f6758ff9015" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Andy Bailey" -EMAIL="GooseYArd@gmail.com" -APPROVED="Erik Hanson" diff --git a/libraries/haskell-X11-xft/slack-desc b/libraries/haskell-X11-xft/slack-desc deleted file mode 100644 index d8f386dc70..0000000000 --- a/libraries/haskell-X11-xft/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-X11-xft: haskell-X11-xft (haskell bindings to the xft library) -haskell-X11-xft: -haskell-X11-xft: Haskell bindings to the Xft, X Free Type interface library, -haskell-X11-xft: and some Xrender parts. -haskell-X11-xft: -haskell-X11-xft: http://hackage.haskell.org/package/X11-xft -haskell-X11-xft: -haskell-X11-xft: -haskell-X11-xft: -haskell-X11-xft: -haskell-X11-xft: diff --git a/libraries/haskell-X11/README b/libraries/haskell-X11/README deleted file mode 100644 index 64f452c70f..0000000000 --- a/libraries/haskell-X11/README +++ /dev/null @@ -1,9 +0,0 @@ -A Haskell binding to the X11 graphics library. The binding is a -direct translation of the C binding; for documentation of these calls, -refer to The Xlib Programming Manual, available online at -http://tronche.com/gui/x/xlib/. - -This requires ghc and haskell-syb from SlackBuilds.org. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-X11/doinst.sh b/libraries/haskell-X11/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-X11/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-X11/haskell-X11.SlackBuild b/libraries/haskell-X11/haskell-X11.SlackBuild deleted file mode 100644 index dd72723ba3..0000000000 --- a/libraries/haskell-X11/haskell-X11.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for X11 - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-X11 -VERSION=${VERSION:-1.5.0.0} -BUILD=${BUILD:-3} -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.hs 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 - -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 -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-X11/haskell-X11.info b/libraries/haskell-X11/haskell-X11.info deleted file mode 100644 index e4fcc8604a..0000000000 --- a/libraries/haskell-X11/haskell-X11.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-X11" -VERSION="1.5.0.0" -HOMEPAGE="http://hackage.haskell.org/package/X11" -DOWNLOAD="http://hackage.haskell.org/packages/archive/X11/1.5.0.0/X11-1.5.0.0.tar.gz" -MD5SUM="ec6670f5ce1812206903c8a0fd9df04c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-X11/slack-desc b/libraries/haskell-X11/slack-desc deleted file mode 100644 index 922c7a60d8..0000000000 --- a/libraries/haskell-X11/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-X11: haskell-X11 (A Haskell binding to the X11 graphics library) -haskell-X11: -haskell-X11: The binding is a direct translation of the C binding; for -haskell-X11: documentation of these calls, refer to The Xlib Programming Manual, -haskell-X11: available online at http://tronche.com/gui/x/xlib/. -haskell-X11: -haskell-X11: http://hackage.haskell.org/package/X11 -haskell-X11: -haskell-X11: -haskell-X11: -haskell-X11: diff --git a/libraries/haskell-ansi-terminal/README b/libraries/haskell-ansi-terminal/README deleted file mode 100644 index 1cde06ceeb..0000000000 --- a/libraries/haskell-ansi-terminal/README +++ /dev/null @@ -1,8 +0,0 @@ -ANSI terminal support for Haskell: allows cursor movement, screen -clearing, color output showing or hiding the cursor, and changing -the title. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-ansi-terminal/doinst.sh b/libraries/haskell-ansi-terminal/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-ansi-terminal/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild b/libraries/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild deleted file mode 100644 index a9e25df1b6..0000000000 --- a/libraries/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for ansi-terminal - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-ansi-terminal -VERSION=${VERSION:-0.5.5} -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/libraries/haskell-ansi-terminal/haskell-ansi-terminal.info b/libraries/haskell-ansi-terminal/haskell-ansi-terminal.info deleted file mode 100644 index 51a6d6eeb4..0000000000 --- a/libraries/haskell-ansi-terminal/haskell-ansi-terminal.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-ansi-terminal" -VERSION="0.5.5" -HOMEPAGE="http://hackage.haskell.org/package/ansi-terminal" -DOWNLOAD="http://hackage.haskell.org/packages/archive/ansi-terminal/0.5.5/ansi-terminal-0.5.5.tar.gz" -MD5SUM="5ad9e6561f0de1a2e98b6c72d119ea75" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-ansi-terminal/slack-desc b/libraries/haskell-ansi-terminal/slack-desc deleted file mode 100644 index d76be32bf3..0000000000 --- a/libraries/haskell-ansi-terminal/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-ansi-terminal: haskell-ansi-terminal (Simple ANSI terminal support) -haskell-ansi-terminal: -haskell-ansi-terminal: ANSI terminal support for Haskell: allows cursor movement, screen -haskell-ansi-terminal: clearing, color output showing or hiding the cursor, and changing -haskell-ansi-terminal: the title. -haskell-ansi-terminal: -haskell-ansi-terminal: -haskell-ansi-terminal: -haskell-ansi-terminal: -haskell-ansi-terminal: -haskell-ansi-terminal: diff --git a/libraries/haskell-ansi-wl-pprint/README b/libraries/haskell-ansi-wl-pprint/README deleted file mode 100644 index 44c4974c14..0000000000 --- a/libraries/haskell-ansi-wl-pprint/README +++ /dev/null @@ -1,8 +0,0 @@ -This is a pretty printing library based on Wadler's paper A Prettier -Printer. It has been enhanced with support for ANSI terminal colored -output using the ansi-terminal package. - -This requires ghc, and haskell-ansi-terminal. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-ansi-wl-pprint/doinst.sh b/libraries/haskell-ansi-wl-pprint/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-ansi-wl-pprint/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild b/libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild deleted file mode 100644 index de4a690b59..0000000000 --- a/libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for ansi-wl-pprint - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-ansi-wl-pprint -VERSION=${VERSION:-0.6.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 {} \; - -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/libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info b/libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info deleted file mode 100644 index db2f5ee8de..0000000000 --- a/libraries/haskell-ansi-wl-pprint/haskell-ansi-wl-pprint.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-ansi-wl-pprint" -VERSION="0.6.3" -HOMEPAGE="http://hackage.haskell.org/package/ansi-wl-pprint" -DOWNLOAD="http://hackage.haskell.org/packages/archive/ansi-wl-pprint/0.6.3/ansi-wl-pprint-0.6.3.tar.gz" -MD5SUM="1a58d605d340226a74074d7e5583565d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-ansi-wl-pprint/slack-desc b/libraries/haskell-ansi-wl-pprint/slack-desc deleted file mode 100644 index 08da3a9e29..0000000000 --- a/libraries/haskell-ansi-wl-pprint/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-ansi-wl-pprint: haskell-ansi-wl-pprint (The Wadler/Leijen Pretty Printer) -haskell-ansi-wl-pprint: -haskell-ansi-wl-pprint: This is a pretty printing library based on Wadler's paper A Prettier -haskell-ansi-wl-pprint: Printer. It has been enhanced with support for ANSI terminal colored -haskell-ansi-wl-pprint: output using the ansi-terminal package. -haskell-ansi-wl-pprint: -haskell-ansi-wl-pprint: -haskell-ansi-wl-pprint: -haskell-ansi-wl-pprint: -haskell-ansi-wl-pprint: -haskell-ansi-wl-pprint: diff --git a/libraries/haskell-binary/README b/libraries/haskell-binary/README deleted file mode 100644 index 34fa609952..0000000000 --- a/libraries/haskell-binary/README +++ /dev/null @@ -1,8 +0,0 @@ -This is a library for Haskell programs, providing high performance binary -serialisation of Haskell data. It uses the ByteString library to achieve -efficient, lazy reading and writing of structures in binary format. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-binary/doinst.sh b/libraries/haskell-binary/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-binary/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-binary/haskell-binary.SlackBuild b/libraries/haskell-binary/haskell-binary.SlackBuild deleted file mode 100644 index 145b949840..0000000000 --- a/libraries/haskell-binary/haskell-binary.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for binary - -# Written by Peter Wang -# Modified by Mikko Värri -# Public domain. - -PRGNAM=haskell-binary -VERSION=${VERSION:-0.5.0.2} -BUILD=${BUILD:-4} -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 # Exit on most errors - -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 \ - --enable-shared \ - --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 - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -m 644 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-binary/haskell-binary.info b/libraries/haskell-binary/haskell-binary.info deleted file mode 100644 index 3f9c55403b..0000000000 --- a/libraries/haskell-binary/haskell-binary.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-binary" -VERSION="0.5.0.2" -HOMEPAGE="http://hackage.haskell.org/package/binary" -DOWNLOAD="http://hackage.haskell.org/packages/archive/binary/0.5.0.2/binary-0.5.0.2.tar.gz" -MD5SUM="6bf8f3d1441602c9ab09a75e3bd6e926" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-binary/slack-desc b/libraries/haskell-binary/slack-desc deleted file mode 100644 index 06140eecf8..0000000000 --- a/libraries/haskell-binary/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-binary: haskell-binary (binary serialisation library for Haskell) -haskell-binary: -haskell-binary: This is a library for Haskell programs, providing high -haskell-binary: performance binary serialisation of Haskell data. It uses the -haskell-binary: ByteString library to achieve efficient, lazy reading and -haskell-binary: writing of structures in binary format. -haskell-binary: -haskell-binary: -haskell-binary: -haskell-binary: -haskell-binary: diff --git a/libraries/haskell-cgi/README b/libraries/haskell-cgi/README deleted file mode 100644 index 488b06326f..0000000000 --- a/libraries/haskell-cgi/README +++ /dev/null @@ -1,6 +0,0 @@ -This is a Haskell library for writing CGI programs. - -This requires haskell-MonadCatchIO-mtl, haskell-network and haskell-xhtml. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-cgi/doinst.sh b/libraries/haskell-cgi/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-cgi/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-cgi/haskell-cgi.SlackBuild b/libraries/haskell-cgi/haskell-cgi.SlackBuild deleted file mode 100644 index 7204d44268..0000000000 --- a/libraries/haskell-cgi/haskell-cgi.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for cgi - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-cgi -VERSION=${VERSION:-3001.1.8.2} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-cgi/haskell-cgi.info b/libraries/haskell-cgi/haskell-cgi.info deleted file mode 100644 index 8c6dafe586..0000000000 --- a/libraries/haskell-cgi/haskell-cgi.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-cgi" -VERSION="3001.1.8.2" -HOMEPAGE="http://hackage.haskell.org/package/cgi" -DOWNLOAD="http://hackage.haskell.org/packages/archive/cgi/3001.1.8.2/cgi-3001.1.8.2.tar.gz" -MD5SUM="4092efaf00ac329b9771879f57a95323" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-cgi/slack-desc b/libraries/haskell-cgi/slack-desc deleted file mode 100644 index c3be262247..0000000000 --- a/libraries/haskell-cgi/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-cgi: haskell-cgi (A Haskell library for writing CGI programs) -haskell-cgi: -haskell-cgi: This is a Haskell library for writing CGI programs. -haskell-cgi: -haskell-cgi: http://hackage.haskell.org/package/cgi -haskell-cgi: -haskell-cgi: -haskell-cgi: -haskell-cgi: -haskell-cgi: -haskell-cgi: diff --git a/libraries/haskell-dataenc/README b/libraries/haskell-dataenc/README deleted file mode 100644 index 0e39f95c01..0000000000 --- a/libraries/haskell-dataenc/README +++ /dev/null @@ -1,8 +0,0 @@ -Data encoding library currently providing Base16, Base32, Base32Hex, -Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, -URL encoding, uuencode, xxencode, and yEncoding. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-dataenc/doinst.sh b/libraries/haskell-dataenc/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-dataenc/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-dataenc/haskell-dataenc.SlackBuild b/libraries/haskell-dataenc/haskell-dataenc.SlackBuild deleted file mode 100644 index 24cb79f9e5..0000000000 --- a/libraries/haskell-dataenc/haskell-dataenc.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for dataenc - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-dataenc -VERSION=${VERSION:-0.13.0.4} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-dataenc/haskell-dataenc.info b/libraries/haskell-dataenc/haskell-dataenc.info deleted file mode 100644 index 7776ddef0a..0000000000 --- a/libraries/haskell-dataenc/haskell-dataenc.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-dataenc" -VERSION="0.13.0.4" -HOMEPAGE="http://hackage.haskell.org/package/dataenc" -DOWNLOAD="http://hackage.haskell.org/packages/archive/dataenc/0.13.0.4/dataenc-0.13.0.4.tar.gz" -MD5SUM="4764fa7f75ed3ee95a759d67d1347d46" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-dataenc/slack-desc b/libraries/haskell-dataenc/slack-desc deleted file mode 100644 index bea7b806f2..0000000000 --- a/libraries/haskell-dataenc/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-dataenc: haskell-dataenc (Data encoding library) -haskell-dataenc: -haskell-dataenc: Data encoding library currently providing Base16, Base32, Base32Hex, -haskell-dataenc: Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, -haskell-dataenc: URL encoding, uuencode, xxencode, and yEncoding. -haskell-dataenc: -haskell-dataenc: http://hackage.haskell.org/package/dataenc -haskell-dataenc: -haskell-dataenc: -haskell-dataenc: -haskell-dataenc: diff --git a/libraries/haskell-deepseq/README b/libraries/haskell-deepseq/README deleted file mode 100644 index 409bf706fc..0000000000 --- a/libraries/haskell-deepseq/README +++ /dev/null @@ -1,7 +0,0 @@ -This package provides a "deep" version of seq, for fully evaluating -data structures. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-deepseq/doinst.sh b/libraries/haskell-deepseq/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-deepseq/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-deepseq/haskell-deepseq.SlackBuild b/libraries/haskell-deepseq/haskell-deepseq.SlackBuild deleted file mode 100644 index eab0b06d14..0000000000 --- a/libraries/haskell-deepseq/haskell-deepseq.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for deepseq - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-deepseq -VERSION=${VERSION:-1.1.0.2} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-deepseq/haskell-deepseq.info b/libraries/haskell-deepseq/haskell-deepseq.info deleted file mode 100644 index 997005544f..0000000000 --- a/libraries/haskell-deepseq/haskell-deepseq.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-deepseq" -VERSION="1.1.0.2" -HOMEPAGE="http://hackage.haskell.org/package/deepseq" -DOWNLOAD="http://hackage.haskell.org/packages/archive/deepseq/1.1.0.2/deepseq-1.1.0.2.tar.gz" -MD5SUM="90b66480f0eb659c1db209ee703e0162" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-deepseq/slack-desc b/libraries/haskell-deepseq/slack-desc deleted file mode 100644 index b0a5792930..0000000000 --- a/libraries/haskell-deepseq/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-deepseq: haskell-deepseq (Fully evaluate data structures in Haskell) -haskell-deepseq: -haskell-deepseq: This package provides a "deep" version of seq, for fully evaluating -haskell-deepseq: data structures. -haskell-deepseq: -haskell-deepseq: http://hackage.haskell.org/package/deepseq -haskell-deepseq: -haskell-deepseq: -haskell-deepseq: -haskell-deepseq: -haskell-deepseq: diff --git a/libraries/haskell-digest/README b/libraries/haskell-digest/README deleted file mode 100644 index 3d1bce3dd6..0000000000 --- a/libraries/haskell-digest/README +++ /dev/null @@ -1,8 +0,0 @@ -This is a library for Haskell programs, providing efficient cryptographic hash -implementations for strict and lazy bytestrings. CRC32 and Adler32 are -supported; they are implemented as FFI bindings to efficient code from zlib. - -This requires ghc. - -After uninstalling, run the following command to unregister the package -from the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-digest/doinst.sh b/libraries/haskell-digest/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-digest/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-digest/haskell-digest.SlackBuild b/libraries/haskell-digest/haskell-digest.SlackBuild deleted file mode 100644 index 29a1e37cf7..0000000000 --- a/libraries/haskell-digest/haskell-digest.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for digest - -# Written by Peter Wang -# Modified by Mikko Värri -# Public domain. - -PRGNAM=haskell-digest -VERSION=${VERSION:-0.0.0.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 # Exit on most errors - -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.hs 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 - -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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-digest/haskell-digest.info b/libraries/haskell-digest/haskell-digest.info deleted file mode 100644 index edf39d01fb..0000000000 --- a/libraries/haskell-digest/haskell-digest.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-digest" -VERSION="0.0.0.9" -HOMEPAGE="http://hackage.haskell.org/package/digest" -DOWNLOAD="http://hackage.haskell.org/packages/archive/digest/0.0.0.9/digest-0.0.0.9.tar.gz" -MD5SUM="0f35175426d9e443516ac3fa2bf91311" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-digest/slack-desc b/libraries/haskell-digest/slack-desc deleted file mode 100644 index 568dc71293..0000000000 --- a/libraries/haskell-digest/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-digest: haskell-digest (cryptographic hash library for Haskell) -haskell-digest: -haskell-digest: This is a library for Haskell programs, providing efficient -haskell-digest: cryptographic hash implementations for strict and lazy -haskell-digest: bytestrings. CRC32 and Adler32 are supported; they are -haskell-digest: implemented as FFI bindings to efficient code from zlib. -haskell-digest: -haskell-digest: -haskell-digest: -haskell-digest: -haskell-digest: diff --git a/libraries/haskell-editline/README b/libraries/haskell-editline/README deleted file mode 100644 index 0f36b82abc..0000000000 --- a/libraries/haskell-editline/README +++ /dev/null @@ -1,10 +0,0 @@ -This package contains Haskell bindings to the BSD editline library. -It provides a basic interface to the editline API for reading lines of -input from the user. Additionally, a readline compatibility module is -included which provides a subset of the functions from the readline -package. - -This requires libedit and ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-editline/doinst.sh b/libraries/haskell-editline/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-editline/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-editline/haskell-editline.SlackBuild b/libraries/haskell-editline/haskell-editline.SlackBuild deleted file mode 100644 index f07fc4011a..0000000000 --- a/libraries/haskell-editline/haskell-editline.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for editline - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-editline -VERSION=${VERSION:-0.2.1.0} -BUILD=${BUILD:-3} -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-editline/haskell-editline.info b/libraries/haskell-editline/haskell-editline.info deleted file mode 100644 index efbfcf748d..0000000000 --- a/libraries/haskell-editline/haskell-editline.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-editline" -VERSION="0.2.1.0" -HOMEPAGE="http://hackage.haskell.org/package/editline" -DOWNLOAD="http://hackage.haskell.org/packages/archive/editline/0.2.1.0/editline-0.2.1.0.tar.gz" -MD5SUM="fa57f434e538bb32bbfa97aface34358" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-editline/slack-desc b/libraries/haskell-editline/slack-desc deleted file mode 100644 index 9e942b8e2f..0000000000 --- a/libraries/haskell-editline/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-editline: haskell-editline (Bindings to the editline library (libedit)) -haskell-editline: -haskell-editline: This package contains bindings to the BSD editline library. It -haskell-editline: provides a basic interface to the editline API for reading lines of -haskell-editline: input from the user. Additionally, a readline compatibility module -haskell-editline: is included which provides a subset of the functions from the -haskell-editline: readline package. -haskell-editline: -haskell-editline: http://hackage.haskell.org/package/editline -haskell-editline: -haskell-editline: diff --git a/libraries/haskell-fgl/README b/libraries/haskell-fgl/README deleted file mode 100644 index ed8951f045..0000000000 --- a/libraries/haskell-fgl/README +++ /dev/null @@ -1,7 +0,0 @@ -The functional graph library for Haskell provides several modules -that define inductive graphs and graph algorithms. - -This requires ghc, haskell-transformers, and haskell-mtl. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-fgl/doinst.sh b/libraries/haskell-fgl/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-fgl/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-fgl/haskell-fgl.SlackBuild b/libraries/haskell-fgl/haskell-fgl.SlackBuild deleted file mode 100644 index 238be494db..0000000000 --- a/libraries/haskell-fgl/haskell-fgl.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for fgl - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-fgl -VERSION=${VERSION:-5.4.2.3} -BUILD=${BUILD:-2} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-fgl/haskell-fgl.info b/libraries/haskell-fgl/haskell-fgl.info deleted file mode 100644 index 8c3fa0bd57..0000000000 --- a/libraries/haskell-fgl/haskell-fgl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-fgl" -VERSION="5.4.2.3" -HOMEPAGE="http://hackage.haskell.org/package/fgl" -DOWNLOAD="http://hackage.haskell.org/packages/archive/fgl/5.4.2.3/fgl-5.4.2.3.tar.gz" -MD5SUM="29ccab8bebed16a8d7346c3ed52c5d9c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-fgl/slack-desc b/libraries/haskell-fgl/slack-desc deleted file mode 100644 index a08e2317bd..0000000000 --- a/libraries/haskell-fgl/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-fgl: haskell-fgl (Martin Erwig's Functional Graph Library) -haskell-fgl: -haskell-fgl: The functional graph library for Haskell provides several modules -haskell-fgl: that define inductive graphs and graph algorithms. -haskell-fgl: -haskell-fgl: http://hackage.haskell.org/package/fgl -haskell-fgl: -haskell-fgl: -haskell-fgl: -haskell-fgl: -haskell-fgl: diff --git a/libraries/haskell-ghc-paths/README b/libraries/haskell-ghc-paths/README deleted file mode 100644 index 251c68ed71..0000000000 --- a/libraries/haskell-ghc-paths/README +++ /dev/null @@ -1,6 +0,0 @@ -haskell-ghc-paths gives knowledge of GHC's installation directories. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-ghc-paths/doinst.sh b/libraries/haskell-ghc-paths/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-ghc-paths/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-ghc-paths/haskell-ghc-paths.SlackBuild b/libraries/haskell-ghc-paths/haskell-ghc-paths.SlackBuild deleted file mode 100644 index 9ca777fa40..0000000000 --- a/libraries/haskell-ghc-paths/haskell-ghc-paths.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for ghc-paths - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-ghc-paths -VERSION=${VERSION:-0.1.0.8} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-ghc-paths/haskell-ghc-paths.info b/libraries/haskell-ghc-paths/haskell-ghc-paths.info deleted file mode 100644 index 4c2c5064ce..0000000000 --- a/libraries/haskell-ghc-paths/haskell-ghc-paths.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-ghc-paths" -VERSION="0.1.0.8" -HOMEPAGE="http://hackage.haskell.org/package/ghc-paths" -DOWNLOAD="http://hackage.haskell.org/packages/archive/ghc-paths/0.1.0.8/ghc-paths-0.1.0.8.tar.gz" -MD5SUM="d2b23dc563888e380588501d2ce1d82b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-ghc-paths/slack-desc b/libraries/haskell-ghc-paths/slack-desc deleted file mode 100644 index 0924f67de7..0000000000 --- a/libraries/haskell-ghc-paths/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-ghc-paths: haskell-ghc-paths (gives knowledge of GHC's installation directories) -haskell-ghc-paths: -haskell-ghc-paths: This package gives knowledge of GHC's installation directories. -haskell-ghc-paths: -haskell-ghc-paths: -haskell-ghc-paths: -haskell-ghc-paths: -haskell-ghc-paths: -haskell-ghc-paths: -haskell-ghc-paths: -haskell-ghc-paths: diff --git a/libraries/haskell-hashed-storage/README b/libraries/haskell-hashed-storage/README deleted file mode 100644 index 2f8d278cd8..0000000000 --- a/libraries/haskell-hashed-storage/README +++ /dev/null @@ -1,13 +0,0 @@ -Support code for reading and manipulating hashed file storage (where -each file and directory is associated with a cryptographic hash, for -corruption-resistant storage and fast comparisons). - -The supported storage formats include darcs hashed pristine, a plain -filesystem tree and an indexed plain tree (where the index maintains -hashes of the plain files and directories). - -This requires ghc, haskell-binary, haskell-dataenc, haskell-mmap, -haskell-transformers, haskell-zlib, and haskell-mtl. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-hashed-storage/doinst.sh b/libraries/haskell-hashed-storage/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-hashed-storage/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-hashed-storage/haskell-hashed-storage.SlackBuild b/libraries/haskell-hashed-storage/haskell-hashed-storage.SlackBuild deleted file mode 100644 index f6e04cccd8..0000000000 --- a/libraries/haskell-hashed-storage/haskell-hashed-storage.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for hashed-storage - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-hashed-storage -VERSION=${VERSION:-0.5.4} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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 NEWS $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/libraries/haskell-hashed-storage/haskell-hashed-storage.info b/libraries/haskell-hashed-storage/haskell-hashed-storage.info deleted file mode 100644 index 9a6e8d4f5e..0000000000 --- a/libraries/haskell-hashed-storage/haskell-hashed-storage.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-hashed-storage" -VERSION="0.5.4" -HOMEPAGE="http://hackage.haskell.org/package/hashed-storage" -DOWNLOAD="http://hackage.haskell.org/packages/archive/hashed-storage/0.5.4/hashed-storage-0.5.4.tar.gz" -MD5SUM="e182a3fe6f977b0df85641da5df8e4f2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-hashed-storage/slack-desc b/libraries/haskell-hashed-storage/slack-desc deleted file mode 100644 index 82b57a0e6d..0000000000 --- a/libraries/haskell-hashed-storage/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-hashed-storage: haskell-hashed-storage (Hashed file storage support code) -haskell-hashed-storage: -haskell-hashed-storage: Support code for reading and manipulating hashed file storage (where -haskell-hashed-storage: each file and directory is associated with a cryptographic hash, for -haskell-hashed-storage: corruption-resistant storage and fast comparisons). -haskell-hashed-storage: -haskell-hashed-storage: The supported storage formats include darcs hashed pristine, a plain -haskell-hashed-storage: filesystem tree and an indexed plain tree (where the index maintains -haskell-hashed-storage: hashes of the plain files and directories). -haskell-hashed-storage: -haskell-hashed-storage: http://hackage.haskell.org/package/hashed-storage diff --git a/libraries/haskell-haskeline/README b/libraries/haskell-haskeline/README deleted file mode 100644 index 5ad216dcb7..0000000000 --- a/libraries/haskell-haskeline/README +++ /dev/null @@ -1,10 +0,0 @@ -Haskeline provides a user interface for line input in command-line -programs. This library is similar in purpose to readline, but since -it is written in Haskell, it is (hopefully) more easily used in other -Haskell programs. - -This requires ghc, haskell-transformers, haskell-mtl, -haskell-terminfo, and haskell-utf8-string. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-haskeline/doinst.sh b/libraries/haskell-haskeline/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-haskeline/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-haskeline/haskell-haskeline.SlackBuild b/libraries/haskell-haskeline/haskell-haskeline.SlackBuild deleted file mode 100644 index 87e07cc7dd..0000000000 --- a/libraries/haskell-haskeline/haskell-haskeline.SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# Slackware build script for haskeline - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-haskeline -VERSION=${VERSION:-0.6.3.2} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --flags="terminfo" - -runghc Setup.hs build -runghc Setup.hs haddock -runghc Setup.hs copy --destdir=$PKG -runghc Setup.hs 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 CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-haskeline/haskell-haskeline.info b/libraries/haskell-haskeline/haskell-haskeline.info deleted file mode 100644 index bd1dc3fd1f..0000000000 --- a/libraries/haskell-haskeline/haskell-haskeline.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-haskeline" -VERSION="0.6.3.2" -HOMEPAGE="http://hackage.haskell.org/package/haskeline" -DOWNLOAD="http://hackage.haskell.org/packages/archive/haskeline/0.6.3.2/haskeline-0.6.3.2.tar.gz" -MD5SUM="d75863f63a1cfb499d0198e4f28ac2af" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-haskeline/slack-desc b/libraries/haskell-haskeline/slack-desc deleted file mode 100644 index 2355477de4..0000000000 --- a/libraries/haskell-haskeline/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-haskeline: haskell-haskeline (A command-line interface for user input) -haskell-haskeline: -haskell-haskeline: Haskeline provides a user interface for line input in command-line -haskell-haskeline: programs. This library is similar in purpose to readline, but since -haskell-haskeline: it is written in Haskell it is (hopefully) more easily used in other -haskell-haskeline: Haskell programs. -haskell-haskeline: -haskell-haskeline: http://hackage.haskell.org/package/haskeline -haskell-haskeline: -haskell-haskeline: -haskell-haskeline: diff --git a/libraries/haskell-haskell-src/README b/libraries/haskell-haskell-src/README deleted file mode 100644 index 1d66af8621..0000000000 --- a/libraries/haskell-haskell-src/README +++ /dev/null @@ -1,7 +0,0 @@ -Facilities for manipulating Haskell source code: an abstract syntax, -lexer, parser, and pretty-printer. - -This requires ghc, happy, and haskell-syb. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-haskell-src/doinst.sh b/libraries/haskell-haskell-src/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-haskell-src/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-haskell-src/haskell-haskell-src.SlackBuild b/libraries/haskell-haskell-src/haskell-haskell-src.SlackBuild deleted file mode 100644 index 225878ade4..0000000000 --- a/libraries/haskell-haskell-src/haskell-haskell-src.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for haskell-src - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-haskell-src -VERSION=${VERSION:-1.0.1.4} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-haskell-src/haskell-haskell-src.info b/libraries/haskell-haskell-src/haskell-haskell-src.info deleted file mode 100644 index 63050d484c..0000000000 --- a/libraries/haskell-haskell-src/haskell-haskell-src.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-haskell-src" -VERSION="1.0.1.4" -HOMEPAGE="http://hackage.haskell.org/package/haskell-src" -DOWNLOAD="http://hackage.haskell.org/packages/archive/haskell-src/1.0.1.4/haskell-src-1.0.1.4.tar.gz" -MD5SUM="32d181c082393ab859e72610803bac6e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-haskell-src/slack-desc b/libraries/haskell-haskell-src/slack-desc deleted file mode 100644 index 07c6b40709..0000000000 --- a/libraries/haskell-haskell-src/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-haskell-src: haskell-haskell-src (Manipulating Haskell source code) -haskell-haskell-src: -haskell-haskell-src: Facilities for manipulating Haskell source code: an abstract syntax, -haskell-haskell-src: lexer, parser and pretty-printer. -haskell-haskell-src: -haskell-haskell-src: http://hackage.haskell.org/package/haskell-src -haskell-haskell-src: -haskell-haskell-src: -haskell-haskell-src: -haskell-haskell-src: -haskell-haskell-src: diff --git a/libraries/haskell-hinotify/README b/libraries/haskell-hinotify/README deleted file mode 100644 index 4b31faab0f..0000000000 --- a/libraries/haskell-hinotify/README +++ /dev/null @@ -1,8 +0,0 @@ -inotify provides file system event notification, simply add a watcher to -a file or directory and get an event when it is accessed or modified. -This package provides haskell bindings for inotify. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-hinotify/doinst.sh b/libraries/haskell-hinotify/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-hinotify/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-hinotify/haskell-hinotify.SlackBuild b/libraries/haskell-hinotify/haskell-hinotify.SlackBuild deleted file mode 100644 index 0374b97aea..0000000000 --- a/libraries/haskell-hinotify/haskell-hinotify.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for hinotify - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Modified by Andy Bailey (GooseYArd@gmail.com) for hinotify -# Public domain. - -SRCNAM=hinotify -PRGNAM=haskell-$SRCNAM -VERSION=${VERSION:-0.3.1} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -GHC_VERSION=$(ghc --numeric-version) - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) 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 \ - --enable-shared \ - --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 - -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 - -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-hinotify/haskell-hinotify.info b/libraries/haskell-hinotify/haskell-hinotify.info deleted file mode 100644 index 728dd9939d..0000000000 --- a/libraries/haskell-hinotify/haskell-hinotify.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-hinotify" -VERSION="0.3.1" -HOMEPAGE="http://hackage.haskell.org/package/hinotify" -DOWNLOAD="http://hackage.haskell.org/packages/archive/hinotify/0.3.1/hinotify-0.3.1.tar.gz" -MD5SUM="b24191dab428cd0bfb74af9f0ab68372" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Andy Bailey" -EMAIL="GooseYArd@gmail.com" -APPROVED="Erik Hanson" diff --git a/libraries/haskell-hinotify/slack-desc b/libraries/haskell-hinotify/slack-desc deleted file mode 100644 index a8d4c7b41f..0000000000 --- a/libraries/haskell-hinotify/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-hinotify: haskell-hinotify (file system event notifications) -haskell-hinotify: -haskell-hinotify: inotify provides file system event notification, simply add a watcher -haskell-hinotify: to a file or directory and get an event when it is accessed or -haskell-hinotify: modified. -haskell-hinotify: -haskell-hinotify: http://hackage.haskell.org/package/hinotify -haskell-hinotify: -haskell-hinotify: -haskell-hinotify: -haskell-hinotify: diff --git a/libraries/haskell-hostname/README b/libraries/haskell-hostname/README deleted file mode 100644 index 9dd0d404fc..0000000000 --- a/libraries/haskell-hostname/README +++ /dev/null @@ -1,7 +0,0 @@ -A very simple package providing a cross-platform means of -determining the hostname. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-hostname/doinst.sh b/libraries/haskell-hostname/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-hostname/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-hostname/haskell-hostname.SlackBuild b/libraries/haskell-hostname/haskell-hostname.SlackBuild deleted file mode 100644 index a818061962..0000000000 --- a/libraries/haskell-hostname/haskell-hostname.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for hostname - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-hostname -VERSION=${VERSION:-1.0} -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/libraries/haskell-hostname/haskell-hostname.info b/libraries/haskell-hostname/haskell-hostname.info deleted file mode 100644 index 029071f2bf..0000000000 --- a/libraries/haskell-hostname/haskell-hostname.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-hostname" -VERSION="1.0" -HOMEPAGE="http://hackage.haskell.org/package/hostname" -DOWNLOAD="http://hackage.haskell.org/packages/archive/hostname/1.0/hostname-1.0.tar.gz" -MD5SUM="9389c8634239e5d6096ef563e59a703f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-hostname/slack-desc b/libraries/haskell-hostname/slack-desc deleted file mode 100644 index c890efcd73..0000000000 --- a/libraries/haskell-hostname/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-hostname: haskell-hostname (cross-platform getHostName function for Haskell) -haskell-hostname: -haskell-hostname: A very simple package providing a cross-platform means of -haskell-hostname: determining the hostname. -haskell-hostname: -haskell-hostname: -haskell-hostname: -haskell-hostname: -haskell-hostname: -haskell-hostname: -haskell-hostname: diff --git a/libraries/haskell-html/README b/libraries/haskell-html/README deleted file mode 100644 index 05e7b5f4e4..0000000000 --- a/libraries/haskell-html/README +++ /dev/null @@ -1,7 +0,0 @@ -This package contains a combinator library for constructing HTML -documents in Haskell. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-html/doinst.sh b/libraries/haskell-html/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-html/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-html/haskell-html.SlackBuild b/libraries/haskell-html/haskell-html.SlackBuild deleted file mode 100644 index 5cfef04593..0000000000 --- a/libraries/haskell-html/haskell-html.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for html - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-html -VERSION=${VERSION:-1.0.1.2} -BUILD=${BUILD:-3} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-html/haskell-html.info b/libraries/haskell-html/haskell-html.info deleted file mode 100644 index b7f31a31be..0000000000 --- a/libraries/haskell-html/haskell-html.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-html" -VERSION="1.0.1.2" -HOMEPAGE="http://hackage.haskell.org/package/html" -DOWNLOAD="http://hackage.haskell.org/packages/archive/html/1.0.1.2/html-1.0.1.2.tar.gz" -MD5SUM="2a7de5a2af9a2f80d39825d6a95ee445" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-html/slack-desc b/libraries/haskell-html/slack-desc deleted file mode 100644 index 2503806572..0000000000 --- a/libraries/haskell-html/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-html: haskell-html (HTML combinator library) -haskell-html: -haskell-html: This package contains a combinator library for constructing HTML -haskell-html: documents. -haskell-html: -haskell-html: http://hackage.haskell.org/package/html -haskell-html: -haskell-html: -haskell-html: -haskell-html: -haskell-html: diff --git a/libraries/haskell-lcs/README b/libraries/haskell-lcs/README deleted file mode 100644 index c278761007..0000000000 --- a/libraries/haskell-lcs/README +++ /dev/null @@ -1,7 +0,0 @@ -Provides a function lcs that takes two lists and returns a longest -common sublist. For example, lcs abcd acbd is either abd or acd. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-lcs/doinst.sh b/libraries/haskell-lcs/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-lcs/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-lcs/haskell-lcs.SlackBuild b/libraries/haskell-lcs/haskell-lcs.SlackBuild deleted file mode 100644 index e64e8311d7..0000000000 --- a/libraries/haskell-lcs/haskell-lcs.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for lcs - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-lcs -VERSION=${VERSION:-0.2} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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 COPYING BSD3 GPL-2 $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/libraries/haskell-lcs/haskell-lcs.info b/libraries/haskell-lcs/haskell-lcs.info deleted file mode 100644 index 88788009f5..0000000000 --- a/libraries/haskell-lcs/haskell-lcs.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-lcs" -VERSION="0.2" -HOMEPAGE="http://hackage.haskell.org/package/lcs" -DOWNLOAD="http://hackage.haskell.org/packages/archive/lcs/0.2/lcs-0.2.tar.gz" -MD5SUM="2ef97e00291dde72248811581f997b66" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-lcs/slack-desc b/libraries/haskell-lcs/slack-desc deleted file mode 100644 index db55cdae26..0000000000 --- a/libraries/haskell-lcs/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-lcs: haskell-lcs (Find longest common sublist of two lists) -haskell-lcs: -haskell-lcs: Provides a function lcs that takes two lists and returns a longest -haskell-lcs: common sublist. For example, lcs abcd acbd is either abd or acd. -haskell-lcs: -haskell-lcs: http://hackage.haskell.org/package/lcs -haskell-lcs: -haskell-lcs: -haskell-lcs: -haskell-lcs: -haskell-lcs: diff --git a/libraries/haskell-mmap/README b/libraries/haskell-mmap/README deleted file mode 100644 index e4068c9ac1..0000000000 --- a/libraries/haskell-mmap/README +++ /dev/null @@ -1,10 +0,0 @@ -This library provides a wrapper to mmap(2) or MapViewOfFile, -allowing files or devices to be lazily loaded into memory as strict -or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual -memory subsystem to do on-demand loading. Modifications are also -supported. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-mmap/doinst.sh b/libraries/haskell-mmap/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-mmap/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-mmap/haskell-mmap.SlackBuild b/libraries/haskell-mmap/haskell-mmap.SlackBuild deleted file mode 100644 index afcfece329..0000000000 --- a/libraries/haskell-mmap/haskell-mmap.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for mmap - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-mmap -VERSION=${VERSION:-0.5.7} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-mmap/haskell-mmap.info b/libraries/haskell-mmap/haskell-mmap.info deleted file mode 100644 index b963a116e4..0000000000 --- a/libraries/haskell-mmap/haskell-mmap.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-mmap" -VERSION="0.5.7" -HOMEPAGE="http://hackage.haskell.org/package/mmap" -DOWNLOAD="http://hackage.haskell.org/packages/archive/mmap/0.5.7/mmap-0.5.7.tar.gz" -MD5SUM="1f74b3f59617332b06e277f5212423c1" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-mmap/slack-desc b/libraries/haskell-mmap/slack-desc deleted file mode 100644 index 05e473e92e..0000000000 --- a/libraries/haskell-mmap/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-mmap: haskell-mmap (Memory mapper for POSIX and Windows) -haskell-mmap: -haskell-mmap: This library provides a wrapper to mmap(2) or MapViewOfFile, -haskell-mmap: allowing files or devices to be lazily loaded into memory as strict -haskell-mmap: or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual -haskell-mmap: memory subsystem to do on-demand loading. Modifications are also -haskell-mmap: supported. -haskell-mmap: -haskell-mmap: http://hackage.haskell.org/package/mmap -haskell-mmap: -haskell-mmap: diff --git a/libraries/haskell-mtl/README b/libraries/haskell-mtl/README deleted file mode 100644 index 19cee88cbc..0000000000 --- a/libraries/haskell-mtl/README +++ /dev/null @@ -1,9 +0,0 @@ -A monad transformer library, inspired by the paper Functional -Programming with Overloading and Higher-Order Polymorphism, by Mark P -Jones , Advanced -School of Functional Programming, 1995. - -This requires ghc and haskell-transformers. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-mtl/doinst.sh b/libraries/haskell-mtl/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-mtl/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-mtl/haskell-mtl.SlackBuild b/libraries/haskell-mtl/haskell-mtl.SlackBuild deleted file mode 100644 index 4b1ae790af..0000000000 --- a/libraries/haskell-mtl/haskell-mtl.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for mtl - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-mtl -VERSION=${VERSION:-2.0.1.0} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-mtl/haskell-mtl.info b/libraries/haskell-mtl/haskell-mtl.info deleted file mode 100644 index 6caf0014e1..0000000000 --- a/libraries/haskell-mtl/haskell-mtl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-mtl" -VERSION="2.0.1.0" -HOMEPAGE="http://hackage.haskell.org/package/mtl" -DOWNLOAD="http://hackage.haskell.org/packages/archive/mtl/2.0.1.0/mtl-2.0.1.0.tar.gz" -MD5SUM="934fa813625ef7e88a6a96a09815ff95" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-mtl/slack-desc b/libraries/haskell-mtl/slack-desc deleted file mode 100644 index cdb67de0ec..0000000000 --- a/libraries/haskell-mtl/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-mtl: haskell-mtl (Monad transformer library) -haskell-mtl: -haskell-mtl: A monad transformer library, inspired by the paper Functional -haskell-mtl: Programming with Overloading and Higher-Order Polymorphism, by Mark -haskell-mtl: P Jones (http://web.cecs.pdx.edu/~mpj/pubs/springschool.html), -haskell-mtl: Advanced School of Functional Programming, 1995. -haskell-mtl: -haskell-mtl: http://hackage.haskell.org/package/mtl -haskell-mtl: -haskell-mtl: -haskell-mtl: diff --git a/libraries/haskell-network/README b/libraries/haskell-network/README deleted file mode 100644 index bb058c77ea..0000000000 --- a/libraries/haskell-network/README +++ /dev/null @@ -1,7 +0,0 @@ -Provides high level and low level interfaces for network client and -server programming in Haskell. Also URI interface is included. - -This requires ghc and haskell-parsec. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-network/doinst.sh b/libraries/haskell-network/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-network/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-network/haskell-network.SlackBuild b/libraries/haskell-network/haskell-network.SlackBuild deleted file mode 100644 index b080f41f38..0000000000 --- a/libraries/haskell-network/haskell-network.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for network - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-network -VERSION=${VERSION:-2.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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-network/haskell-network.info b/libraries/haskell-network/haskell-network.info deleted file mode 100644 index 3e23c53d60..0000000000 --- a/libraries/haskell-network/haskell-network.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-network" -VERSION="2.3" -HOMEPAGE="http://hackage.haskell.org/package/network" -DOWNLOAD="http://hackage.haskell.org/packages/archive/network/2.3/network-2.3.tar.gz" -MD5SUM="b43d48203617247f4b711375428df23e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-network/slack-desc b/libraries/haskell-network/slack-desc deleted file mode 100644 index c5d7ed76b2..0000000000 --- a/libraries/haskell-network/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-network: haskell-network (Networking-related facilities for Haskell) -haskell-network: -haskell-network: Provides high level and low level interfaces for network client and -haskell-network: server programming in Haskell. Also URI interface is included. -haskell-network: -haskell-network: http://hackage.haskell.org/package/network -haskell-network: -haskell-network: -haskell-network: -haskell-network: -haskell-network: diff --git a/libraries/haskell-packedstring/README b/libraries/haskell-packedstring/README deleted file mode 100644 index 75d8b860b7..0000000000 --- a/libraries/haskell-packedstring/README +++ /dev/null @@ -1,6 +0,0 @@ -Haskell packedstring library is deprecated and should not be used in new code. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-packedstring/doinst.sh b/libraries/haskell-packedstring/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-packedstring/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-packedstring/haskell-packedstring.SlackBuild b/libraries/haskell-packedstring/haskell-packedstring.SlackBuild deleted file mode 100644 index 297296b02b..0000000000 --- a/libraries/haskell-packedstring/haskell-packedstring.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for packedstring - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-packedstring -VERSION=${VERSION:-0.1.0.1} -BUILD=${BUILD:-3} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-packedstring/haskell-packedstring.info b/libraries/haskell-packedstring/haskell-packedstring.info deleted file mode 100644 index e83b3acb64..0000000000 --- a/libraries/haskell-packedstring/haskell-packedstring.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-packedstring" -VERSION="0.1.0.1" -HOMEPAGE="http://hackage.haskell.org/package/packedstring" -DOWNLOAD="http://hackage.haskell.org/packages/archive/packedstring/0.1.0.1/packedstring-0.1.0.1.tar.gz" -MD5SUM="ea0bdcb92f4c5bd78ac8bb7a654fcfb2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-packedstring/slack-desc b/libraries/haskell-packedstring/slack-desc deleted file mode 100644 index 0ec3e9268c..0000000000 --- a/libraries/haskell-packedstring/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-packedstring: haskell-packedstring (Packed Strings for Haskell) -haskell-packedstring: -haskell-packedstring: This library is deprecated and should not be used in new code. -haskell-packedstring: -haskell-packedstring: http://hackage.haskell.org/package/packedstring -haskell-packedstring: -haskell-packedstring: -haskell-packedstring: -haskell-packedstring: -haskell-packedstring: -haskell-packedstring: diff --git a/libraries/haskell-parallel/README b/libraries/haskell-parallel/README deleted file mode 100644 index 4a6738c63f..0000000000 --- a/libraries/haskell-parallel/README +++ /dev/null @@ -1,6 +0,0 @@ -This package provides a library for parallel programming in Haskell. - -This requires ghc and haskell-deepseq. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-parallel/doinst.sh b/libraries/haskell-parallel/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-parallel/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-parallel/haskell-parallel.SlackBuild b/libraries/haskell-parallel/haskell-parallel.SlackBuild deleted file mode 100644 index 7197ad0baf..0000000000 --- a/libraries/haskell-parallel/haskell-parallel.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for parallel - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-parallel -VERSION=${VERSION:-3.1.0.1} -BUILD=${BUILD:-2} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-parallel/haskell-parallel.info b/libraries/haskell-parallel/haskell-parallel.info deleted file mode 100644 index 8b314e825d..0000000000 --- a/libraries/haskell-parallel/haskell-parallel.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-parallel" -VERSION="3.1.0.1" -HOMEPAGE="http://hackage.haskell.org/package/parallel" -DOWNLOAD="http://hackage.haskell.org/packages/archive/parallel/3.1.0.1/parallel-3.1.0.1.tar.gz" -MD5SUM="591979e7897dbc09157edf73a4614957" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-parallel/slack-desc b/libraries/haskell-parallel/slack-desc deleted file mode 100644 index 4c64d75925..0000000000 --- a/libraries/haskell-parallel/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-parallel: haskell-parallel (Parallel programming library for Haskell) -haskell-parallel: -haskell-parallel: This package provides a library for parallel programming. -haskell-parallel: -haskell-parallel: http://hackage.haskell.org/package/parallel -haskell-parallel: -haskell-parallel: -haskell-parallel: -haskell-parallel: -haskell-parallel: -haskell-parallel: diff --git a/libraries/haskell-parsec/README b/libraries/haskell-parsec/README deleted file mode 100644 index 04dfcedd2a..0000000000 --- a/libraries/haskell-parsec/README +++ /dev/null @@ -1,10 +0,0 @@ -Parsec is designed from scratch as an industrial-strength parser -library. It is simple, safe, well documented, has extensive -libraries and good error messages, and is also fast. It is defined -as a monad transformer that can be stacked on arbitrary monads, and -it is also parametric in the input stream type. - -This requires ghc, haskell-transformers, haskell-mtl, and haskell-syb. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-parsec/doinst.sh b/libraries/haskell-parsec/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-parsec/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-parsec/haskell-parsec.SlackBuild b/libraries/haskell-parsec/haskell-parsec.SlackBuild deleted file mode 100644 index 94a66d7bd6..0000000000 --- a/libraries/haskell-parsec/haskell-parsec.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for parsec - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-parsec -VERSION=${VERSION:-3.1.0} -BUILD=${BUILD:-2} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-parsec/haskell-parsec.info b/libraries/haskell-parsec/haskell-parsec.info deleted file mode 100644 index 9d6204f77d..0000000000 --- a/libraries/haskell-parsec/haskell-parsec.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-parsec" -VERSION="3.1.0" -HOMEPAGE="http://hackage.haskell.org/package/parsec" -DOWNLOAD="http://hackage.haskell.org/packages/archive/parsec/3.1.0/parsec-3.1.0.tar.gz" -MD5SUM="310bf233dcf8ec678c427b1198700b53" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-parsec/slack-desc b/libraries/haskell-parsec/slack-desc deleted file mode 100644 index a4d4ff6689..0000000000 --- a/libraries/haskell-parsec/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-parsec: haskell-parsec (Monadic parser combinators for Haskell) -haskell-parsec: -haskell-parsec: Parsec is designed from scratch as an industrial-strength parser -haskell-parsec: library. It is simple, safe, well documented, has extensive -haskell-parsec: libraries and good error messages, and is also fast. It is defined -haskell-parsec: as a monad transformer that can be stacked on arbitrary monads, and -haskell-parsec: it is also parametric in the input stream type. -haskell-parsec: -haskell-parsec: http://hackage.haskell.org/package/parsec -haskell-parsec: -haskell-parsec: diff --git a/libraries/haskell-regex-base/README b/libraries/haskell-regex-base/README deleted file mode 100644 index b5cd3a4dfb..0000000000 --- a/libraries/haskell-regex-base/README +++ /dev/null @@ -1,6 +0,0 @@ -Haskell interface API for regex-posix, pcre, parsec, tdfa, dfa. - -This requires ghc, haskell-transformers, and haskell-mtl. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-regex-base/doinst.sh b/libraries/haskell-regex-base/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-regex-base/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-regex-base/haskell-regex-base.SlackBuild b/libraries/haskell-regex-base/haskell-regex-base.SlackBuild deleted file mode 100644 index af06029550..0000000000 --- a/libraries/haskell-regex-base/haskell-regex-base.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for regex-base - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-regex-base -VERSION=${VERSION:-0.93.2} -BUILD=${BUILD:-2} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-regex-base/haskell-regex-base.info b/libraries/haskell-regex-base/haskell-regex-base.info deleted file mode 100644 index 42578be82e..0000000000 --- a/libraries/haskell-regex-base/haskell-regex-base.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-regex-base" -VERSION="0.93.2" -HOMEPAGE="http://hackage.haskell.org/package/regex-base" -DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-base/0.93.2/regex-base-0.93.2.tar.gz" -MD5SUM="e7b93b0b17eff8d3068ecb2f5d5f6ea3" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-regex-base/slack-desc b/libraries/haskell-regex-base/slack-desc deleted file mode 100644 index 85436d8c4e..0000000000 --- a/libraries/haskell-regex-base/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-regex-base: haskell-regex-base (Replaces/Enhances Text.Regex Haskell library) -haskell-regex-base: -haskell-regex-base: Interface API for regex-posix, pcre, parsec, tdfa, dfa. -haskell-regex-base: -haskell-regex-base: http://hackage.haskell.org/package/regex-base -haskell-regex-base: -haskell-regex-base: -haskell-regex-base: -haskell-regex-base: -haskell-regex-base: -haskell-regex-base: diff --git a/libraries/haskell-regex-compat/README b/libraries/haskell-regex-compat/README deleted file mode 100644 index 2246bedbc7..0000000000 --- a/libraries/haskell-regex-compat/README +++ /dev/null @@ -1,6 +0,0 @@ -A module layer over haskell-regex-posix to replace Text.Regex. - -This requires ghc and haskell-regex-posix. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-regex-compat/doinst.sh b/libraries/haskell-regex-compat/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-regex-compat/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild b/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild deleted file mode 100644 index 5e0c3126fb..0000000000 --- a/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for regex-compat - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-regex-compat -VERSION=${VERSION:-0.93.1} -BUILD=${BUILD:-2} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-regex-compat/haskell-regex-compat.info b/libraries/haskell-regex-compat/haskell-regex-compat.info deleted file mode 100644 index 2033a4b239..0000000000 --- a/libraries/haskell-regex-compat/haskell-regex-compat.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-regex-compat" -VERSION="0.93.1" -HOMEPAGE="http://hackage.haskell.org/package/regex-compat" -DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-compat/0.93.1/regex-compat-0.93.1.tar.gz" -MD5SUM="d6becec95ea8098cab663116fdce60a5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-regex-compat/slack-desc b/libraries/haskell-regex-compat/slack-desc deleted file mode 100644 index 32da5c586d..0000000000 --- a/libraries/haskell-regex-compat/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-regex-compat: haskell-regex-compat (Replaces/Enhances Text.Regex Haskell library) -haskell-regex-compat: -haskell-regex-compat: One module layer over regex-posix to replace Text.Regex. -haskell-regex-compat: -haskell-regex-compat: http://hackage.haskell.org/package/regex-compat -haskell-regex-compat: -haskell-regex-compat: -haskell-regex-compat: -haskell-regex-compat: -haskell-regex-compat: -haskell-regex-compat: diff --git a/libraries/haskell-regex-posix/README b/libraries/haskell-regex-posix/README deleted file mode 100644 index f305a9cb43..0000000000 --- a/libraries/haskell-regex-posix/README +++ /dev/null @@ -1,6 +0,0 @@ -The posix regex backend for haskell-regex-base. - -This requires ghc and haskell-regex-base. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-regex-posix/doinst.sh b/libraries/haskell-regex-posix/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-regex-posix/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild b/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild deleted file mode 100644 index 9289670bfa..0000000000 --- a/libraries/haskell-regex-posix/haskell-regex-posix.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for regex-posix - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-regex-posix -VERSION=${VERSION:-0.94.4} -BUILD=${BUILD:-2} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-regex-posix/haskell-regex-posix.info b/libraries/haskell-regex-posix/haskell-regex-posix.info deleted file mode 100644 index 2fdec4c5ab..0000000000 --- a/libraries/haskell-regex-posix/haskell-regex-posix.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-regex-posix" -VERSION="0.94.4" -HOMEPAGE="http://hackage.haskell.org/package/regex-posix" -DOWNLOAD="http://hackage.haskell.org/packages/archive/regex-posix/0.94.4/regex-posix-0.94.4.tar.gz" -MD5SUM="c28a13e8329e93a19bbb51708bf64abb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-regex-posix/slack-desc b/libraries/haskell-regex-posix/slack-desc deleted file mode 100644 index 6e5acd8226..0000000000 --- a/libraries/haskell-regex-posix/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-regex-posix: haskell-regex-posix (Replaces/Enhances Text.Regex Haskell library) -haskell-regex-posix: -haskell-regex-posix: The posix regex backend for regex-base. -haskell-regex-posix: -haskell-regex-posix: http://hackage.haskell.org/package/regex-posix -haskell-regex-posix: -haskell-regex-posix: -haskell-regex-posix: -haskell-regex-posix: -haskell-regex-posix: -haskell-regex-posix: diff --git a/libraries/haskell-stm/README b/libraries/haskell-stm/README deleted file mode 100644 index 1ef22a9627..0000000000 --- a/libraries/haskell-stm/README +++ /dev/null @@ -1,6 +0,0 @@ -A modular composable concurrency abstraction for Haskell. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-stm/doinst.sh b/libraries/haskell-stm/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-stm/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-stm/haskell-stm.SlackBuild b/libraries/haskell-stm/haskell-stm.SlackBuild deleted file mode 100644 index 8d316e196d..0000000000 --- a/libraries/haskell-stm/haskell-stm.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for stm - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-stm -VERSION=${VERSION:-2.2.0.1} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-stm/haskell-stm.info b/libraries/haskell-stm/haskell-stm.info deleted file mode 100644 index 2908be0eaf..0000000000 --- a/libraries/haskell-stm/haskell-stm.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-stm" -VERSION="2.2.0.1" -HOMEPAGE="http://hackage.haskell.org/package/stm" -DOWNLOAD="http://hackage.haskell.org/packages/archive/stm/2.2.0.1/stm-2.2.0.1.tar.gz" -MD5SUM="b1cf03ed315e00c33160746feeee8682" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-stm/slack-desc b/libraries/haskell-stm/slack-desc deleted file mode 100644 index 8056e65699..0000000000 --- a/libraries/haskell-stm/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-stm: haskell-stm (Software Transactional Memory for Haskell) -haskell-stm: -haskell-stm: A modular composable concurrency abstraction. -haskell-stm: -haskell-stm: http://hackage.haskell.org/package/stm -haskell-stm: -haskell-stm: -haskell-stm: -haskell-stm: -haskell-stm: -haskell-stm: diff --git a/libraries/haskell-syb/README b/libraries/haskell-syb/README deleted file mode 100644 index 71987b1aac..0000000000 --- a/libraries/haskell-syb/README +++ /dev/null @@ -1,10 +0,0 @@ -Syb Haskell library contains the generics system described in the -Scrap Your Boilerplate papers. It defines the Data class of types -permitting folding and unfolding of constructor applications, -instances of this class for primitive types, and a variety of -traversals. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-syb/doinst.sh b/libraries/haskell-syb/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-syb/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-syb/haskell-syb.SlackBuild b/libraries/haskell-syb/haskell-syb.SlackBuild deleted file mode 100644 index 920ca1433e..0000000000 --- a/libraries/haskell-syb/haskell-syb.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for syb - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-syb -VERSION=${VERSION:-0.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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-syb/haskell-syb.info b/libraries/haskell-syb/haskell-syb.info deleted file mode 100644 index d236c25495..0000000000 --- a/libraries/haskell-syb/haskell-syb.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-syb" -VERSION="0.3" -HOMEPAGE="http://hackage.haskell.org/package/syb" -DOWNLOAD="http://hackage.haskell.org/packages/archive/syb/0.3/syb-0.3.tar.gz" -MD5SUM="c4f6771fa32d467a029e6e813757a9fe" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-syb/slack-desc b/libraries/haskell-syb/slack-desc deleted file mode 100644 index 928dd73678..0000000000 --- a/libraries/haskell-syb/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-syb: haskell-syb (Scrap Your Boilerplate) -haskell-syb: -haskell-syb: Syb Haskell library contains the generics system described in the -haskell-syb: Scrap Your Boilerplate papers. It defines the Data class of types -haskell-syb: permitting folding and unfolding of constructor applications, -haskell-syb: instances of this class for primitive types, and a variety of -haskell-syb: traversals. -haskell-syb: -haskell-syb: Homepage: http://hackage.haskell.org/package/syb -haskell-syb: -haskell-syb: diff --git a/libraries/haskell-tar/README b/libraries/haskell-tar/README deleted file mode 100644 index 4319cdf917..0000000000 --- a/libraries/haskell-tar/README +++ /dev/null @@ -1,11 +0,0 @@ -This library is for working with ".tar" archive files. It can read and -write a range of common variations of archive format including V7, -USTAR, POSIX and GNU formats. It provides support for packing and -unpacking portable archives. This makes it suitable for distribution -but not backup because details like file ownership and exact -permissions are not preserved. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-tar/doinst.sh b/libraries/haskell-tar/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-tar/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-tar/haskell-tar.SlackBuild b/libraries/haskell-tar/haskell-tar.SlackBuild deleted file mode 100644 index f15e53fe4b..0000000000 --- a/libraries/haskell-tar/haskell-tar.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for tar - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-tar -VERSION=${VERSION:-0.3.1.0} -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/libraries/haskell-tar/haskell-tar.info b/libraries/haskell-tar/haskell-tar.info deleted file mode 100644 index 0c19b1d004..0000000000 --- a/libraries/haskell-tar/haskell-tar.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-tar" -VERSION="0.3.1.0" -HOMEPAGE="http://hackage.haskell.org/package/tar" -DOWNLOAD="http://hackage.haskell.org/packages/archive/tar/0.3.1.0/tar-0.3.1.0.tar.gz" -MD5SUM="10b54856495f9ef0a42aa270085c7d5e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-tar/slack-desc b/libraries/haskell-tar/slack-desc deleted file mode 100644 index 919123e442..0000000000 --- a/libraries/haskell-tar/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-tar: haskell-tar (Reading, writing and manipulating ".tar" archive files) -haskell-tar: -haskell-tar: This library is for working with ".tar" archive files. It can read -haskell-tar: and write a range of common variations of archive format including -haskell-tar: V7, USTAR, POSIX and GNU formats. It provides support for packing -haskell-tar: and unpacking portable archives. This makes it suitable for -haskell-tar: distribution but not backup because details like file ownership and -haskell-tar: exact permissions are not preserved. -haskell-tar: -haskell-tar: http://hackage.haskell.org/package/tar -haskell-tar: diff --git a/libraries/haskell-terminfo/README b/libraries/haskell-terminfo/README deleted file mode 100644 index c06fe50398..0000000000 --- a/libraries/haskell-terminfo/README +++ /dev/null @@ -1,9 +0,0 @@ -This library provides an Haskell interface to the terminfo database -(via bindings to the curses library). Terminfo allows POSIX systems -to interact with a variety of terminals using a standard set of -capabilities. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-terminfo/doinst.sh b/libraries/haskell-terminfo/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-terminfo/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-terminfo/haskell-terminfo.SlackBuild b/libraries/haskell-terminfo/haskell-terminfo.SlackBuild deleted file mode 100644 index e30133bffe..0000000000 --- a/libraries/haskell-terminfo/haskell-terminfo.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for terminfo - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-terminfo -VERSION=${VERSION:-0.3.1.3} -BUILD=${BUILD:-2} -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-terminfo/haskell-terminfo.info b/libraries/haskell-terminfo/haskell-terminfo.info deleted file mode 100644 index 3a107b1f8c..0000000000 --- a/libraries/haskell-terminfo/haskell-terminfo.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-terminfo" -VERSION="0.3.1.3" -HOMEPAGE="http://hackage.haskell.org/package/terminfo" -DOWNLOAD="http://hackage.haskell.org/packages/archive/terminfo/0.3.1.3/terminfo-0.3.1.3.tar.gz" -MD5SUM="8c0e052340f628b76f5687fa23379628" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-terminfo/slack-desc b/libraries/haskell-terminfo/slack-desc deleted file mode 100644 index 5fecdcec25..0000000000 --- a/libraries/haskell-terminfo/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-terminfo: haskell-terminfo (Haskell bindings to the terminfo library) -haskell-terminfo: -haskell-terminfo: This library provides an interface to the terminfo database (via -haskell-terminfo: bindings to the curses library). Terminfo allows POSIX systems to -haskell-terminfo: interact with a variety of terminals using a standard set of -haskell-terminfo: capabilities. -haskell-terminfo: -haskell-terminfo: http://hackage.haskell.org/package/terminfo -haskell-terminfo: -haskell-terminfo: -haskell-terminfo: diff --git a/libraries/haskell-texmath/README b/libraries/haskell-texmath/README deleted file mode 100644 index 2ea3bf86a3..0000000000 --- a/libraries/haskell-texmath/README +++ /dev/null @@ -1,8 +0,0 @@ -This is a library for Haskell programs, providing functions to convert LaTeX -math formulas to presentation MathML. It supports basic LaTeX and AMS -extensions, but not macros. - -This requires ghc, haskell-parsec and haskell-xml. - -When uninstalling, run the following command to unregister the package -from the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-texmath/doinst.sh b/libraries/haskell-texmath/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-texmath/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-texmath/haskell-texmath.SlackBuild b/libraries/haskell-texmath/haskell-texmath.SlackBuild deleted file mode 100644 index cf3d1299c7..0000000000 --- a/libraries/haskell-texmath/haskell-texmath.SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -# Slackware build script for texmath - -# Written by Peter Wang -# Public domain. - -SRCNAM=texmath -PRGNAM=haskell-$SRCNAM -VERSION=${VERSION:-0.3.0.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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 # Exit on most errors - -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 {} \; - -# Remove false dependency on utf8-string (only for a sample CGI script). -patch -p1 < $CWD/texmath-utf8.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -runghc Setup.hs 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 - -# Remove test data. -rm -r $PKG/usr/share - -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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-texmath/haskell-texmath.info b/libraries/haskell-texmath/haskell-texmath.info deleted file mode 100644 index a4e4ec8ec3..0000000000 --- a/libraries/haskell-texmath/haskell-texmath.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-texmath" -VERSION="0.3.0.1" -HOMEPAGE="http://hackage.haskell.org/package/texmath" -DOWNLOAD="http://hackage.haskell.org/packages/archive/texmath/0.3.0.1/texmath-0.3.0.1.tar.gz" -MD5SUM="f2ec771aaae9e678bf9106fe161efb85" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Peter Wang" -EMAIL="novalazy@gmail.com" -APPROVED="dsomero" diff --git a/libraries/haskell-texmath/slack-desc b/libraries/haskell-texmath/slack-desc deleted file mode 100644 index ccfd1d3913..0000000000 --- a/libraries/haskell-texmath/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-texmath: haskell-texmath (Conversion of LaTeX math formulas to MathML) -haskell-texmath: -haskell-texmath: This is a library for Haskell programs, providing functions to -haskell-texmath: convert LaTeX math formulas to presentation MathML. It supports -haskell-texmath: basic LaTeX and AMS extensions, but not macros. -haskell-texmath: -haskell-texmath: http://hackage.haskell.org/package/texmath -haskell-texmath: -haskell-texmath: -haskell-texmath: -haskell-texmath: diff --git a/libraries/haskell-texmath/texmath-utf8.patch b/libraries/haskell-texmath/texmath-utf8.patch deleted file mode 100644 index ab5fcf2bf0..0000000000 --- a/libraries/haskell-texmath/texmath-utf8.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: John MacFarlane -Date: Thu, 22 Jul 2010 19:11:14 -0700 -Subject: [PATCH] Put utf8-string dependency in right place. - ---- - texmath.cabal | 3 +-- - 1 files changed, 1 insertions(+), 2 deletions(-) - -diff --git a/texmath.cabal b/texmath.cabal -index f14d7dc..ad83d05 100644 ---- a/texmath.cabal -+++ b/texmath.cabal -@@ -77,11 +77,10 @@ Executable testTeXMathML - - Executable texmath-cgi - Main-is: cgi/texmath-cgi.hs -- Build-depends: utf8-string - Ghc-Options: -Wall -fno-warn-unused-do-bind - Ghc-Prof-Options: -auto-all - if flag(cgi) - Buildable: True -- Build-depends: cgi, json -+ Build-depends: cgi, json, utf8-string - else - Buildable: False --- -1.7.1 - diff --git a/libraries/haskell-text/README b/libraries/haskell-text/README deleted file mode 100644 index 2d3b2ea8de..0000000000 --- a/libraries/haskell-text/README +++ /dev/null @@ -1,7 +0,0 @@ -An efficient packed, immutable Unicode text type for Haskell -programs. - -This requires ghc and haskell-deepseq. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-text/doinst.sh b/libraries/haskell-text/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-text/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-text/haskell-text.SlackBuild b/libraries/haskell-text/haskell-text.SlackBuild deleted file mode 100644 index 313c732263..0000000000 --- a/libraries/haskell-text/haskell-text.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for text - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-text -VERSION=${VERSION:-0.11.0.1} -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 README.markdown $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/libraries/haskell-text/haskell-text.info b/libraries/haskell-text/haskell-text.info deleted file mode 100644 index e2b328790d..0000000000 --- a/libraries/haskell-text/haskell-text.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-text" -VERSION="0.11.0.1" -HOMEPAGE="http://hackage.haskell.org/package/text" -DOWNLOAD="http://hackage.haskell.org/packages/archive/text/0.11.0.1/text-0.11.0.1.tar.gz" -MD5SUM="a073c64255b1e497a9689b2fc408772c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" diff --git a/libraries/haskell-text/slack-desc b/libraries/haskell-text/slack-desc deleted file mode 100644 index 22298daaeb..0000000000 --- a/libraries/haskell-text/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-text: haskell-text (Fast, packed Unicode strings, using stream fusion) -haskell-text: -haskell-text: This package provides the Data.Text library, a library for the -haskell-text: space-and time-efficient manipulation of Unicode text in Haskell. -haskell-text: -haskell-text: -haskell-text: -haskell-text: -haskell-text: -haskell-text: -haskell-text: diff --git a/libraries/haskell-transformers/README b/libraries/haskell-transformers/README deleted file mode 100644 index 786e1f6189..0000000000 --- a/libraries/haskell-transformers/README +++ /dev/null @@ -1,10 +0,0 @@ -This part contains the monad transformer class, the concrete monad -transformers, operations and liftings. It can be used on its own in -Haskell 98 code, or with the monad classes in the monads-fd or -monads-tf packages, which automatically lift operations introduced -by monad transformers through other transformers. - -This requires ghc. - -After uninstalling, run this command to unregister the package from -the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-transformers/doinst.sh b/libraries/haskell-transformers/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-transformers/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-transformers/haskell-transformers.SlackBuild b/libraries/haskell-transformers/haskell-transformers.SlackBuild deleted file mode 100644 index c1a04682d0..0000000000 --- a/libraries/haskell-transformers/haskell-transformers.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for transformers - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-transformers -VERSION=${VERSION:-0.2.2.0} -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.hs configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \ - --enable-shared \ - --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 - -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/libraries/haskell-transformers/haskell-transformers.info b/libraries/haskell-transformers/haskell-transformers.info deleted file mode 100644 index 62d6f8756c..0000000000 --- a/libraries/haskell-transformers/haskell-transformers.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-transformers" -VERSION="0.2.2.0" -HOMEPAGE="http://hackage.haskell.org/package/transformers" -DOWNLOAD="http://hackage.haskell.org/packages/archive/transformers/0.2.2.0/transformers-0.2.2.0.tar.gz" -MD5SUM="3470ac66116900cd1ba84d3744474e49" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-transformers/slack-desc b/libraries/haskell-transformers/slack-desc deleted file mode 100644 index 8c1bf1a8eb..0000000000 --- a/libraries/haskell-transformers/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-transformers: haskell-transformers (Concrete functor and monad transformers) -haskell-transformers: -haskell-transformers: This part contains the monad transformer class, the concrete monad -haskell-transformers: transformers, operations and liftings. It can be used on its own in -haskell-transformers: Haskell 98 code, or with the monad classes in the monads-fd or -haskell-transformers: monads-tf packages, which automatically lift operations introduced -haskell-transformers: by monad transformers through other transformers. -haskell-transformers: -haskell-transformers: Homepage: http://hackage.haskell.org/package/transformers -haskell-transformers: -haskell-transformers: diff --git a/libraries/haskell-utf8-string/README b/libraries/haskell-utf8-string/README deleted file mode 100644 index b138b17ef6..0000000000 --- a/libraries/haskell-utf8-string/README +++ /dev/null @@ -1,5 +0,0 @@ -A UTF8 layer for IO and Strings. The utf8-string package provides -operations for encoding UTF8 strings to Word8 lists and back, and -for reading and writing UTF8 without truncation. - -This requires ghc. diff --git a/libraries/haskell-utf8-string/doinst.sh b/libraries/haskell-utf8-string/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-utf8-string/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild b/libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild deleted file mode 100644 index 29d37a815e..0000000000 --- a/libraries/haskell-utf8-string/haskell-utf8-string.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for utf8-string - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-utf8-string -VERSION=${VERSION:-0.3.6} -BUILD=${BUILD:-2} -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/libraries/haskell-utf8-string/haskell-utf8-string.info b/libraries/haskell-utf8-string/haskell-utf8-string.info deleted file mode 100644 index 2d5d86647f..0000000000 --- a/libraries/haskell-utf8-string/haskell-utf8-string.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-utf8-string" -VERSION="0.3.6" -HOMEPAGE="http://hackage.haskell.org/package/utf8-string" -DOWNLOAD="http://hackage.haskell.org/packages/archive/utf8-string/0.3.6/utf8-string-0.3.6.tar.gz" -MD5SUM="be8c5ef52a0824babdc89d60c1e9b600" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-utf8-string/slack-desc b/libraries/haskell-utf8-string/slack-desc deleted file mode 100644 index d116c5dae0..0000000000 --- a/libraries/haskell-utf8-string/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-utf8-string: haskell-utf8-string (Support for reading and writing UTF8 Strings) -haskell-utf8-string: -haskell-utf8-string: A UTF8 layer for IO and Strings. The utf8-string package provides -haskell-utf8-string: operations for encoding UTF8 strings to Word8 lists and back, and -haskell-utf8-string: for reading and writing UTF8 without truncation. -haskell-utf8-string: -haskell-utf8-string: Homepage: http://hackage.haskell.org/package/utf8-string -haskell-utf8-string: -haskell-utf8-string: -haskell-utf8-string: -haskell-utf8-string: diff --git a/libraries/haskell-xhtml/README b/libraries/haskell-xhtml/README deleted file mode 100644 index c3719d151c..0000000000 --- a/libraries/haskell-xhtml/README +++ /dev/null @@ -1,7 +0,0 @@ -This package provides combinators for producing XHTML 1.0, including -the Strict, Transitional and Frameset variants, in Haskell. - -This requires ghc. - -After uninstalling, run this command to unregister the package from the ghc -package database: ghc-pkg recache diff --git a/libraries/haskell-xhtml/doinst.sh b/libraries/haskell-xhtml/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-xhtml/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-xhtml/haskell-xhtml.SlackBuild b/libraries/haskell-xhtml/haskell-xhtml.SlackBuild deleted file mode 100644 index 288b27183f..0000000000 --- a/libraries/haskell-xhtml/haskell-xhtml.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for xhtml - -# Written by Mikko Värri (vmj@linuxbox.fi) -# Public domain. - -PRGNAM=haskell-xhtml -VERSION=${VERSION:-3000.2.0.1} -BUILD=${BUILD:-3} -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.hs 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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-xhtml/haskell-xhtml.info b/libraries/haskell-xhtml/haskell-xhtml.info deleted file mode 100644 index 10f86c2f6f..0000000000 --- a/libraries/haskell-xhtml/haskell-xhtml.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-xhtml" -VERSION="3000.2.0.1" -HOMEPAGE="http://hackage.haskell.org/package/xhtml" -DOWNLOAD="http://hackage.haskell.org/packages/archive/xhtml/3000.2.0.1/xhtml-3000.2.0.1.tar.gz" -MD5SUM="9e3e7d9c66618c5e29716f90e54363c9" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-xhtml/slack-desc b/libraries/haskell-xhtml/slack-desc deleted file mode 100644 index aa97695606..0000000000 --- a/libraries/haskell-xhtml/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-xhtml: haskell-xhtml (An XHTML combinator library for Haskell) -haskell-xhtml: -haskell-xhtml: This package provides combinators for producing XHTML 1.0, including -haskell-xhtml: the Strict, Transitional and Frameset variants. -haskell-xhtml: -haskell-xhtml: http://hackage.haskell.org/package/xhtml -haskell-xhtml: -haskell-xhtml: -haskell-xhtml: -haskell-xhtml: -haskell-xhtml: diff --git a/libraries/haskell-xml/README b/libraries/haskell-xml/README deleted file mode 100644 index ee185c420a..0000000000 --- a/libraries/haskell-xml/README +++ /dev/null @@ -1,6 +0,0 @@ -A simple XML library for Haskell programs. - -This requires ghc. - -When uninstalling, run the following command to unregister the package -from the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-xml/doinst.sh b/libraries/haskell-xml/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-xml/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-xml/haskell-xml.SlackBuild b/libraries/haskell-xml/haskell-xml.SlackBuild deleted file mode 100644 index 9660d06a13..0000000000 --- a/libraries/haskell-xml/haskell-xml.SlackBuild +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh - -# Slackware build script for xml - -# Written by Peter Wang -# Public domain. - -SRCNAM=xml -PRGNAM=haskell-$SRCNAM -VERSION=${VERSION:-1.3.7} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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 # Exit on most errors - -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.hs 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 - -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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-xml/haskell-xml.info b/libraries/haskell-xml/haskell-xml.info deleted file mode 100644 index e4dca3c40b..0000000000 --- a/libraries/haskell-xml/haskell-xml.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-xml" -VERSION="1.3.7" -HOMEPAGE="http://hackage.haskell.org/package/xml" -DOWNLOAD="http://hackage.haskell.org/packages/archive/xml/1.3.7/xml-1.3.7.tar.gz" -MD5SUM="fc2d7e1a321b4393dd444b16ab6ba669" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Peter Wang" -EMAIL="novalazy@gmail.com" -APPROVED="dsomero" diff --git a/libraries/haskell-xml/slack-desc b/libraries/haskell-xml/slack-desc deleted file mode 100644 index 58daafdaec..0000000000 --- a/libraries/haskell-xml/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-xml: haskell-xml (XML library for Haskell) -haskell-xml: -haskell-xml: A simple XML library for Haskell programs. -haskell-xml: -haskell-xml: http://hackage.haskell.org/package/xml -haskell-xml: -haskell-xml: -haskell-xml: -haskell-xml: -haskell-xml: -haskell-xml: diff --git a/libraries/haskell-zip-archive/README b/libraries/haskell-zip-archive/README deleted file mode 100644 index 20bbea1999..0000000000 --- a/libraries/haskell-zip-archive/README +++ /dev/null @@ -1,8 +0,0 @@ -This is a library for Haskell programs. It provides functions for -creating, modifying, and extracting files from zip archives. - -This requires ghc, haskell-binary, haskell-transformers, haskell-mtl, -haskell-digest, haskell-zlib, and haskell-utf8-string. - -After uninstalling, run the following command to unregister the package -from the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-zip-archive/doinst.sh b/libraries/haskell-zip-archive/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-zip-archive/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild b/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild deleted file mode 100644 index 56955f12c9..0000000000 --- a/libraries/haskell-zip-archive/haskell-zip-archive.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for zip-archive - -# Written by Peter Wang -# Modified by Mikko Värri -# Public domain. - -PRGNAM=haskell-zip-archive -VERSION=${VERSION:-0.1.1.6} -BUILD=${BUILD:-2} -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 # Exit on most errors - -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 \ - --enable-shared \ - --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 - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-zip-archive/haskell-zip-archive.info b/libraries/haskell-zip-archive/haskell-zip-archive.info deleted file mode 100644 index eab4ad52be..0000000000 --- a/libraries/haskell-zip-archive/haskell-zip-archive.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-zip-archive" -VERSION="0.1.1.6" -HOMEPAGE="http://hackage.haskell.org/package/zip-archive" -DOWNLOAD="http://hackage.haskell.org/packages/archive/zip-archive/0.1.1.6/zip-archive-0.1.1.6.tar.gz" -MD5SUM="4806077be79ecb5486306432ee93e38d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-zip-archive/slack-desc b/libraries/haskell-zip-archive/slack-desc deleted file mode 100644 index a97f0881ad..0000000000 --- a/libraries/haskell-zip-archive/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-zip-archive: haskell-zip-archive (Haskell library for zip archives) -haskell-zip-archive: -haskell-zip-archive: This is a library for Haskell programs. It provides functions for -haskell-zip-archive: creating, modifying, and extracting files from zip archives. -haskell-zip-archive: -haskell-zip-archive: -haskell-zip-archive: -haskell-zip-archive: -haskell-zip-archive: -haskell-zip-archive: -haskell-zip-archive: diff --git a/libraries/haskell-zlib/README b/libraries/haskell-zlib/README deleted file mode 100644 index b2435f0eb2..0000000000 --- a/libraries/haskell-zlib/README +++ /dev/null @@ -1,9 +0,0 @@ -This is a library for Haskell programs. It provides a pure interface for -compressing and decompressing streams of data represented as lazy ByteStrings. -It uses the zlib C library so it has high performance. It supports the "zlib", -"gzip" and "raw" compression formats. - -This requires ghc. - -After uninstalling, run the following command to unregister the package -from the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-zlib/doinst.sh b/libraries/haskell-zlib/doinst.sh deleted file mode 100644 index 3268c238bf..0000000000 --- a/libraries/haskell-zlib/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -chroot . /usr/bin/ghc-pkg recache diff --git a/libraries/haskell-zlib/haskell-zlib.SlackBuild b/libraries/haskell-zlib/haskell-zlib.SlackBuild deleted file mode 100644 index 35a5bc1f97..0000000000 --- a/libraries/haskell-zlib/haskell-zlib.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for zlib - -# Written by Peter Wang -# Modified by Mikko Värri -# Public domain. - -PRGNAM=haskell-zlib -VERSION=${VERSION:-0.5.2.0} -BUILD=${BUILD:-4} -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 # Exit on most errors - -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.hs 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 - -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 - -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/doinst.sh > $PKG/install/doinst.sh -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/libraries/haskell-zlib/haskell-zlib.info b/libraries/haskell-zlib/haskell-zlib.info deleted file mode 100644 index 0f4a9e24cc..0000000000 --- a/libraries/haskell-zlib/haskell-zlib.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-zlib" -VERSION="0.5.2.0" -HOMEPAGE="http://hackage.haskell.org/package/zlib" -DOWNLOAD="http://hackage.haskell.org/packages/archive/zlib/0.5.2.0/zlib-0.5.2.0.tar.gz" -MD5SUM="19859e241dc18ef1501a5d44d8523507" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" -APPROVED="dsomero" diff --git a/libraries/haskell-zlib/slack-desc b/libraries/haskell-zlib/slack-desc deleted file mode 100644 index 9f634083f1..0000000000 --- a/libraries/haskell-zlib/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-zlib: haskell-zlib (compression library for Haskell) -haskell-zlib: -haskell-zlib: This is a library for Haskell programs. It provides a pure interface -haskell-zlib: for compressing and decompressing streams of data represented as -haskell-zlib: lazy ByteStrings. It uses the zlib C library so it has high -haskell-zlib: performance. It supports the "zlib", "gzip" and "raw" compression -haskell-zlib: formats. -haskell-zlib: -haskell-zlib: -haskell-zlib: -haskell-zlib: -- cgit v1.2.3