Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-zlib/
Date: Thu, 29 Oct 2015 23:06:22
Message-Id: 1446159958.8d534439e781edbe048078fb67cf2561e687fefc.mrueg@gentoo
1 commit: 8d534439e781edbe048078fb67cf2561e687fefc
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 29 23:05:46 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 29 23:05:58 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d534439
7
8 dev-lua/lua-zlib: Use proper mycmakeargs variable
9
10 Gentoo-Bug: #563892
11
12 Package-Manager: portage-2.2.23
13
14 dev-lua/lua-zlib/lua-zlib-0.4-r1.ebuild | 31 +++++++++++++++++++++++++++++++
15 1 file changed, 31 insertions(+)
16
17 diff --git a/dev-lua/lua-zlib/lua-zlib-0.4-r1.ebuild b/dev-lua/lua-zlib/lua-zlib-0.4-r1.ebuild
18 new file mode 100644
19 index 0000000..3a9bc37
20 --- /dev/null
21 +++ b/dev-lua/lua-zlib/lua-zlib-0.4-r1.ebuild
22 @@ -0,0 +1,31 @@
23 +# Copyright 1999-2015 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI=5
28 +
29 +inherit cmake-utils
30 +
31 +DESCRIPTION="Lua bindings to zlib"
32 +HOMEPAGE="https://github.com/brimworks/lua-zlib"
33 +SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~x86"
38 +IUSE=""
39 +
40 +RDEPEND="dev-lang/lua:0
41 + sys-libs/zlib"
42 +DEPEND="${RDEPEND}
43 + virtual/pkgconfig"
44 +
45 +src_unpack() {
46 + unpack ${A}
47 + mv *-${PN}-* "${S}" || die
48 +}
49 +
50 +src_configure() {
51 + local mycmakeargs="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'"
52 + cmake-utils_src_configure
53 +}