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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 2 18:14:07 2013 UTC (7 years, 5 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

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

  ViewVC Help
Powered by ViewVC 1.1.20