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/luaexpat/
Date: Tue,  4 Oct 2022 20:34:12 +0000 (UTC)	[thread overview]
Message-ID: <1664915625.00cd8c552564b76568b8d01f5b3947bc733a8805.conikost@gentoo> (raw)

commit:     00cd8c552564b76568b8d01f5b3947bc733a8805
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  4 19:25:26 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 20:33:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00cd8c55

dev-lua/luaexpat: add 1.5.1

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

 dev-lua/luaexpat/Manifest              |  1 +
 dev-lua/luaexpat/luaexpat-1.5.1.ebuild | 73 ++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-lua/luaexpat/Manifest b/dev-lua/luaexpat/Manifest
index fc186e79bd24..d6467b0d62f9 100644
--- a/dev-lua/luaexpat/Manifest
+++ b/dev-lua/luaexpat/Manifest
@@ -1 +1,2 @@
 DIST luaexpat-1.5.0.tar.gz 53520 BLAKE2B 1793f842771e730022abf512731eece538b6edefd10786295842f467af3cbfbdc94e65ea035b1ce9bc849a1ee4f0ca445bd0b66816a6d18bb786d19ced6b3586 SHA512 0ac151148101d62f1358f5f310be57de5379891ceda76f0eb821a8b56d0d9c781feaf1db601d982339cd4837f9504b1f9b8b14ebf3a7245925473f6824bbc8b3
+DIST luaexpat-1.5.1.tar.gz 53912 BLAKE2B 0e8aa342864159e7a3f3ac21bfd65a7fb4378fc51b5889a93f8c00fd497f985bf194b3889d39f28ca097fd84a6160c9804d5957744a7ac9a002d1a0b6969abf3 SHA512 45834b02d863a65c6de2ad3c5c671935ae512dd906233a647269438aeeb37c7bbd6e7166aefd8da72480b33e1aa79a86ed070ed8800a8e0f303ccc74918f3bb8

diff --git a/dev-lua/luaexpat/luaexpat-1.5.1.ebuild b/dev-lua/luaexpat/luaexpat-1.5.1.ebuild
new file mode 100644
index 000000000000..b0c2791bf0e6
--- /dev/null
+++ b/dev-lua/luaexpat/luaexpat-1.5.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="A SAX XML parser based on the Expat library"
+HOMEPAGE="https://github.com/lunarmodules/luaexpat"
+SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+	dev-libs/expat
+	${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS=( "docs/." )
+
+src_prepare() {
+	default
+
+	# Respect users CFLAGS
+	sed -e 's/-O2//g' -i Makefile || die
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local myemakeargs=(
+		"CC=$(tc-getCC)"
+		"LUA_INC=$(lua_get_CFLAGS)"
+	)
+
+	emake "${myemakeargs[@]}"
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	local myemakeargs=(
+		"DESTDIR=${ED}"
+		"LUA_CDIR=$(lua_get_cmod_dir)"
+		"LUA_INC=$(lua_get_include_dir)"
+		"LUA_LDIR=$(lua_get_lmod_dir)"
+	)
+
+	emake "${myemakeargs[@]}" install
+
+	popd
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	einstalldocs
+}


             reply	other threads:[~2022-10-04 20:34 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 20:34 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-11 14:22 [gentoo-commits] repo/gentoo:master commit in: dev-lua/luaexpat/ Conrad Kostecki
2024-08-02 23:19 Sam James
2024-08-02 23:19 Sam James
2024-08-02 23:19 Sam James
2024-08-02 23:19 Sam James
2024-06-30  0:00 Conrad Kostecki
2023-04-21  8:25 Joonas Niilola
2022-11-05 19:28 Conrad Kostecki
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 23:43 Sam James
2022-11-03 23:43 Sam James
2022-11-03 23:42 Sam James
2022-11-03 23:42 Sam James
2022-11-03 23:42 Sam James
2022-11-03 23:39 Sam James
2022-10-02 14:43 Conrad Kostecki
2022-10-02  6:19 Agostino Sarubbo
2022-10-02  6:19 Agostino Sarubbo
2022-10-02  6:18 Agostino Sarubbo
2022-10-02  6:18 Agostino Sarubbo
2022-10-02  6:18 Agostino Sarubbo
2022-10-02  6:17 Agostino Sarubbo
2022-10-02  4:49 Sam James
2022-08-30  8:09 Conrad Kostecki
2022-05-05 16:17 Conrad Kostecki
2022-05-05  5:29 Arthur Zamarin
2022-05-05  5:29 Arthur Zamarin
2022-05-03 18:11 Arthur Zamarin
2022-05-01  4:34 Sam James
2022-05-01  4:34 Sam James
2022-05-01  4:33 Sam James
2022-05-01  4:33 Sam James
2022-04-01 16:57 Conrad Kostecki
2022-03-30 21:11 Conrad Kostecki
2022-03-30 20:58 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-02-26 21:17 Conrad Kostecki
2021-02-26 21:17 Conrad Kostecki
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-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 18:48 Conrad Kostecki
2020-11-23 18:48 Conrad Kostecki
2020-11-23 18:48 Conrad Kostecki
2020-10-08 19:14 Conrad Kostecki
2020-10-08 19:14 Conrad Kostecki
2020-10-05 21:34 Conrad Kostecki
2020-08-24 14:39 Joonas Niilola
2020-01-09 18:58 Rafael Martins
2017-07-29 12:34 Alexis Ballier
2017-01-22  1:28 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=1664915625.00cd8c552564b76568b8d01f5b3947bc733a8805.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