aballier 14/10/30 16:34:02 Modified: ChangeLog Added: xml-light-2.2-r3.ebuild Log: build & install native binaries if wanted, bug #520100 by José Romildo Malaquias Signed-off-by: [email protected] (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path 1.11 dev-ml/xml-light/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xml-light/ChangeLog?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xml-light/ChangeLog?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xml-light/ChangeLog?r1=1.10&r2=1.11 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ml/xml-light/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ChangeLog 3 Mar 2014 23:38:59 -0000 1.10 +++ ChangeLog 30 Oct 2014 16:34:02 -0000 1.11 @@ -1,6 +1,12 @@ # ChangeLog for dev-ml/xml-light # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/xml-light/ChangeLog,v 1.10 2014/03/03 23:38:59 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/xml-light/ChangeLog,v 1.11 2014/10/30 16:34:02 aballier Exp $ + +*xml-light-2.2-r3 (30 Oct 2014) + + 30 Oct 2014; Alexis Ballier <[email protected]> +xml-light-2.2-r3.ebuild: + build & install native binaries if wanted, bug #520100 by José Romildo + Malaquias 03 Mar 2014; Pacho Ramos <[email protected]> xml-light-2.2-r2.ebuild: amd64 stable, bug #492064 1.1 dev-ml/xml-light/xml-light-2.2-r3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xml-light/xml-light-2.2-r3.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xml-light/xml-light-2.2-r3.ebuild?rev=1.1&content-type=text/plain Index: xml-light-2.2-r3.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ml/xml-light/xml-light-2.2-r3.ebuild,v 1.1 2014/10/30 16:34:02 aballier Exp $ EAPI=5 inherit eutils multilib DESCRIPTION="Minimal Xml parser and printer for OCaml" HOMEPAGE="http://tech.motion-twin.com/xmllight.html" SRC_URI="http://tech.motion-twin.com/zip/${P}.zip" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" IUSE="doc +ocamlopt" RDEPEND="dev-lang/ocaml:=[ocamlopt?]" DEPEND="app-arch/unzip ${RDEPEND}" S="${WORKDIR}/${PN}" src_prepare() { EPATCH_FORCE=yes EPATCH_SUFFIX=dpatch EPATCH_SOURCE="${FILESDIR}" \ epatch } src_compile() { emake -j1 if use ocamlopt; then emake -j1 opt fi if use doc;then emake doc fi } src_test() { # There are no tests... : } src_install() { dodir /usr/$(get_libdir)/ocaml/${PN} emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml/${PN} install cat > "${D}"/usr/$(get_libdir)/ocaml/${PN}/META << EOF name="${PN}" version="${PV}" description="${DESCRIPTION}" requires="" archive(byte)="xml-light.cma" EOF if use ocamlopt; then emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml/${PN} installopt echo 'archive(native)="xml-light.cmxa"' >> "${D}"/usr/$(get_libdir)/ocaml/${PN}/META fi dodoc README if use doc; then emake doc dohtml doc/* fi }
