diff options
author | Keri Harris <keri@gentoo.org> | 2006-06-12 07:47:05 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-06-12 07:47:05 +0000 |
commit | 6eed1cbb2b4af509bec314c02c59c30d170096b5 (patch) | |
tree | 9aa6eab7278070e1a8aafad26e4768dff035d4f1 /dev-lang | |
parent | Stable on ppc64 (diff) | |
download | historical-6eed1cbb2b4af509bec314c02c59c30d170096b5.tar.gz historical-6eed1cbb2b4af509bec314c02c59c30d170096b5.tar.bz2 historical-6eed1cbb2b4af509bec314c02c59c30d170096b5.zip |
New development snapshot.
Package-Manager: portage-2.1_rc4-r5
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/mercury/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/mercury/files/digest-mercury-0.13.0_beta20060609 | 3 | ||||
-rw-r--r-- | dev-lang/mercury/mercury-0.13.0_beta20060609.ebuild | 59 |
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-lang/mercury/ChangeLog b/dev-lang/mercury/ChangeLog index e1277722450b..56248fbd4b72 100644 --- a/dev-lang/mercury/ChangeLog +++ b/dev-lang/mercury/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/mercury # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.26 2006/06/09 09:25:01 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.27 2006/06/12 07:47:04 keri Exp $ + +*mercury-0.13.0_beta20060609 (12 Jun 2006) + + 12 Jun 2006; Keri Harris <keri@gentoo.org> + -mercury-0.13.0_beta20060601.ebuild, +mercury-0.13.0_beta20060609.ebuild: + New development snapshot. 09 Jun 2006; Keri Harris <keri@gentoo.org> +files/mercury-0.13.0_beta-LIBDIR.patch, diff --git a/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060609 b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060609 new file mode 100644 index 000000000000..079a49564f62 --- /dev/null +++ b/dev-lang/mercury/files/digest-mercury-0.13.0_beta20060609 @@ -0,0 +1,3 @@ +MD5 6420c871e1bee6e2caade8b715027d2d mercury-compiler-0.13.0-beta-2006-06-09-unstable.tar.gz 15849120 +RMD160 3dfe2e2229e5a8c47a71d1af5e8f305039cd53b3 mercury-compiler-0.13.0-beta-2006-06-09-unstable.tar.gz 15849120 +SHA256 3ff27dff11dbf45f82824d3c3bff1f3bbde0b24f36b709c5e334360127dd7c54 mercury-compiler-0.13.0-beta-2006-06-09-unstable.tar.gz 15849120 diff --git a/dev-lang/mercury/mercury-0.13.0_beta20060609.ebuild b/dev-lang/mercury/mercury-0.13.0_beta20060609.ebuild new file mode 100644 index 000000000000..b94d089033b2 --- /dev/null +++ b/dev-lang/mercury/mercury-0.13.0_beta20060609.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.13.0_beta20060609.ebuild,v 1.1 2006/06/12 07:47:04 keri Exp $ + +inherit eutils versionator + +BETA_V=$(get_version_component_range 4 $PV) +BETA_V_YYYY=${BETA_V:4:4} +BETA_V_MM=${BETA_V:8:2} +BETA_V_DD=${BETA_V:10:2} +MY_PV=$(get_version_component_range 1-3 $PV)-beta-${BETA_V_YYYY}-${BETA_V_MM}-${BETA_V_DD} +MY_P=${PN}-compiler-${MY_PV} + +DESCRIPTION="Mercury is a modern general-purpose logic/functional programming language" +HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html" +SRC_URI="ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/beta-releases/0.13.0-beta/${MY_P}-unstable.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" + +IUSE="debug minimal readline" + +DEPEND="readline? ( sys-libs/readline )" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P/${BETA_V}/beta}-portage.patch + epatch "${FILESDIR}"/${P/${BETA_V}/beta}-CFLAGS.patch + epatch "${FILESDIR}"/${P/${BETA_V}/beta}-LIBDIR.patch + epatch "${FILESDIR}"/${P/${BETA_V}/beta}-docs.patch +} + +src_compile() { + econf \ + --disable-dotnet-grades \ + $(use_enable debug debug-grades) \ + $(use_enable !minimal most-grades) \ + $(use_with readline) \ + PACKAGE_VERSION=${PV} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make \ + MERCURY_COMPILER="${D}"/usr/bin/${PN}_compile \ + INSTALL_PREFIX="${D}"/usr \ + INSTALL_MAN_DIR="${D}"/usr/share/man \ + INSTALL_INFO_DIR="${D}"/usr/share/info \ + INSTALL_HTML_DIR="${D}"/usr/share/doc/${PF}/html \ + install || die "make install failed" + + dodoc BUGS HISTORY LIMITATIONS NEWS README README.Java README.Linux README.Linux-Alpha README.Linux-m68k README.Linux-PPC RELEASE_NOTES TODO VERSION WORK_IN_PROGRESS +} |