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 | f35532e5f810270d8a46b05c8b3e0e8626f977f3 (patch) | |
tree | d7b04cd3cdd532d937deae6a7d65411401ddc154 /dev-haskell/hxt | |
parent | Erm, no. (diff) | |
download | gentoo-2-f35532e5f810270d8a46b05c8b3e0e8626f977f3.tar.gz gentoo-2-f35532e5f810270d8a46b05c8b3e0e8626f977f3.tar.bz2 gentoo-2-f35532e5f810270d8a46b05c8b3e0e8626f977f3.zip |
initial import (bug #79590).
Diffstat (limited to 'dev-haskell/hxt')
-rw-r--r-- | dev-haskell/hxt/ChangeLog | 11 | ||||
-rw-r--r-- | dev-haskell/hxt/Manifest | 2 | ||||
-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, 75 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..2b3143307577 --- /dev/null +++ b/dev-haskell/hxt/Manifest @@ -0,0 +1,2 @@ +MD5 ca37d0998132aa98bfa149baf7fd2ed6 hxt-4.02.ebuild 1156 +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> |