summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2005-04-05 13:45:53 +0000
committerAndres Loeh <kosmikus@gentoo.org>2005-04-05 13:45:53 +0000
commit283e2ddc86b58f8e6c36a0ff4aec902ac094a38d (patch)
tree1571fedfaec44b0a3a444a3bb22314af7d95e025 /dev-haskell/haxml
parentUpdate to new kde herd setup. (diff)
downloadhistorical-283e2ddc86b58f8e6c36a0ff4aec902ac094a38d.tar.gz
historical-283e2ddc86b58f8e6c36a0ff4aec902ac094a38d.tar.bz2
historical-283e2ddc86b58f8e6c36a0ff4aec902ac094a38d.zip
Initial import (bug #83189).
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-haskell/haxml')
-rw-r--r--dev-haskell/haxml/ChangeLog11
-rw-r--r--dev-haskell/haxml/Manifest15
-rw-r--r--dev-haskell/haxml/files/HaXml-1.12.cabal38
-rw-r--r--dev-haskell/haxml/files/digest-haxml-1.121
-rw-r--r--dev-haskell/haxml/haxml-1.12.ebuild73
-rw-r--r--dev-haskell/haxml/metadata.xml25
6 files changed, 163 insertions, 0 deletions
diff --git a/dev-haskell/haxml/ChangeLog b/dev-haskell/haxml/ChangeLog
new file mode 100644
index 000000000000..1fbc9462db47
--- /dev/null
+++ b/dev-haskell/haxml/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-haskell/haxml
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/ChangeLog,v 1.1 2005/04/05 13:45:53 kosmikus Exp $
+
+*haxml-1.12 (05 Apr 2005)
+
+ 05 Apr 2005; Andres Loeh <kosmikus@gentoo.org> +metadata.xml,
+ +files/HaXml-1.12.cabal, +haxml-1.12.ebuild:
+ Initial import. Thanks to Lennart Kolmodin <kolmodin@dtek.chalmers.se> for
+ submitting a first version (bug #83189).
+
diff --git a/dev-haskell/haxml/Manifest b/dev-haskell/haxml/Manifest
new file mode 100644
index 000000000000..42018b2f8737
--- /dev/null
+++ b/dev-haskell/haxml/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 dc8c20d8d77f143d3e31d1507dd9d515 haxml-1.12.ebuild 1844
+MD5 33c91af0fa580aa90702b0467de15afc ChangeLog 468
+MD5 a4de292547a7d4fbe157a4ecb4ce2193 metadata.xml 821
+MD5 7f9a42c4c18a163851e48c1d330940bf files/digest-haxml-1.12 62
+MD5 455bf2e99824303d40686c0dd9cc7de3 files/HaXml-1.12.cabal 1081
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCUpflOKSBj1ObwosRAgKVAJ97CvP7rBxPTCIVudKiMYK5n09JFwCfbF9K
+HF23qRCVdoagt723x4vGHVI=
+=Myby
+-----END PGP SIGNATURE-----
diff --git a/dev-haskell/haxml/files/HaXml-1.12.cabal b/dev-haskell/haxml/files/HaXml-1.12.cabal
new file mode 100644
index 000000000000..4980e57ce2ba
--- /dev/null
+++ b/dev-haskell/haxml/files/HaXml-1.12.cabal
@@ -0,0 +1,38 @@
+name: HaXml
+version: 1.12
+license: LGPL
+license-file: LICENSE-LGPL
+author: Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk>
+homepage: http://www.cs.york.ac.uk/fp/HaXml/
+category: Text
+synopsis: Utilities for manipulating XML documents
+description:
+ Haskell utilities for parsing, filtering, transforming and
+ generating XML documents.
+exposed-modules:
+ Text.ParserCombinators.HuttonMeijerWallace,
+ Text.XML.HaXml,
+ Text.XML.HaXml.Combinators,
+ Text.XML.HaXml.DtdToHaskell.Convert,
+ Text.XML.HaXml.DtdToHaskell.Instance,
+ Text.XML.HaXml.DtdToHaskell.TypeDef,
+ Text.XML.HaXml.Escape,
+ Text.XML.HaXml.Haskell2Xml,
+ Text.XML.HaXml.Html.Generate,
+ Text.XML.HaXml.Html.Parse,
+ Text.XML.HaXml.Html.Pretty,
+ Text.XML.HaXml.Lex,
+ Text.XML.HaXml.OneOfN,
+ Text.XML.HaXml.Parse,
+ Text.XML.HaXml.Pretty,
+ Text.XML.HaXml.Types,
+ Text.XML.HaXml.Validate,
+ Text.XML.HaXml.Verbatim,
+ Text.XML.HaXml.Wrappers,
+ Text.XML.HaXml.Xml2Haskell,
+ Text.XML.HaXml.Xtract.Combinators,
+ Text.XML.HaXml.Xtract.Lex,
+ Text.XML.HaXml.Xtract.Parse
+hs-source-dir: src
+build-depends: base, haskell98
+extensions: CPP
diff --git a/dev-haskell/haxml/files/digest-haxml-1.12 b/dev-haskell/haxml/files/digest-haxml-1.12
new file mode 100644
index 000000000000..3eba4a70664a
--- /dev/null
+++ b/dev-haskell/haxml/files/digest-haxml-1.12
@@ -0,0 +1 @@
+MD5 b614a4a6bf8aec3938ae1b006ed30a13 HaXml-1.12.tar.gz 433384
diff --git a/dev-haskell/haxml/haxml-1.12.ebuild b/dev-haskell/haxml/haxml-1.12.ebuild
new file mode 100644
index 000000000000..6445ba9c8073
--- /dev/null
+++ b/dev-haskell/haxml/haxml-1.12.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.12.ebuild,v 1.1 2005/04/05 13:45:53 kosmikus Exp $
+
+inherit ghc-package fixheadtails
+
+MY_PN=HaXml
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documentss."
+HOMEPAGE="http://www.haskell.org/HaXml/"
+SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="doc"
+
+# actually, >=ghc-5.02 should be ok
+# hugs and nhc98 are ok too, somebody might want to add support for them
+DEPEND=">=virtual/ghc-6.0
+ doc? ( >=dev-haskell/haddock-0.6-r2 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ ht_fix_file ${S}/configure
+}
+
+src_compile() {
+
+ ./configure --prefix=${D}/usr/bin \
+ || die "./configure failed"
+ # we only support ghc currently; overrides auto-detection
+ echo ghc > ${S}/obj/compilers
+
+ emake -j1 || die "make failed"
+
+ # create documentation if requested
+ if use doc; then
+ emake -j1 haddock || die "make doc failed"
+ fi
+
+ # prepare installation of the pkg.conf-file
+ if $(ghc-cabal); then
+ ghc-setup-pkg
+ $(ghc-getghcpkg) -f "${S}/$(ghc-localpkgconf)" --force register "${FILESDIR}/${MY_P}.cabal"
+ else
+ ghc-setup-pkg ${S}/obj/ghc/pkg.conf
+ fi
+ # make sure the libdir is correct
+ sed -i "s:\$libdir:$(ghc-libdir):" $(ghc-localpkgconf)
+}
+
+src_install() {
+ # fix so it installs into image dir
+ echo ${D}/$(ghc-libdir) > ${S}/obj/ghc/ghclibdir
+ echo ${D}/$(ghc-libdir)/imports > ${S}/obj/ghc/ghcincdir
+ # make sure all installation directories are there
+ mkdir -p ${D}/$(ghc-libdir)/imports
+
+ emake -j1 install-filesonly || die "make install failed"
+
+ if use doc; then
+ dohtml -r docs/*
+ dodoc docs/icfp99.dvi docs/icfp99.ps.gz
+ fi
+
+ ghc-install-pkg
+}
+
diff --git a/dev-haskell/haxml/metadata.xml b/dev-haskell/haxml/metadata.xml
new file mode 100644
index 000000000000..1c65abc4a44c
--- /dev/null
+++ b/dev-haskell/haxml/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+
+This is the example metadata file.
+The root element of this file is <pkgmetadata>. Within this element a
+number of subelements are allowed: herd, maintainer, and
+longdescription. herd is a required subelement.
+
+For a full description look at:
+http://www.gentoo.org/proj/en/metastructure/herds
+
+
+Before committing, please remove the comments from this file. They are
+not relevant for general metadata.xml files.
+-->
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>@gentoo.org</email>
+<!-- <name>Full name</name> -->
+<!-- <description>Description of the maintainership</description> -->
+</maintainer>
+<!-- <longdescription>Long description of the package</longdescription> -->
+</pkgmetadata>