1 |
commit: 377e087aadffe4dc813f9e46128a0e915077ab29 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 9 13:34:25 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 9 13:34:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377e087a |
7 |
|
8 |
dev-lua/md5: drop 1.3 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-lua/md5/md5-1.3.ebuild | 85 ---------------------------------------------- |
13 |
1 file changed, 85 deletions(-) |
14 |
|
15 |
diff --git a/dev-lua/md5/md5-1.3.ebuild b/dev-lua/md5/md5-1.3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 95caf85b7d2f..000000000000 |
18 |
--- a/dev-lua/md5/md5-1.3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,85 +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 |
- |
28 |
-inherit lua |
29 |
- |
30 |
-DESCRIPTION="Offers basic cryptographic facilities for Lua" |
31 |
-HOMEPAGE="https://github.com/keplerproject/md5" |
32 |
-SRC_URI="https://github.com/keplerproject/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="MIT" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
37 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
38 |
- |
39 |
-RDEPEND="${LUA_DEPS}" |
40 |
-DEPEND="${RDEPEND}" |
41 |
- |
42 |
-src_prepare() { |
43 |
- default |
44 |
- |
45 |
- lua_copy_sources |
46 |
-} |
47 |
- |
48 |
-src_configure() { |
49 |
- # Provided 'configure' script is useless. |
50 |
- :; |
51 |
-} |
52 |
- |
53 |
-lua_src_compile() { |
54 |
- pushd "${BUILD_DIR}" || die |
55 |
- |
56 |
- local myemakeargs=( |
57 |
- "CC=$(tc-getCC)" |
58 |
- "CFLAGS=${CFLAGS} $(lua_get_CFLAGS) ${LDFLAGS}" |
59 |
- ) |
60 |
- |
61 |
- emake "${myemakeargs[@]}" |
62 |
- |
63 |
- popd |
64 |
-} |
65 |
- |
66 |
-src_compile() { |
67 |
- lua_foreach_impl lua_src_compile |
68 |
-} |
69 |
- |
70 |
-lua_src_test() { |
71 |
- pushd "${BUILD_DIR}/src" || die |
72 |
- |
73 |
- # Workaround for tests. |
74 |
- ln -s core.so md5.so || die |
75 |
- |
76 |
- "${ELUA}" ../tests/test.lua |
77 |
- |
78 |
- popd |
79 |
-} |
80 |
- |
81 |
-src_test() { |
82 |
- lua_foreach_impl lua_src_test |
83 |
-} |
84 |
- |
85 |
-lua_src_install() { |
86 |
- pushd "${BUILD_DIR}" || die |
87 |
- |
88 |
- # Workaround, as 'Makefile' does not create this directory. |
89 |
- dodir "$(lua_get_cmod_dir)" |
90 |
- |
91 |
- local myemakeargs=( |
92 |
- "LUA_DIR=${ED}/$(lua_get_lmod_dir)" |
93 |
- "LUA_LIBDIR=${ED}/$(lua_get_cmod_dir)" |
94 |
- ) |
95 |
- |
96 |
- emake "${myemakeargs[@]}" install |
97 |
- |
98 |
- popd |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- lua_foreach_impl lua_src_install |
103 |
- |
104 |
- einstalldocs |
105 |
-} |