summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-02-28 12:41:18 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-02-28 12:41:18 +0000
commit425cac2ec95abd2aab50432668308917c11cff64 (patch)
tree27adc2cca8538fcfb3fb3719863e5279db7b6408 /dev-haskell
parentAdded pst-circ.pro to /usr/share/texmf/dvips/pstricks, bug #123714. (diff)
downloadgentoo-2-425cac2ec95abd2aab50432668308917c11cff64.tar.gz
gentoo-2-425cac2ec95abd2aab50432668308917c11cff64.tar.bz2
gentoo-2-425cac2ec95abd2aab50432668308917c11cff64.zip
Patch the build system so it builds the HaXml tools (fixes bug #124382)
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/haxml/ChangeLog8
-rw-r--r--dev-haskell/haxml/Manifest22
-rw-r--r--dev-haskell/haxml/files/digest-haxml-1.13-r13
-rw-r--r--dev-haskell/haxml/haxml-1.13-r1.ebuild52
-rw-r--r--dev-haskell/haxml/haxml-1.13.ebuild8
5 files changed, 75 insertions, 18 deletions
diff --git a/dev-haskell/haxml/ChangeLog b/dev-haskell/haxml/ChangeLog
index cf85d5184bfc..e60d57592929 100644
--- a/dev-haskell/haxml/ChangeLog
+++ b/dev-haskell/haxml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/haxml
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/ChangeLog,v 1.8 2006/02/27 14:57:52 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/ChangeLog,v 1.9 2006/02/28 12:41:18 dcoutts Exp $
+
+*haxml-1.13-r1 (28 Feb 2006)
+
+ 28 Feb 2006; Duncan Coutts <dcoutts@gentoo.org> haxml-1.13.ebuild,
+ +haxml-1.13-r1.ebuild:
+ Patch the build system so it builds the HaXml tools (fixes bug #124382).
27 Feb 2006; Duncan Coutts <dcoutts@gentoo.org> haxml-1.12.ebuild,
haxml-1.13.ebuild:
diff --git a/dev-haskell/haxml/Manifest b/dev-haskell/haxml/Manifest
index e2e7dacea3f2..ff5bedce79aa 100644
--- a/dev-haskell/haxml/Manifest
+++ b/dev-haskell/haxml/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 37f55fae9cbb63204c3f48b6024723f6 ChangeLog 1344
RMD160 871baf5bf013ef958d9b7bbbfb318f31724099ca ChangeLog 1344
SHA256 23366a09e361682eb362f31aff5ead23f3f4ed959c0efa97409f4843ea396da9 ChangeLog 1344
@@ -13,19 +10,18 @@ SHA256 0a887942b8ec0d6be333d18fb441a9fa99a0877fa793be06eb33619457440681 files/di
MD5 4a303982b8e921e447872cd48733b149 files/digest-haxml-1.13 232
RMD160 c1a72b44d8209ade2ab63f6a7e530e3c11710696 files/digest-haxml-1.13 232
SHA256 1bc876bb2aec4a049e9fb51d27bf42d36fe008f07e450c6996a88b040e45eb09 files/digest-haxml-1.13 232
+MD5 4a303982b8e921e447872cd48733b149 files/digest-haxml-1.13-r1 232
+RMD160 c1a72b44d8209ade2ab63f6a7e530e3c11710696 files/digest-haxml-1.13-r1 232
+SHA256 1bc876bb2aec4a049e9fb51d27bf42d36fe008f07e450c6996a88b040e45eb09 files/digest-haxml-1.13-r1 232
MD5 796774c31a508ff78471239f9b574f63 haxml-1.12.ebuild 1830
RMD160 23b675072d246d2239d2cc9a3fc81a728b82d62d haxml-1.12.ebuild 1830
SHA256 c2e2dab85c4c95b1d2becc18c9320628b473945b360a9d7a63fdd0d7760fc1d3 haxml-1.12.ebuild 1830
-MD5 1278736be01405d51bb5d02131b76a70 haxml-1.13.ebuild 1056
-RMD160 f6a2ff61aa483a1fdbbbf661ffc953f347a4c4c9 haxml-1.13.ebuild 1056
-SHA256 4373a0ed9bbce62da42a0152874bdeca60982415adb2f01e00ba901f9c4d02ba haxml-1.13.ebuild 1056
+MD5 6a38c1fcff8e3166a20526a9661df6c4 haxml-1.13-r1.ebuild 1500
+RMD160 b609167c5113072cb20f5ceb991cef5483711214 haxml-1.13-r1.ebuild 1500
+SHA256 7e8de07528bfc1aad87de8e4fc27e0dc46e51d945786c61c6194d8fa4d308092 haxml-1.13-r1.ebuild 1500
+MD5 8de4723609851c95bbf14ca6ac15df52 haxml-1.13.ebuild 1052
+RMD160 444ff7a7faa3a95eaf4fd55c0b6d94685001598b haxml-1.13.ebuild 1052
+SHA256 3dba19e0ff9a2b533685dc726f7877da035be750e96752151abbae35be789e74 haxml-1.13.ebuild 1052
MD5 c694674dcbef799cd4fdb6914683ebff metadata.xml 223
RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 metadata.xml 223
SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 metadata.xml 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-
-iD8DBQFEAxNi/B0cxt+cq+wRAo3RAJ9FB7Gu+Vfc7tcOCPyx+4giFdNuvQCfeyan
-1FPfizLowVy4eUTGvg54VRM=
-=azRX
------END PGP SIGNATURE-----
diff --git a/dev-haskell/haxml/files/digest-haxml-1.13-r1 b/dev-haskell/haxml/files/digest-haxml-1.13-r1
new file mode 100644
index 000000000000..33d397f957da
--- /dev/null
+++ b/dev-haskell/haxml/files/digest-haxml-1.13-r1
@@ -0,0 +1,3 @@
+MD5 9801b55ea599ed426d8034b156afa304 HaXml-1.13.tar.gz 435809
+RMD160 df1c371cf8727baf4286a550e43de22c14d2db00 HaXml-1.13.tar.gz 435809
+SHA256 28af11504085e7a03a66f9e29feb2c141b19d9a067d74d5b41b509938a255f57 HaXml-1.13.tar.gz 435809
diff --git a/dev-haskell/haxml/haxml-1.13-r1.ebuild b/dev-haskell/haxml/haxml-1.13-r1.ebuild
new file mode 100644
index 000000000000..dd6b2fc96101
--- /dev/null
+++ b/dev-haskell/haxml/haxml-1.13-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13-r1.ebuild,v 1.1 2006/02/28 12:41:18 dcoutts Exp $
+
+CABAL_FEATURES="lib bin haddock"
+inherit base haskell-cabal
+
+MY_PN=HaXml
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documents"
+HOMEPAGE="http://www.haskell.org/HaXml/"
+SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+IUSE=""
+
+# actually, >=ghc-5.02 should be ok (if not using cabal)
+# hugs and nhc98 are ok too, somebody might want to add support for them
+DEPEND=">=virtual/ghc-6.2
+ >=dev-haskell/cabal-1.1.3-r1"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ base_src_unpack
+
+ # Text.PrettyPrint is already provided by ghc and produces a conflict
+ rm -rf "${S}/src/Text/PrettyPrint"
+
+ # The HaXml.cabal file doesn't build the tools, so we add them in:
+ for binary in Canonicalise DtdToHaskell MkOneOf Validate Xtract; do
+ echo >> "${S}/HaXml.cabal"
+ echo "executable: ${binary}" >> "${S}/HaXml.cabal"
+ echo "main-is: ${binary}.hs" >> "${S}/HaXml.cabal"
+ echo "hs-source-dirs: src/tools" >> "${S}/HaXml.cabal"
+ echo "extensions: CPP" >> "${S}/HaXml.cabal"
+ done
+}
+
+src_install() {
+ cabal_src_install
+
+ if use doc; then
+ dohtml -r docs/*
+ dodoc docs/icfp99.dvi docs/icfp99.ps.gz
+ fi
+}
+
diff --git a/dev-haskell/haxml/haxml-1.13.ebuild b/dev-haskell/haxml/haxml-1.13.ebuild
index aa01aac1d878..4b6ace2af392 100644
--- a/dev-haskell/haxml/haxml-1.13.ebuild
+++ b/dev-haskell/haxml/haxml-1.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.ebuild,v 1.2 2006/02/27 14:57:52 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.ebuild,v 1.3 2006/02/28 12:41:18 dcoutts Exp $
CABAL_FEATURES="lib haddock"
inherit base haskell-cabal
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc"
+IUSE=""
# actually, >=ghc-5.02 should be ok (if not using cabal)
# hugs and nhc98 are ok too, somebody might want to add support for them
@@ -27,9 +27,9 @@ S=${WORKDIR}/${MY_P}
src_unpack() {
base_src_unpack
+
# Text.PrettyPrint is already provided by ghc and produces a conflict
- cd ${S}
- rm -rf src/Text/PrettyPrint
+ rm -rf "${S}/src/Text/PrettyPrint"
}
src_install() {