/[gentoo-x86]/dev-ml/opam/opam-1.2.2.ebuild
Gentoo

Contents of /dev-ml/opam/opam-1.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon May 11 06:35:30 2015 UTC (4 years, 9 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
version bump

Signed-off-by: Alexis Ballier <aballier@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 aballier 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-ml/opam/opam-1.2.1.ebuild,v 1.1 2015/03/23 08:59:54 aballier Exp $
4    
5     EAPI=5
6    
7     inherit eutils
8    
9     DESCRIPTION="A source-based package manager for OCaml"
10     HOMEPAGE="http://opam.ocaml.org/"
11     LICENSE="LGPL-3-with-linking-exception"
12     SLOT="0"
13     KEYWORDS="~amd64"
14     IUSE=""
15    
16     if [[ ${PV} != 9999 ]]; then
17     SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
18     else
19     inherit git-r3
20     EGIT_REPO_URI="https://github.com/ocaml/opam.git"
21     fi
22    
23     DEPEND="dev-lang/ocaml:=
24     || ( net-misc/wget net-misc/curl )
25     dev-ml/extlib:=
26     dev-ml/ocaml-re:=
27     dev-ml/ocamlgraph:=
28     dev-ml/cmdliner:=
29     dev-ml/cudf:=
30     dev-ml/dose3:=
31     dev-ml/uutf:=
32     dev-ml/jsonm:=
33     "
34     RDEPEND="${DEPEND}
35     dev-ml/findlib
36     "
37    
38     src_compile() {
39     emake -j1
40     cd doc
41     emake man
42     }
43    
44     src_test() {
45     EMAIL=foo@bar.com emake -j1 tests
46     }
47    
48     src_install() {
49     default
50     emake DESTDIR="${D}" OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" libinstall
51     }

  ViewVC Help
Powered by ViewVC 1.1.20