From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/
Date: Sun, 29 Nov 2020 15:37:54 +0000 (UTC) [thread overview]
Message-ID: <1606663898.0f34282df2e36d7a1f63b65ee7e4c1838e43660e.conikost@gentoo> (raw)
commit: 0f34282df2e36d7a1f63b65ee7e4c1838e43660e
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 15:31:38 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 15:31:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f34282d
dev-lua/luafilesystem: update ebuild
Updated ebuild not to use clean.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../luafilesystem/luafilesystem-1.8.0-r101.ebuild | 82 ++++++++++++++++++++++
1 file changed, 82 insertions(+)
diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
new file mode 100644
index 00000000000..0a5ee44a7d7
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit lua toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua programming language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/"
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? ( ${RDEPEND} )
+"
+
+HTML_DOCS=( "doc/us/." )
+
+lua_src_prepare() {
+ pushd "${BUILD_DIR}" || die
+ cat > "config-${ELUA}" <<-EOF
+ CC=$(tc-getCC)
+ DESTDIR=${ED}
+ CFLAGS=${CFLAGS} $(lua_get_CFLAGS) -fPIC
+ LIB_OPTION=${LDFLAGS} -shared
+ LUA_LIBDIR=$(lua_get_cmod_dir)
+ EOF
+ popd
+}
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+ lua_foreach_impl lua_src_prepare
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+ emake CONFIG="config-${ELUA}"
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+ LUA_CPATH="${BUILD_DIR}/src/?.so" ${ELUA} tests/test.lua || die
+ popd
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+ pushd "${BUILD_DIR}" || die
+ emake CONFIG="config-${ELUA}" install
+ popd
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}
next reply other threads:[~2020-11-29 15:37 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-29 15:37 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-10 0:49 [gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/ Sam James
2021-09-18 12:29 Marek Szuba
2021-05-25 16:21 Georgy Yakovlev
2021-04-20 21:20 Sergei Trofimovich
2021-02-21 21:22 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2020-11-29 15:37 Conrad Kostecki
2020-11-24 13:04 Conrad Kostecki
2020-11-24 7:45 Agostino Sarubbo
2020-11-24 7:44 Agostino Sarubbo
2020-11-24 7:42 Agostino Sarubbo
2020-11-24 7:41 Agostino Sarubbo
2020-11-24 7:20 Agostino Sarubbo
2020-11-24 1:10 Sam James
2020-11-24 1:10 Sam James
2020-11-23 21:39 Conrad Kostecki
2020-11-23 21:39 Conrad Kostecki
2020-11-23 18:48 Conrad Kostecki
2020-10-31 22:48 Georgy Yakovlev
2020-03-15 23:55 Georgy Yakovlev
2020-03-15 23:55 Georgy Yakovlev
2020-01-09 18:41 Rafael Martins
2019-09-15 17:17 Michał Górny
2019-07-29 14:41 Mikle Kolyada
2019-05-12 20:56 Thomas Deutschmann
2018-04-21 22:56 Aaron Bauman
2018-03-27 7:31 Sergei Trofimovich
2017-08-15 5:41 Alexis Ballier
2017-05-01 21:17 Patrice Clement
2015-11-12 23:01 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606663898.0f34282df2e36d7a1f63b65ee7e4c1838e43660e.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox