aballier    14/10/29 08:32:31

  Added:                metadata.xml ChangeLog cmdliner-0.9.5.ebuild
  Log:
  initial import, ebuild by Guillaume Horel in bug #520060 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/cmdliner/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cmdliner/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cmdliner/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/cmdliner/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cmdliner/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cmdliner/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-ml/cmdliner
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cmdliner/ChangeLog,v 1.1 2014/10/29 
08:32:31 aballier Exp $

*cmdliner-0.9.5 (29 Oct 2014)

  29 Oct 2014; Alexis Ballier <aball...@gentoo.org> +cmdliner-0.9.5.ebuild,
  +metadata.xml:
  initial import, ebuild by Guillaume Horel in bug #520060 with a few
  modifications by me




1.1                  dev-ml/cmdliner/cmdliner-0.9.5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cmdliner/cmdliner-0.9.5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cmdliner/cmdliner-0.9.5.ebuild?rev=1.1&content-type=text/plain

Index: cmdliner-0.9.5.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cmdliner/cmdliner-0.9.5.ebuild,v 1.1 
2014/10/29 08:32:31 aballier Exp $

EAPI=5

inherit findlib

DESCRIPTION="Declarative definition of command line interfaces for OCaml"
HOMEPAGE="http://erratique.ch/software/cmdliner";
SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz";

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="doc +ocamlopt"

DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]"
RDEPEND="${DEPEND}"

src_compile() {
        ocaml pkg/build.ml \
                native=$(usex ocamlopt true false) \
                native-dynlink=$(usex ocamlopt true false) \
                || die
}

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/cmdliner.cm{x,xa,xs} 
_build/src/cmdliner.a)"
        ocamlfind install cmdliner _build/pkg/META \
                _build/src/cmdliner.mli _build/src/cmdliner.cm{a,i} 
${nativelibs} || die
        dodoc README.md TODO.md CHANGES.md
        use doc && dohtml -r doc/
}




Reply via email to