diff options
author | Luis Francisco Araujo <araujo@gentoo.org> | 2005-10-24 15:20:23 +0000 |
---|---|---|
committer | Luis Francisco Araujo <araujo@gentoo.org> | 2005-10-24 15:20:23 +0000 |
commit | 06b7f06bf883e51619e8935ba891dd5b2cb23adf (patch) | |
tree | 135170dd8d2effc2183a8101e5023d05059548d3 /dev-haskell/hs-plugins | |
parent | added mips keyword, minor fix (diff) | |
download | gentoo-2-06b7f06bf883e51619e8935ba891dd5b2cb23adf.tar.gz gentoo-2-06b7f06bf883e51619e8935ba891dd5b2cb23adf.tar.bz2 gentoo-2-06b7f06bf883e51619e8935ba891dd5b2cb23adf.zip |
Added new version available for ghc6.4 of hs-plugins
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'dev-haskell/hs-plugins')
-rw-r--r-- | dev-haskell/hs-plugins/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/hs-plugins/Manifest | 14 | ||||
-rw-r--r-- | dev-haskell/hs-plugins/files/digest-hs-plugins-0.9.10 | 2 | ||||
-rw-r--r-- | dev-haskell/hs-plugins/hs-plugins-0.9.10.ebuild | 56 |
4 files changed, 67 insertions, 12 deletions
diff --git a/dev-haskell/hs-plugins/ChangeLog b/dev-haskell/hs-plugins/ChangeLog index a7c52fba25e7..47d62f21430e 100644 --- a/dev-haskell/hs-plugins/ChangeLog +++ b/dev-haskell/hs-plugins/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/hs-plugins # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hs-plugins/ChangeLog,v 1.6 2005/05/02 15:00:27 kosmikus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hs-plugins/ChangeLog,v 1.7 2005/10/24 15:20:23 araujo Exp $ + +*hs-plugins-0.9.10 (24 Oct 2005) + + 24 Oct 2005; Luis F. Araujo <araujo@gentoo.org> +hs-plugins-0.9.10.ebuild: + Added new version hs-plugins-0.9.10 02 May 2005; Andres Loeh <kosmikus@gentoo.org> hs-plugins-0.9.6.ebuild, hs-plugins-0.9.8.ebuild: diff --git a/dev-haskell/hs-plugins/Manifest b/dev-haskell/hs-plugins/Manifest index 73ba8fdf9190..95d265195676 100644 --- a/dev-haskell/hs-plugins/Manifest +++ b/dev-haskell/hs-plugins/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 ca955d7b1175ad0834b125bd8b173935 ChangeLog 859 MD5 c61ca0ef9d84c675dfdefa1e1e1f33fe hs-plugins-0.9.6.ebuild 779 MD5 1a599d524ebd834499dd7e64eaf71a4b hs-plugins-0.9.8.ebuild 1109 -MD5 ca955d7b1175ad0834b125bd8b173935 ChangeLog 859 MD5 271db8af4d4636c2b1ff7fcc2d903d71 metadata.xml 160 +MD5 4d5d808f8304ce5223b5b87a2bab482a hs-plugins-0.9.10.ebuild 1429 MD5 cf6036e55a430934f50b03f1904f87cf files/digest-hs-plugins-0.9.6 134 MD5 5a354330583e81ac898f6f5ec9f2dd9a files/digest-hs-plugins-0.9.8 134 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCdkDpOKSBj1ObwosRAmHCAJ0arVy7wa9AQfpZI/KxV6iYJcabkACfekRa -LPk4Z+E3JQhJvy8R5mQDu+8= -=rTh6 ------END PGP SIGNATURE----- +MD5 ca9b254d139eb304aefa5c8485e2a01f files/digest-hs-plugins-0.9.10 135 diff --git a/dev-haskell/hs-plugins/files/digest-hs-plugins-0.9.10 b/dev-haskell/hs-plugins/files/digest-hs-plugins-0.9.10 new file mode 100644 index 000000000000..85172d151f3b --- /dev/null +++ b/dev-haskell/hs-plugins/files/digest-hs-plugins-0.9.10 @@ -0,0 +1,2 @@ +MD5 501b9a2ee9da05ef65790ca4494e8da3 hs-plugins-0.9.10.tar.gz 220990 +MD5 2ba9b743f45c294bd32bd9e5ad44352b hs-plugins.html.tar.gz 24643 diff --git a/dev-haskell/hs-plugins/hs-plugins-0.9.10.ebuild b/dev-haskell/hs-plugins/hs-plugins-0.9.10.ebuild new file mode 100644 index 000000000000..3898dbf5f367 --- /dev/null +++ b/dev-haskell/hs-plugins/hs-plugins-0.9.10.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hs-plugins/hs-plugins-0.9.10.ebuild,v 1.1 2005/10/24 15:20:23 araujo Exp $ + +inherit ghc-package + +DESCRIPTION="Dynamically Loaded Haskell Plugins" +HOMEPAGE="http://www.cse.unsw.edu.au/~dons/hs-plugins/" +SRC_URI="ftp://ftp.cse.unsw.edu.au/pub/users/dons/${PN}/${P}.tar.gz + doc? ( http://www.cse.unsw.edu.au/~dons/${PN}/${PN}.html.tar.gz )" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 -amd64" # currently broken on amd64 +IUSE="doc" + +DEPEND=">=virtual/ghc + >=dev-haskell/haskell-src-exts-0.2 + dev-haskell/cabal" + +src_unpack() { + unpack ${A} + # for package management + sed -i 's:\$(GHC_PKG) -u:\${GHC_PKGF} -u:' ${S}/Makefile + + cabalversion=$(ghc-bestcabalversion) + + sed -i "s:-package Cabal:-package ${cabalversion}:" \ + ${S}/src/plugins/Makefile + + # Also specify an exact version of Cabal otherwise ghc-pkg defaults it to + # the minimum version which is just wrong. Should be fixed in ghc-6.4.1 + sed -i "s/depends:\(.*\) Cabal/depends:\1 ${cabalversion}/" \ + ${S}/src/plugins/plugins.conf.in.cpp +} + +src_compile() { + econf + # for package management + echo 'GHC_PKGF = ${GHC_PKG} --force -f '"${S}/$(ghc-localpkgconf)" >> config.mk + emake -j1 +} + +src_install() { + emake PREFIX="${D}/usr" install + ghc-setup-pkg + emake PREFIX="${D}/usr" register # then we don't need --force in ghc-pkg + ghc-install-pkg + + dodoc AUTHORS README TODO VERSION + + if use doc; then + dohtml ${WORKDIR}/${PN}/* + fi +} + |