1 |
commit: 976a6fb5d4eb02c9757206713c755205a5b4efd9 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 15:35:38 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 29 15:35:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976a6fb5 |
7 |
|
8 |
dev-lua/luasocket: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
.../luasocket-3.0_rc1_p20200328-r100.ebuild | 90 ---------------------- |
14 |
1 file changed, 90 deletions(-) |
15 |
|
16 |
diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild |
17 |
deleted file mode 100644 |
18 |
index 479cb3ff4ee..00000000000 |
19 |
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,90 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62" |
28 |
-LUA_COMPAT=( lua5-{1..3} ) |
29 |
-LUA_REQ_USE="${MULTILIB_USEDEP}" |
30 |
- |
31 |
-inherit flag-o-matic lua multilib multilib-minimal toolchain-funcs |
32 |
- |
33 |
-DESCRIPTION="Networking support library for the Lua language" |
34 |
-HOMEPAGE=" |
35 |
- http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/ |
36 |
- https://github.com/diegonehab/luasocket |
37 |
-" |
38 |
-SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
39 |
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}" |
40 |
- |
41 |
-LICENSE="MIT" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
44 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
45 |
-RESTRICT="test" |
46 |
- |
47 |
-RDEPEND="${LUA_DEPS}" |
48 |
-DEPEND="${RDEPEND}" |
49 |
-BDEPEND="virtual/pkgconfig" |
50 |
- |
51 |
-HTML_DOCS="doc/." |
52 |
- |
53 |
-src_prepare() { |
54 |
- default |
55 |
- |
56 |
- # Respect users CFLAGS |
57 |
- sed -e 's/-O2 -ggdb3//g' -i src/makefile || die |
58 |
- |
59 |
- # Workaround for 32-bit systems |
60 |
- append-cflags -fno-stack-protector |
61 |
- |
62 |
- multilib_copy_sources |
63 |
-} |
64 |
- |
65 |
-lua_multilib_src_compile() { |
66 |
- # Clean project, to compile it for every lua slot |
67 |
- emake clean |
68 |
- |
69 |
- local myemakeargs=( |
70 |
- "CC=$(tc-getCC)" |
71 |
- "LD=$(tc-getCC)" |
72 |
- "LDFLAGS_linux=-O -fpic -shared -o" |
73 |
- "LUAINC_linux=$(lua_get_include_dir)" |
74 |
- "LUAV=${ELUA}" |
75 |
- "MIME_V=1.0.3-${ELUA}" |
76 |
- "MYCFLAGS=${CFLAGS}" |
77 |
- "MYLDFLAGS=${LDFLAGS}" |
78 |
- "SOCKET_V=3.0-rc1-${ELUA}" |
79 |
- ) |
80 |
- |
81 |
- emake "${myemakeargs[@]}" all |
82 |
-} |
83 |
- |
84 |
-multilib_src_compile() { |
85 |
- lua_foreach_impl lua_multilib_src_compile |
86 |
-} |
87 |
- |
88 |
-lua_multilib_src_install() { |
89 |
- local myemakeargs=( |
90 |
- "CDIR=$(lua_get_cmod_dir)" |
91 |
- "DESTDIR=${ED}" |
92 |
- "LDIR=$(lua_get_lmod_dir)" |
93 |
- "LUAPREFIX_linux=" |
94 |
- "MIME_V=1.0.3-${ELUA}" |
95 |
- "SOCKET_V=3.0-rc1-${ELUA}" |
96 |
- ) |
97 |
- |
98 |
- emake "${myemakeargs[@]}" install |
99 |
- emake "${myemakeargs[@]}" install-unix |
100 |
- |
101 |
- insinto "$(lua_get_include_dir)"/luasocket |
102 |
- doins src/*.h |
103 |
-} |
104 |
- |
105 |
-multilib_src_install() { |
106 |
- lua_foreach_impl lua_multilib_src_install |
107 |
-} |
108 |
- |
109 |
-multilib_src_install_all() { |
110 |
- einstalldocs |
111 |
-} |