diff options
author | Andres Loeh <kosmikus@gentoo.org> | 2005-02-26 17:37:05 +0000 |
---|---|---|
committer | Andres Loeh <kosmikus@gentoo.org> | 2005-02-26 17:37:05 +0000 |
commit | 82e58639e55d7b439d58ac5b6c076ff47104489b (patch) | |
tree | 19e10ea5b7be3cbf11a5ddb0749ebe40ea468519 /dev-haskell | |
parent | Erm, no. (diff) | |
download | historical-82e58639e55d7b439d58ac5b6c076ff47104489b.tar.gz historical-82e58639e55d7b439d58ac5b6c076ff47104489b.tar.bz2 historical-82e58639e55d7b439d58ac5b6c076ff47104489b.zip |
initial import (bug #79590).
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/hxt/ChangeLog | 11 | ||||
-rw-r--r-- | dev-haskell/hxt/Manifest | 4 | ||||
-rw-r--r-- | dev-haskell/hxt/files/digest-hxt-4.02 | 1 | ||||
-rw-r--r-- | dev-haskell/hxt/hxt-4.02.ebuild | 53 | ||||
-rw-r--r-- | dev-haskell/hxt/metadata.xml | 8 |
5 files changed, 77 insertions, 0 deletions
diff --git a/dev-haskell/hxt/ChangeLog b/dev-haskell/hxt/ChangeLog new file mode 100644 index 000000000000..5472bc115968 --- /dev/null +++ b/dev-haskell/hxt/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-haskell/hxt +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hxt/ChangeLog,v 1.1 2005/02/26 17:37:05 kosmikus Exp $ + +*hxt-4.02 (26 Feb 2005) + + 26 Feb 2005; Andres Loeh <kosmikus@gentoo.org> +metadata.xml, + +hxt-4.02.ebuild: + Initial import using an ebuild provided by Luis F. Araujo <araujo@lbsd.net> + (bug #79590). + diff --git a/dev-haskell/hxt/Manifest b/dev-haskell/hxt/Manifest new file mode 100644 index 000000000000..dc0c57ac0bc2 --- /dev/null +++ b/dev-haskell/hxt/Manifest @@ -0,0 +1,4 @@ +MD5 5c55c3a2b4163b337f11010013bc92dc hxt-4.02.ebuild 1254 +MD5 a6aef055792944fc7e21caec36bb6186 ChangeLog 409 +MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224 +MD5 2f65e69140f9283519e29cafc73dbd6b files/digest-hxt-4.02 60 diff --git a/dev-haskell/hxt/files/digest-hxt-4.02 b/dev-haskell/hxt/files/digest-hxt-4.02 new file mode 100644 index 000000000000..3bd5dc2f1558 --- /dev/null +++ b/dev-haskell/hxt/files/digest-hxt-4.02 @@ -0,0 +1 @@ +MD5 f762fdeff0acb2f38ca44fa925c1de90 HXT-4.02.tar.gz 885865 diff --git a/dev-haskell/hxt/hxt-4.02.ebuild b/dev-haskell/hxt/hxt-4.02.ebuild new file mode 100644 index 000000000000..8fd223835316 --- /dev/null +++ b/dev-haskell/hxt/hxt-4.02.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hxt/hxt-4.02.ebuild,v 1.1 2005/02/26 17:37:05 kosmikus Exp $ + +inherit fixheadtails base eutils ghc-package + +MY_P="HXT" +MY_PV=${MY_P}-${PV} + +DESCRIPTION="A collection of tools for processing XML with Haskell" +HOMEPAGE="http://www.fh-wedel.de/~si/HXmlToolbox/" +SRC_URI="http://www.fh-wedel.de/~si/HXmlToolbox/${MY_PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND=">=virtual/ghc-6.2 + doc? ( >=dev-haskell/haddock-0.6-r2 )" +RDEPEND=">=virtual/ghc-6.2" + +S=${WORKDIR}/${MY_PV} + +src_unpack() { + base_src_unpack + ht_fix_file "${S}/src/Makefile" +} + +src_compile() { + emake || die "emake failed" + if use doc; then + emake doc || die "emake doc failed" + fi +} + +src_install() { + sed -i "s:/usr/local/lib/hxt:$(ghc-libdir):" ${S}/src/{netextra,hxt}-package.conf + sed -i "/ghc-pkg --update-package *$/d" ${S}/src/Makefile + + ghc-setup-pkg ${S}/src/netextra-package.conf ${S}/src/hxt-package.conf + make install \ + GHC_INSTALL_DIR="${D}$(ghc-libdir)" \ + || die "make install failed" + + dodoc LICENSE README + if use doc; then + cd ${S}/doc + dodoc thesis.ps + dohtml -r * + fi + ghc-install-pkg +} diff --git a/dev-haskell/hxt/metadata.xml b/dev-haskell/hxt/metadata.xml new file mode 100644 index 000000000000..a53a18c06081 --- /dev/null +++ b/dev-haskell/hxt/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>haskell</herd> +<maintainer> + <email>kosmikus@gentoo.org</email> +</maintainer> +</pkgmetadata> |