From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/labltk: metadata.xml ChangeLog labltk-8.06.0.ebuild |
Date: | Fri, 28 Nov 2014 16:07:18 |
Message-Id: | 20141128160712.9F775B18B@oystercatcher.gentoo.org |
1 | aballier 14/11/28 16:07:12 |
2 | |
3 | Added: metadata.xml ChangeLog labltk-8.06.0.ebuild |
4 | Log: |
5 | Initial import, split out of dev-lang/ocaml |
6 | |
7 | Signed-off-by: aballier@g.o |
8 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
9 | |
10 | Revision Changes Path |
11 | 1.1 dev-ml/labltk/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/labltk/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/labltk/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>ml</herd> |
22 | </pkgmetadata> |
23 | |
24 | |
25 | |
26 | 1.1 dev-ml/labltk/ChangeLog |
27 | |
28 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/labltk/ChangeLog?rev=1.1&view=markup |
29 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/labltk/ChangeLog?rev=1.1&content-type=text/plain |
30 | |
31 | Index: ChangeLog |
32 | =================================================================== |
33 | # ChangeLog for dev-ml/labltk |
34 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
35 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/labltk/ChangeLog,v 1.1 2014/11/28 16:07:12 aballier Exp $ |
36 | |
37 | *labltk-8.06.0 (28 Nov 2014) |
38 | |
39 | 28 Nov 2014; Alexis Ballier <aballier@g.o> +labltk-8.06.0.ebuild, |
40 | +files/findlib.patch, +metadata.xml: |
41 | Initial import, split out of dev-lang/ocaml |
42 | |
43 | |
44 | |
45 | |
46 | 1.1 dev-ml/labltk/labltk-8.06.0.ebuild |
47 | |
48 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/labltk/labltk-8.06.0.ebuild?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/labltk/labltk-8.06.0.ebuild?rev=1.1&content-type=text/plain |
50 | |
51 | Index: labltk-8.06.0.ebuild |
52 | =================================================================== |
53 | # Copyright 1999-2014 Gentoo Foundation |
54 | # Distributed under the terms of the GNU General Public License v2 |
55 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/labltk/labltk-8.06.0.ebuild,v 1.1 2014/11/28 16:07:12 aballier Exp $ |
56 | |
57 | EAPI=5 |
58 | |
59 | inherit findlib eutils |
60 | |
61 | DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework" |
62 | HOMEPAGE="https://forge.ocamlcore.org/projects/labltk/" |
63 | SRC_URI="https://forge.ocamlcore.org/frs/download.php/1455/${P}.tar.gz" |
64 | |
65 | LICENSE="QPL-1.0 LGPL-2" |
66 | SLOT="0" |
67 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux" |
68 | IUSE="+ocamlopt" |
69 | |
70 | RDEPEND=">=dev-lang/tk-8.0.3 |
71 | >=dev-lang/ocaml-4.02:=[ocamlopt?]" |
72 | DEPEND="${RDEPEND}" |
73 | |
74 | src_prepare() { |
75 | epatch "${FILESDIR}/findlib.patch" |
76 | } |
77 | |
78 | src_configure() { |
79 | ./configure --use-findlib || die "configure failed!" |
80 | } |
81 | |
82 | src_compile() { |
83 | emake |
84 | use ocamlopt && emake opt |
85 | } |
86 | |
87 | src_install() { |
88 | findlib_src_preinst |
89 | dodir /usr/bin |
90 | emake \ |
91 | INSTALLDIR="${D}$(ocamlc -where)/labltk" \ |
92 | INSTALLBINDIR="${ED}/usr/bin/" \ |
93 | install |
94 | dodoc Changes README.mlTk |
95 | } |