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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Aug 7 16:23:28 2012 UTC (8 years ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 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-2.0.3.ebuild,v 1.4 2012/07/09 20:51:07 ulm Exp $
4
5 EAPI=3
6
7 inherit oasis
8
9 DESCRIPTION="A binary protocol generator"
10 HOMEPAGE="http://ocaml.janestreet.com/?q=node/13"
11 SRC_URI="http://www.janestreet.com/ocaml/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1-with-linking-exception"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE="doc"
17
18 RDEPEND=">=dev-ml/ounit-1.0.2
19 >=dev-ml/type-conv-2.3.0"
20 DEPEND="${RDEPEND}
21 doc? ( virtual/latex-base dev-texlive/texlive-latexextra )"
22
23 DOCS=( "README.txt" "Changelog" )
24
25 src_compile() {
26 oasis_src_compile
27 if use doc ; then
28 cd "${S}/doc"
29 pdflatex README || die
30 pdflatex README || die
31 fi
32 }
33
34 src_install() {
35 oasis_src_install
36
37 if use doc; then
38 dodoc doc/README.pdf || die
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20