/[gentoo-x86]/dev-ml/bin-prot/bin-prot-1.2.18.ebuild
Gentoo

Contents of /dev-ml/bin-prot/bin-prot-1.2.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Sep 26 12:21:20 2009 UTC (10 years, 10 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump
(Portage version: 2.2_rc42/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ml/bin-prot/bin-prot-1.2.18.ebuild,v 1.2 2009/09/19 20:53:37 mr_bones_ Exp $
4
5 EAPI="2"
6
7 inherit findlib
8
9 DESCRIPTION="Automated code generation for converting OCaml values to/from a type-safe binary protocol"
10 HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
11 SRC_URI="http://ocaml.info/ocaml_sources/${P}.tar.gz"
12
13 LICENSE="LGPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE="doc test"
17 S=${WORKDIR}/${P}/lib
18
19 RDEPEND=">=dev-lang/ocaml-3.11[ocamlopt]
20 dev-ml/type-conv"
21 DEPEND="${RDEPEND}
22 test? ( dev-ml/ounit )
23 doc? ( virtual/latex-base )"
24
25 src_compile() {
26 emake -j1 CFLAGS="${CFLAGS}" || die
27 }
28
29 src_test() {
30 cd "${S}/../lib_test"
31 emake -j1 || die
32 ./test_runner || die
33 }
34
35 src_install() {
36 findlib_src_preinst
37 emake install || die "make install failed"
38 dodoc ../README.txt ../Changelog
39 if use doc; then
40 cd ../doc
41 pdflatex README.tex
42 dodoc README.pdf
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20