aballier    14/11/29 14:53:17

  Modified:             ChangeLog
  Added:                camlp4-4.02.0_p1-r1.ebuild
  Removed:              camlp4-4.02.0_p1.ebuild
  Log:
  install properly so that the lib is found
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.2                  dev-ml/camlp4/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlp4/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   28 Nov 2014 16:48:24 -0000      1.1
+++ ChangeLog   29 Nov 2014 14:53:17 -0000      1.2
@@ -1,6 +1,12 @@
 # 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp4/ChangeLog,v 1.2 2014/11/29 
14:53:17 aballier Exp $
+
+*camlp4-4.02.0_p1-r1 (29 Nov 2014)
+
+  29 Nov 2014; Alexis Ballier <[email protected]> -camlp4-4.02.0_p1.ebuild,
+  +camlp4-4.02.0_p1-r1.ebuild:
+  install properly so that the lib is found
 
 *camlp4-4.02.0_p1 (28 Nov 2014)
 



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

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

Index: camlp4-4.02.0_p1-r1.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-r1.ebuild,v 
1.1 2014/11/29 14:53:17 aballier Exp $

EAPI=5

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="${D}$(ocamlc -where)" \
                --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