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/lua-zlib/
Date: Wed, 16 Apr 2025 19:53:40 +0000 (UTC)	[thread overview]
Message-ID: <1744833216.a1cb1c569b4554af35626e039c1f2522c7f70f92.conikost@gentoo> (raw)

commit:     a1cb1c569b4554af35626e039c1f2522c7f70f92
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 16 19:53:12 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 16 19:53:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1cb1c56

dev-lua/lua-zlib: add 1.3

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/lua-zlib/Manifest            |  1 +
 dev-lua/lua-zlib/lua-zlib-1.3.ebuild | 50 ++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-lua/lua-zlib/Manifest b/dev-lua/lua-zlib/Manifest
index 581fe51d0237..5508ff84f2a8 100644
--- a/dev-lua/lua-zlib/Manifest
+++ b/dev-lua/lua-zlib/Manifest
@@ -1 +1,2 @@
 DIST lua-zlib-1.2.tar.gz 16612 BLAKE2B ca2ff51c97929fac0918de3902a175eda583da3ca415f9eff5e68a9c3ba0414827c3a96b968e9fcbccbe9612b1ade3fdc4498e50c4df53b0fa768912f428a287 SHA512 da13239089c1027b0bfb4ee463043b326ef5586206c5d76af8707736da3c03622b2fc38e732761a5b7a6422ad81a09557abc8548f37fef07ada0d4064eabfcf4
+DIST lua-zlib-1.3.tar.gz 18840 BLAKE2B b273d5475b97d8eb25dae60e80091bf3d62093be4e7721e906e1974f3acf640e095f2f953d9a2ef48343e74c192a16d435c2a8b6d3f9ca3064dc5710eaa2fdd2 SHA512 e65ddb4e4361a9594c9dd96bb649f0c274369fb18e1e8a25ae38a08a2d534069e669e29d15fa486d003598988fb642503ad9062c8abd7739b9f03b5f345d03e4

diff --git a/dev-lua/lua-zlib/lua-zlib-1.3.ebuild b/dev-lua/lua-zlib/lua-zlib-1.3.ebuild
new file mode 100644
index 000000000000..5a6c368aeb9e
--- /dev/null
+++ b/dev-lua/lua-zlib/lua-zlib-1.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit cmake lua
+
+DESCRIPTION="Simple streaming interface to zlib for Lua"
+HOMEPAGE="https://github.com/brimworks/lua-zlib"
+SRC_URI="https://github.com/brimworks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+	sys-libs/zlib
+	${LUA_DEPS}
+
+"
+DEPEND="${RDEPEND}"
+
+lua_src_configure() {
+	local mycmakeargs=(
+		-DINSTALL_CMOD="$(lua_get_cmod_dir)"
+		-DLUA_INCLUDE_DIR="$(lua_get_include_dir)"
+		-DUSE_LUA_VERSION="$(lua_get_version)"
+	)
+
+	if [[ ${ELUA} == luajit ]]; then
+		mycmakeargs+=( -DUSE_LUAJIT="ON" )
+	fi
+
+	cmake_src_configure
+}
+
+src_configure() {
+	lua_foreach_impl lua_src_configure
+}
+
+src_compile() {
+	lua_foreach_impl cmake_src_compile
+}
+
+src_install() {
+	lua_foreach_impl cmake_src_install
+}


             reply	other threads:[~2025-04-16 19:53 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-16 19:53 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-02  2:33 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-zlib/ Conrad Kostecki
2021-04-21 20:29 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-04-19 18:32 Sergei Trofimovich
2021-04-18 19:41 Sergei Trofimovich
2021-02-21 21:22 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-23 22:51 Sam James
2020-11-13 23:39 Conrad Kostecki
2020-10-17 23:49 Sam James
2020-10-14 21:24 Conrad Kostecki
2020-10-12 10:21 Agostino Sarubbo
2020-10-12  7:02 Agostino Sarubbo
2020-10-12  6:57 Agostino Sarubbo
2020-10-11 23:54 Conrad Kostecki
2020-10-11 23:27 Conrad Kostecki
2020-09-01 16:01 Marek Szuba
2019-02-05  0:30 Andreas Sturmlechner
2019-02-04 20:16 Markus Meier
2017-07-23 12:17 Michael Palimaka
2017-07-23 12:12 Manuel Rüger
2017-06-28 13:19 Agostino Sarubbo
2017-06-06 21:24 Manuel Rüger
2017-06-06 21:24 Manuel Rüger
2016-10-10 22:54 Manuel Rüger
2016-10-10 22:54 Manuel Rüger
2015-10-29 23:06 Manuel Rüger

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=1744833216.a1cb1c569b4554af35626e039c1f2522c7f70f92.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