Diff camlidl-1.09 with a camlidl-1.05-r1
/usr/portage/dev-ml/camlidl/camlidl-1.05-r1.ebuild 2023-10-09 14:52:29.784368358 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
7 | 7 | |
8 | 8 |
DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml" |
9 | 9 |
HOMEPAGE="http://caml.inria.fr/camlidl/" |
10 |
SRC_URI="https://github.com/xavierleroy/${PN}/archive/${PN}$(ver_rs 0-1 '').tar.gz" |
|
10 |
SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz" |
|
11 | 11 | |
12 | 12 |
LICENSE="QPL-1.0 LGPL-2" |
13 | 13 |
SLOT="0/${PV}" |
14 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
|
14 |
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" |
|
15 | 15 | |
16 | 16 |
DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]" |
17 | 17 |
RDEPEND="${DEPEND}" |
18 | 18 | |
19 |
S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '') |
|
20 | ||
21 | 19 |
PATCHES=( |
20 |
"${FILESDIR}/tests.patch" |
|
21 |
"${FILESDIR}/includes.patch" |
|
22 | 22 |
"${FILESDIR}/nowarn.patch" |
23 |
"${FILESDIR}"/${P}.parallelMake.patch |
|
24 | 23 |
) |
25 | 24 | |
26 | 25 |
src_prepare() { |
... | ... | |
40 | 39 |
ln -s Makefile.unix config/Makefile || die |
41 | 40 | |
42 | 41 |
# Make |
43 |
emake depend |
|
44 |
emake -j1 RANLIB="$(tc-getRANLIB)" CPP="$(tc-getPROG CPP cpp)" |
|
42 |
emake -j1 RANLIB="$(tc-getRANLIB)" |
|
45 | 43 |
} |
46 | 44 | |
47 | 45 |
src_test() { |
48 | 46 |
einfo "Running tests..." |
49 | 47 |
cd tests || die |
50 |
emake CCPP="$(tc-getCXX)" CC="$(tc-getCC)" |
|
48 |
emake CCPP="$(tc-getCXX)" |
|
51 | 49 |
} |
52 | 50 | |
53 | 51 |
src_install() { |
... | ... | |
55 | 53 |
dodir "${libdir#${EPREFIX}}"/caml |
56 | 54 | |
57 | 55 |
dodir /usr/bin |
58 |
dodir /usr/$(get_libdir)/ocaml/stublibs |
|
59 | 56 |
# Install |
60 | 57 |
emake BINDIR="${ED}/usr/bin" OCAMLLIB="${D}${libdir}" RANLIB="$(tc-getRANLIB)" install |
61 | 58 |