public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/
Date: Mon, 23 Nov 2020 21:39:30 +0000 (UTC)	[thread overview]
Message-ID: <1606167478.3d58bafcacd3161785b3e9c4f48b267a5835cda5.conikost@gentoo> (raw)

commit:     3d58bafcacd3161785b3e9c4f48b267a5835cda5
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 21:36:42 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Nov 23 21:37:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d58bafc

dev-lua/luafilesystem: update ebuild

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../luafilesystem/luafilesystem-1.8.0-r1.ebuild    | 47 ++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
new file mode 100644
index 00000000000..a1dd2af7610
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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="luajit test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-lang/lua-5.1:0
+	luajit? ( dev-lang/luajit:2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	test? ( ${RDEPEND} )
+"
+
+HTML_DOCS=( "doc/us/." )
+
+src_prepare() {
+	default
+
+	cat > "config" <<-EOF
+		CC=$(tc-getCC)
+		CFLAGS=${CFLAGS} -I$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua')) -fPIC
+		DESTDIR=${ED}
+		LIB_OPTION=${LDFLAGS} -shared
+		LUA_LIBDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))
+	EOF
+}
+
+src_test() {
+	LUA_CPATH="src/lfs.so" lua tests/test.lua || die
+}


             reply	other threads:[~2020-11-23 21:39 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23 21:39 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-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 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=1606167478.3d58bafcacd3161785b3e9c4f48b267a5835cda5.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