Сравнение camlidl-1.05-r1 с camlidl-1.11

/usr/portage/dev-ml/camlidl/camlidl-1.11.ebuild 2023-10-09 14:52:29.784368358 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8
DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml"
9
HOMEPAGE="http://caml.inria.fr/camlidl/"
10
SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz"
8
DESCRIPTION="Stub code generator for OCaml"
9
HOMEPAGE="https://github.com/xavierleroy/camlidl"
10
SRC_URI="https://github.com/xavierleroy/${PN}/archive/${PN}$(ver_rs 0-1 '').tar.gz"
11 11

  
12 12
LICENSE="QPL-1.0 LGPL-2"
13 13
SLOT="0/${PV}"
......
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

  
19 21
PATCHES=(
20
	"${FILESDIR}/tests.patch"
21
	"${FILESDIR}/includes.patch"
22 22
	"${FILESDIR}/nowarn.patch"
23 23
)
24 24

  
......
39 39
	ln -s Makefile.unix config/Makefile || die
40 40

  
41 41
	# Make
42
	emake -j1 RANLIB="$(tc-getRANLIB)"
42
	emake depend
43
	emake -j1 RANLIB="$(tc-getRANLIB)" CPP="$(tc-getPROG CPP cpp)"
43 44
}
44 45

  
45 46
src_test() {
46 47
	einfo "Running tests..."
47 48
	cd tests || die
48
	emake CCPP="$(tc-getCXX)"
49
	emake CCPP="$(tc-getCXX)" CC="$(tc-getCC)"
49 50
}
50 51

  
51 52
src_install() {
......
53 54
	dodir "${libdir#${EPREFIX}}"/caml
54 55

  
55 56
	dodir /usr/bin
57
	dodir /usr/$(get_libdir)/ocaml/stublibs
56 58
	# Install
57 59
	emake BINDIR="${ED}/usr/bin" OCAMLLIB="${D}${libdir}" RANLIB="$(tc-getRANLIB)" install
58 60

  
Спасибо!