aballier    14/11/28 16:48:24

  Added:                metadata.xml ChangeLog camlp4-4.02.0_p1.ebuild
  Log:
  initial import, split out of dev-lang/ocaml
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  dev-ml/camlp4/metadata.xml

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

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

Index: ChangeLog
===================================================================
# ChangeLog for dev-ml/camlp4
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp4/ChangeLog,v 1.1 2014/11/28 
16:48:24 aballier Exp $

*camlp4-4.02.0_p1 (28 Nov 2014)

  28 Nov 2014; Alexis Ballier <[email protected]> +camlp4-4.02.0_p1.ebuild,
  +metadata.xml:
  initial import, split out of dev-lang/ocaml




1.1                  dev-ml/camlp4/camlp4-4.02.0_p1.ebuild

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

Index: camlp4-4.02.0_p1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp4/camlp4-4.02.0_p1.ebuild,v 1.1 
2014/11/28 16:48:24 aballier Exp $

EAPI=5

inherit multilib

MY_PV=${PV/_p/+}
MY_P=${PN}-${MY_PV}

DESCRIPTION="System for writing extensible parsers for programming languages"
HOMEPAGE="https://github.com/ocaml/camlp4";
SRC_URI="https://github.com/ocaml/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
IUSE="+ocamlopt"

DEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
RDEPEND="${DEPEND}
        !<dev-ml/findlib-1.5.5-r1"

S=${WORKDIR}/${P/_p/-}

src_configure() {
        ./configure \
                --bindir="${ED}/usr/bin" \
                --libdir="${ED}/usr/$(get_libdir)" \
                --pkgdir="${D}$(ocamlc -where)" \
                || die
}

src_compile() {
        emake byte
        use ocamlopt && emake native
}

src_install() {
        emake install install-META
        dodoc CHANGES.md README.md
}




Reply via email to