1 |
commit: b5290f5be23ddd3e6a293d28de806aa015dc066e |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 15:32:28 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 29 15:32:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5290f5b |
7 |
|
8 |
dev-lua/luafilesystem: 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 |
.../luafilesystem/luafilesystem-1.8.0-r100.ebuild | 82 ---------------------- |
14 |
1 file changed, 82 deletions(-) |
15 |
|
16 |
diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild b/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild |
17 |
deleted file mode 100644 |
18 |
index a1e0b4c454b..00000000000 |
19 |
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,82 +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 |
-LUA_COMPAT=( lua5-{1..3} luajit ) |
28 |
- |
29 |
-inherit lua toolchain-funcs |
30 |
- |
31 |
-MY_PV=${PV//./_} |
32 |
- |
33 |
-DESCRIPTION="File System Library for the Lua programming language" |
34 |
-HOMEPAGE="https://keplerproject.github.io/luafilesystem/" |
35 |
-SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
36 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
37 |
- |
38 |
-LICENSE="MIT" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
41 |
-IUSE="test" |
42 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
43 |
-RESTRICT="!test? ( test )" |
44 |
- |
45 |
-RDEPEND="${LUA_DEPS}" |
46 |
-DEPEND="${RDEPEND}" |
47 |
-BDEPEND=" |
48 |
- virtual/pkgconfig |
49 |
- test? ( ${RDEPEND} ) |
50 |
-" |
51 |
- |
52 |
-HTML_DOCS=( "doc/us/." ) |
53 |
- |
54 |
-lua_src_prepare() { |
55 |
- cat > "config-${ELUA}" <<-EOF |
56 |
- CC=$(tc-getCC) |
57 |
- DESTDIR=${ED} |
58 |
- CFLAGS=${CFLAGS} $(lua_get_CFLAGS) -fPIC |
59 |
- LIB_OPTION=${LDFLAGS} -shared |
60 |
- LUA_LIBDIR=$(lua_get_cmod_dir) |
61 |
- EOF |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- |
67 |
- lua_foreach_impl lua_src_prepare |
68 |
-} |
69 |
- |
70 |
-lua_src_compile() { |
71 |
- # Clean project to compile it for every lua slot |
72 |
- emake clean |
73 |
- |
74 |
- emake CONFIG="config-${ELUA}" |
75 |
- |
76 |
- # Copy module to match the choosen LUA implementation |
77 |
- cp "src/lfs.so" "src/lfs-${ELUA}.so" || die |
78 |
-} |
79 |
- |
80 |
-src_compile() { |
81 |
- lua_foreach_impl lua_src_compile |
82 |
-} |
83 |
- |
84 |
-lua_src_test() { |
85 |
- LUA_CPATH="src/lfs-${ELUA}.so" ${ELUA} tests/test.lua || die |
86 |
-} |
87 |
- |
88 |
-src_test() { |
89 |
- lua_foreach_impl lua_src_test |
90 |
-} |
91 |
- |
92 |
-lua_src_install() { |
93 |
- # Use correct module for the choosen LUA implementation |
94 |
- cp "src/lfs-${ELUA}.so" "src/lfs.so" || die |
95 |
- |
96 |
- emake CONFIG="config-${ELUA}" install |
97 |
-} |
98 |
- |
99 |
-src_install() { |
100 |
- lua_foreach_impl lua_src_install |
101 |
- |
102 |
- einstalldocs |
103 |
-} |