1 |
commit: 0467fc79b2fa6b8216bc0130b422c81e58902413 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 21 16:46:43 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 21 16:47:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0467fc79 |
7 |
|
8 |
dev-lua/luasec: drop 1.0.2 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-lua/luasec/luasec-1.0.2.ebuild | 86 -------------------------------------- |
13 |
1 file changed, 86 deletions(-) |
14 |
|
15 |
diff --git a/dev-lua/luasec/luasec-1.0.2.ebuild b/dev-lua/luasec/luasec-1.0.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index a001f3ea42e7..000000000000 |
18 |
--- a/dev-lua/luasec/luasec-1.0.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,86 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
27 |
-LUA_REQ_USE="deprecated(+)" |
28 |
- |
29 |
-inherit lua toolchain-funcs |
30 |
- |
31 |
-DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication" |
32 |
-HOMEPAGE="https://github.com/brunoos/luasec" |
33 |
-SRC_URI="https://github.com/brunoos/luasec/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="MIT" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86" |
38 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- dev-lua/luasocket[${LUA_USEDEP}] |
42 |
- dev-libs/openssl:0= |
43 |
- ${LUA_DEPS} |
44 |
-" |
45 |
-DEPEND="${RDEPEND}" |
46 |
-BDEPEND="virtual/pkgconfig" |
47 |
- |
48 |
-lua_src_prepare() { |
49 |
- pushd "${BUILD_DIR}" || die |
50 |
- |
51 |
- ${ELUA} src/options.lua -g /usr/include/openssl/ssl.h > src/options.c || die |
52 |
- |
53 |
- popd |
54 |
-} |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- |
59 |
- # Respect users CFLAGS |
60 |
- sed -e 's/-O2//g' -i src/Makefile || die |
61 |
- |
62 |
- lua_copy_sources |
63 |
- |
64 |
- lua_foreach_impl lua_src_prepare |
65 |
-} |
66 |
- |
67 |
-lua_src_compile() { |
68 |
- pushd "${BUILD_DIR}" || die |
69 |
- |
70 |
- local myemakeargs=( |
71 |
- "CC=$(tc-getCC)" |
72 |
- "LD=$(tc-getCC)" |
73 |
- "INC_PATH=-I$(lua_get_include_dir)" |
74 |
- "LIB_PATH=$(lua_get_CFLAGS)" |
75 |
- "MYCFLAGS=${CFLAGS}" |
76 |
- "MYLDFLAGS=${LDFLAGS}" |
77 |
- ) |
78 |
- |
79 |
- emake "${myemakeargs[@]}" linux |
80 |
- |
81 |
- popd |
82 |
-} |
83 |
- |
84 |
-src_compile() { |
85 |
- lua_foreach_impl lua_src_compile |
86 |
-} |
87 |
- |
88 |
-lua_src_install() { |
89 |
- pushd "${BUILD_DIR}" || die |
90 |
- |
91 |
- local emakeargs=( |
92 |
- "DESTDIR=${ED}" |
93 |
- "LUAPATH=$(lua_get_lmod_dir)" |
94 |
- "LUACPATH=$(lua_get_cmod_dir)" |
95 |
- ) |
96 |
- |
97 |
- emake "${emakeargs[@]}" install |
98 |
- |
99 |
- popd |
100 |
-} |
101 |
- |
102 |
-src_install() { |
103 |
- lua_foreach_impl lua_src_install |
104 |
- |
105 |
- einstalldocs |
106 |
-} |