1 |
commit: 6899a4e4f42be62e9150d22fa5a88ff0ffffb339 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 31 14:03:56 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 31 14:03:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6899a4e4 |
7 |
|
8 |
dev-lua/luaevent: version bump to 0.4.6 |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-lua/luaevent/Manifest | 1 + |
14 |
dev-lua/luaevent/luaevent-0.4.6.ebuild | 40 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-lua/luaevent/Manifest b/dev-lua/luaevent/Manifest |
18 |
index d55339bdf77..5324d59c933 100644 |
19 |
--- a/dev-lua/luaevent/Manifest |
20 |
+++ b/dev-lua/luaevent/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST luaevent-0.4.3.tar.gz 29861 BLAKE2B aa1a2bf3ac708f012fc168616ac19deef55b805deff9e02464d089efa1fe88084103f3638a0443d6df0a699ab95730469f6d15107d4eb2dbcc112412a41a43d4 SHA512 5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161 |
23 |
DIST luaevent-0.4.4.tar.gz 22249 BLAKE2B f4375e02a4a0e2a4517e559b6625188bc0b577f5dc2ce843ba2d9b8811f2953a3255ebf7ee28313731ecc5c7c4877ef78c119a4633361eea2f915426b6a92a2e SHA512 2f2d669e645c3186d5060f2a5358fed4756087e173bd94431cf74b158fc25ff8de4640f1a832704d1431a7b10797385a449ae79ce049e98edc414260cd4c85ea |
24 |
+DIST luaevent-0.4.6.tar.gz 22599 BLAKE2B 2f70ef105ce43d6b48e69bcc896e20a64ca49e124ad979f5191606d10bb61de1664782016b55cc9f2bc32a704d8f0b4d664eebd8176905f72f9a4e3d1e8b0fdd SHA512 21e222d5bba75fd2e623a8abf20fc3cd38505bf7d3fe94d8781ed626556c398a8501775eb423f0567918cc75f2d846026d4aa559ac5129eca8261f0c73427913 |
25 |
|
26 |
diff --git a/dev-lua/luaevent/luaevent-0.4.6.ebuild b/dev-lua/luaevent/luaevent-0.4.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..84700e9d48e |
29 |
--- /dev/null |
30 |
+++ b/dev-lua/luaevent/luaevent-0.4.6.ebuild |
31 |
@@ -0,0 +1,40 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+ |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="libevent bindings for Lua" |
40 |
+HOMEPAGE="http://luaforge.net/projects/luaevent" |
41 |
+SRC_URI="https://github.com/harningt/luaevent/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND="dev-lang/lua:0 |
49 |
+ dev-libs/libevent:0=" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ virtual/pkgconfig" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ sed -i "s:^CFLAGS =:CFLAGS +=:" "${S}/Makefile" \ |
55 |
+ || die "sed failed" |
56 |
+ sed -i "s:^LDFLAGS =:LDFLAGS +=:" "${S}/Makefile" \ |
57 |
+ || die "sed failed" |
58 |
+ sed -i "/^LDFLAGS/a CC = $(tc-getCC)" "${S}/Makefile" \ |
59 |
+ || die "sed failed" |
60 |
+ sed -i "s:^LUA_INC_DIR ?=.*:LUA_INC_DIR ?= $(pkg-config --variable INSTALL_INC lua):" "${S}/Makefile" \ |
61 |
+ || die "sed failed" |
62 |
+ sed -i "s:^INSTALL_DIR_LUA ?=.*:INSTALL_DIR_LUA ?= $(pkg-config --variable INSTALL_LMOD lua):" "${S}/Makefile" \ |
63 |
+ || die "sed failed" |
64 |
+ sed -i "s:^INSTALL_DIR_BIN ?=.*:INSTALL_DIR_BIN ?= $(pkg-config --variable INSTALL_CMOD lua):" "${S}/Makefile" \ |
65 |
+ || die "sed failed" |
66 |
+ eapply_user |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ emake DESTDIR="${D}" install || die "Install failed" |
71 |
+} |