aballier 14/10/29 08:41:19 Added: metadata.xml ChangeLog uutf-0.9.3.ebuild Log: initial import, ebuild by Guillaume Horel in bug #527294 with a few modifications by me Signed-off-by: aball...@gentoo.org (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path 1.1 dev-ml/uutf/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/uutf/metadata.xml?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/uutf/metadata.xml?rev=1.1&content-type=text/plain Index: metadata.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>ml</herd> </pkgmetadata> 1.1 dev-ml/uutf/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/uutf/ChangeLog?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/uutf/ChangeLog?rev=1.1&content-type=text/plain Index: ChangeLog =================================================================== # 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 <aball...@gentoo.org> +uutf-0.9.3.ebuild, +metadata.xml: initial import, ebuild by Guillaume Horel in bug #527294 with a few modifications by me 1.1 dev-ml/uutf/uutf-0.9.3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/uutf/uutf-0.9.3.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/uutf/uutf-0.9.3.ebuild?rev=1.1&content-type=text/plain Index: uutf-0.9.3.ebuild =================================================================== # 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/* }