Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lutok/
Date: Sun, 26 Jan 2020 18:18:34
Message-Id: 1580062704.796cc406d828dae78346be8a470071bb3039809e.floppym@gentoo
1 commit: 796cc406d828dae78346be8a470071bb3039809e
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 18:16:17 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 26 18:18:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796cc406
7
8 dev-lua/lutok: bump to EAPI 7
9
10 Also install both shared and static libs.
11
12 Package-Manager: Portage-2.3.85_p2, Repoman-2.3.20_p36
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14
15 dev-lua/lutok/lutok-0.4-r2.ebuild | 31 +++++++++++++++++++++++++++++++
16 1 file changed, 31 insertions(+)
17
18 diff --git a/dev-lua/lutok/lutok-0.4-r2.ebuild b/dev-lua/lutok/lutok-0.4-r2.ebuild
19 new file mode 100644
20 index 00000000000..e658241e6ac
21 --- /dev/null
22 +++ b/dev-lua/lutok/lutok-0.4-r2.ebuild
23 @@ -0,0 +1,31 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +DESCRIPTION="Lightweight C++ API library for Lua"
30 +HOMEPAGE="https://github.com/jmmv/lutok"
31 +SRC_URI="https://github.com/jmmv/lutok/releases/download/${P}/${P}.tar.gz"
32 +
33 +LICENSE="BSD"
34 +SLOT="0"
35 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
36 +IUSE="test"
37 +RESTRICT="!test? ( test )"
38 +
39 +RDEPEND="
40 + dev-lang/lua:0
41 +"
42 +DEPEND="${RDEPEND}
43 + virtual/pkgconfig
44 + test? (
45 + dev-libs/atf
46 + dev-util/kyua
47 + )
48 +"
49 +
50 +src_install() {
51 + default
52 + rm -rf "${ED}"/usr/tests || die
53 + find "${ED}" -name '*.la' -type f -delete || die
54 +}