diff options
author | Alexis Ballier <aballier@gentoo.org> | 2014-10-29 08:41:24 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2014-10-29 08:41:24 +0000 |
commit | a0cff1cefaf53b8daf8f1d8d7da8bd271592834b (patch) | |
tree | 638811140e3e48cf7933c651cafd923954dbcd2d /dev-ml/uutf | |
parent | initial import, ebuild by Guillaume Horel in bug #520060 with a few modificat... (diff) | |
download | historical-a0cff1cefaf53b8daf8f1d8d7da8bd271592834b.tar.gz historical-a0cff1cefaf53b8daf8f1d8d7da8bd271592834b.tar.bz2 historical-a0cff1cefaf53b8daf8f1d8d7da8bd271592834b.zip |
initial import, ebuild by Guillaume Horel in bug #527294 with a few modifications by me
Signed-off-by: aballier@gentoo.org
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'dev-ml/uutf')
-rw-r--r-- | dev-ml/uutf/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ml/uutf/Manifest | 14 | ||||
-rw-r--r-- | dev-ml/uutf/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ml/uutf/uutf-0.9.3.ebuild | 44 |
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-ml/uutf/ChangeLog b/dev-ml/uutf/ChangeLog new file mode 100644 index 000000000000..834761a3e277 --- /dev/null +++ b/dev-ml/uutf/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ml/uutf +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/uutf/ChangeLog,v 1.1 2014/10/29 08:41:19 aballier Exp $ + +*uutf-0.9.3 (29 Oct 2014) + + 29 Oct 2014; Alexis Ballier <aballier@gentoo.org> +uutf-0.9.3.ebuild, + +metadata.xml: + initial import, ebuild by Guillaume Horel in bug #527294 with a few + modifications by me + diff --git a/dev-ml/uutf/Manifest b/dev-ml/uutf/Manifest new file mode 100644 index 000000000000..905714190b4b --- /dev/null +++ b/dev-ml/uutf/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST uutf-0.9.3.tbz 31734 SHA256 1f364f89b1179e5182a4d3ad8975f57389d45548735d19054845e06a27107877 SHA512 6fa3592bcb401eb96ffe7d4112ae89a72f0088a3909e087ba04d22544bab0521fadee536b4c01efac040435ffc5f2681567d2291beb90db5c2e56deb4b22c2d6 WHIRLPOOL fbb3500f8a58d6a5f4f8b43e6545b53317995b6de2aee51f688fd6d42b5eaab0d56426e567024a625ec2774603559182e7e54bbd6f1da5c2a69f80cf8f2a5f7e +EBUILD uutf-0.9.3.ebuild 1219 SHA256 4ca958ec4a7193984666dcae58e10927e8d56e28cab4495391457d9a75934483 SHA512 8eb9bb258129f27e5f0757614422f0564594f1364fb331ad4ea9ac069ec6f27a49fd38485f98f85d83ea291c3e103da60406b0769b051f7ac011cf336bd69b85 WHIRLPOOL bc6a9c387fca61ba67140c8cea707c7d734c12bb79cf63ede8216686bfc57caecbb75cf79fa98e597cb7ed2ad488784562a19547b907555de3ea48a1f36d2a84 +MISC ChangeLog 406 SHA256 a43bfe1dd18431e6b2854e6ebe9dc71e3263fd4b67255c1847a5d5d8aa2f0819 SHA512 0f07acbba1eb405869c96a4e076b4ac1a3f06db5b9828e5c00dfa2ccaabc7233f4941f81fe4f8339b46af824217bc2811bf0e1376dce62097a7288fafc04fdd1 WHIRLPOOL f17bce0f3e07cb0e2a3edade7d3fdb31b31a46855e4bfc303aa7d92ec0bbfe3985c1ed201f54645777b83dafc17ca2afe8c448fac2cbcd3834f1464bf8a01eea +MISC metadata.xml 155 SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 SHA512 a525f91dd332fc144c42d1437bdae9c889cbcece6294c2d2f4baf6a532ac2e13492736e75b41c83fac31033a9ae53c37deb96286a5ab8575611136617640952c WHIRLPOOL 71a9c7aaf4e268c65c0d1e30e343911ccbcf99ef8c23773abc2b3af8d58d9f7d5c09632805d8ba9050c09eef629f2b340db9eb9ba8b9cd2e5d655fce3f91fcb6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlRQqDEACgkQvFcC4BYPU0pj2gCgnLXc14wfp/bRn+PmLSifo+Oo +txcAn1vSufdJTMgn2mMFJrOCmLmmFaya +=SzeT +-----END PGP SIGNATURE----- diff --git a/dev-ml/uutf/metadata.xml b/dev-ml/uutf/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-ml/uutf/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> diff --git a/dev-ml/uutf/uutf-0.9.3.ebuild b/dev-ml/uutf/uutf-0.9.3.ebuild new file mode 100644 index 000000000000..29325e50410f --- /dev/null +++ b/dev-ml/uutf/uutf-0.9.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/uutf/uutf-0.9.3.ebuild,v 1.1 2014/10/29 08:41:19 aballier Exp $ + +EAPI="5" + +inherit findlib + +DESCRIPTION="Non-blocking streaming Unicode codec for OCaml" +HOMEPAGE="http://erratique.ch/software/uutf" +SRC_URI="http://erratique.ch/software/uutf/releases/${P}.tbz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt doc" + +RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +src_compile() { + pkg/build $(usex ocamlopt true false) || die +} + +src_test() { + if use ocamlopt ; then + ocamlbuild tests.otarget || die + cd _build/test || die + ./test.native || die + else + ewarn "Sorry, ${PN} tests require native support (ocamlopt)" + fi +} + +src_install() { + # Can't use opam-installer here as it is an opam dep... + findlib_src_preinst + local nativelibs="" + use ocamlopt && nativelibs="$(echo _build/src/uutf.cm{x,xa,xs} _build/src/uutf.a)" + ocamlfind install uutf _build/pkg/META _build/src/uutf.mli _build/src/uutf.cm{a,i} ${nativelibs} || die + newbin utftrip.$(usex ocamlopt native byte) utftrip + dodoc CHANGES.md README.md + use doc && dohtml -r doc/* +} |