diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-27 17:52:39 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-27 17:52:39 +0000 |
commit | f2e9cc9a3641c35c74438d517d6b78cf3e638281 (patch) | |
tree | cd89fe0cd27e2f733221a1d2699b33933c13e800 /dev-ml/ANSITerminal | |
parent | Add 0.36. (diff) | |
download | gentoo-2-f2e9cc9a3641c35c74438d517d6b78cf3e638281.tar.gz gentoo-2-f2e9cc9a3641c35c74438d517d6b78cf3e638281.tar.bz2 gentoo-2-f2e9cc9a3641c35c74438d517d6b78cf3e638281.zip |
initial import, thanks to Bardur Arantsson <bugs-gentoo.org@scientician.net>, bug #96384
(Portage version: 2.1.4)
Diffstat (limited to 'dev-ml/ANSITerminal')
-rw-r--r-- | dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild | 43 | ||||
-rw-r--r-- | dev-ml/ANSITerminal/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ml/ANSITerminal/Manifest | 16 | ||||
-rw-r--r-- | dev-ml/ANSITerminal/files/digest-ANSITerminal-0.3 | 3 | ||||
-rw-r--r-- | dev-ml/ANSITerminal/metadata.xml | 5 |
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild b/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild new file mode 100644 index 000000000000..0ad023c515a9 --- /dev/null +++ b/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild,v 1.1 2008/01/27 17:52:38 aballier Exp $ + +EAPI=1 + +inherit findlib eutils + +DESCRIPTION="Module which offers basic control of ANSI compliant terminals" +HOMEPAGE="http://math.umh.ac.be/an/software.php#x4-80007" +SRC_URI="ftp://ftp.umh.ac.be/pub/ftp_san/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +DEPEND="dev-lang/ocaml" +IUSE="doc +ocamlopt" + +pkg_setup() { + if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then + eerror "In order to build ${PN} with native code support from ocaml" + eerror "You first need to have a native code ocaml compiler." + eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." + die "Please install ocaml with ocamlopt useflag" + fi +} + +src_compile() { + emake byte || die "Failed to compile bytecode" + if use ocamlopt; then + emake opt || die "Failed to compile native code" + else + sed -i -e "s/all META/byte META/" Makefile || die "failed to make native code optional" + fi + if use doc; then + emake doc || die "Failed to build documentation" + fi +} + +src_install() { + findlib_src_install + dodoc README + use doc && dohtml ANSITerminal.html/* +} diff --git a/dev-ml/ANSITerminal/ChangeLog b/dev-ml/ANSITerminal/ChangeLog new file mode 100644 index 000000000000..d999daf45a03 --- /dev/null +++ b/dev-ml/ANSITerminal/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ml/ANSITerminal +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ChangeLog,v 1.1 2008/01/27 17:52:38 aballier Exp $ + +*ANSITerminal-0.3 (27 Jan 2008) + + 27 Jan 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml, + +ANSITerminal-0.3.ebuild: + initial import, thanks to Bardur Arantsson + <bugs-gentoo.org@scientician.net>, bug #96384 + diff --git a/dev-ml/ANSITerminal/Manifest b/dev-ml/ANSITerminal/Manifest new file mode 100644 index 000000000000..dd1eca135e66 --- /dev/null +++ b/dev-ml/ANSITerminal/Manifest @@ -0,0 +1,16 @@ +DIST ANSITerminal-0.3.tar.bz2 14697 RMD160 381dac33989cd20945c8023c54ea3931cb49bbc6 SHA1 83686fb5a572ce6c395b2cedcdf82dd9c506d3bb SHA256 727be52ffb49ebe6221bdcb83d00a80ab7c1d0e4f62599efba1db28c4ae12b60 +EBUILD ANSITerminal-0.3.ebuild 1201 RMD160 e1e4d50741b7eb6d38ca37bd6cda03ddddfcaa74 SHA1 dfce7b3b158c4d9f4afb2bd405300d1d2e6ddad3 SHA256 8739015163f6180e56f36d9d220ad37f51df3fd8441418bab4594fbc137a4823 +MD5 87384b99da46c8bc024b74f4cc7eee3f ANSITerminal-0.3.ebuild 1201 +RMD160 e1e4d50741b7eb6d38ca37bd6cda03ddddfcaa74 ANSITerminal-0.3.ebuild 1201 +SHA256 8739015163f6180e56f36d9d220ad37f51df3fd8441418bab4594fbc137a4823 ANSITerminal-0.3.ebuild 1201 +MISC ChangeLog 342 RMD160 9900ca7559f26ca6732472feb36215769344099b SHA1 c7772f33e1db4233ef56677172e15e8681cf0f16 SHA256 3dcdb3bc91ff07f97573b90ed31cb152ae4ca983206a4b6795b8254f3bd49c0b +MD5 bc7e779c18a75c53ed22c73942d9a4cf ChangeLog 342 +RMD160 9900ca7559f26ca6732472feb36215769344099b ChangeLog 342 +SHA256 3dcdb3bc91ff07f97573b90ed31cb152ae4ca983206a4b6795b8254f3bd49c0b ChangeLog 342 +MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 +MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155 +RMD160 dfaa057e679b01302a807c75a32a910098b26809 metadata.xml 155 +SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 metadata.xml 155 +MD5 55c5dc1b973948da45ceb39bab5bf104 files/digest-ANSITerminal-0.3 250 +RMD160 a1c8b566f6914459181a5e0fc9f072b6b011fc52 files/digest-ANSITerminal-0.3 250 +SHA256 005a427e41e806d7e4eab022c9bac88e90a6c2af3f1cf0bfbc6774868924bb08 files/digest-ANSITerminal-0.3 250 diff --git a/dev-ml/ANSITerminal/files/digest-ANSITerminal-0.3 b/dev-ml/ANSITerminal/files/digest-ANSITerminal-0.3 new file mode 100644 index 000000000000..b0bb1eaac908 --- /dev/null +++ b/dev-ml/ANSITerminal/files/digest-ANSITerminal-0.3 @@ -0,0 +1,3 @@ +MD5 33efee4b57658ee07b6c17411bab7c66 ANSITerminal-0.3.tar.bz2 14697 +RMD160 381dac33989cd20945c8023c54ea3931cb49bbc6 ANSITerminal-0.3.tar.bz2 14697 +SHA256 727be52ffb49ebe6221bdcb83d00a80ab7c1d0e4f62599efba1db28c4ae12b60 ANSITerminal-0.3.tar.bz2 14697 diff --git a/dev-ml/ANSITerminal/metadata.xml b/dev-ml/ANSITerminal/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-ml/ANSITerminal/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> |