/[gentoo-x86]/dev-ml/camomile/camomile-0.8.4.ebuild
Gentoo

Contents of /dev-ml/camomile/camomile-0.8.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue May 29 19:38:32 2012 UTC (2 years, 3 months ago) by ranger
Branch: MAIN
Changes since 1.2: +2 -2 lines
Marking camomile-0.8.4 ppc for bug 416529

(Portage version: 2.1.10.49/cvs/Linux ppc64)

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/camomile/camomile-0.8.4.ebuild,v 1.2 2012/05/22 05:47:52 jdhore Exp $
4
5 EAPI="2"
6
7 inherit findlib eutils
8
9 DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml."
10 HOMEPAGE="http://github.com/yoriyuki/Camomile/wiki"
11 SRC_URI="http://github.com/downloads/yoriyuki/Camomile/${P}.tar.bz2"
12
13 LICENSE="LGPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ppc x86"
16 IUSE="debug +ocamlopt"
17
18 RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
19 DEPEND="${RDEPEND}"
20
21 src_configure() {
22 econf $(use_enable debug)
23 }
24
25 src_compile() {
26 emake -j1 byte unidata unimaps charmap_data locale_data || die "failed to build"
27 if use ocamlopt; then
28 emake -j1 opt || die "failed to build native code"
29 fi
30 }
31
32 src_install() {
33 dodir /usr/bin
34 findlib_src_install DATADIR="${D}/usr/share" BINDIR="${D}/usr/bin"
35 }

  ViewVC Help
Powered by ViewVC 1.1.20