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: Thu,  8 Oct 2020 19:14:03 +0000 (UTC)	[thread overview]
Message-ID: <1602184422.4749b85ae8ba4047757d736b1444cb4a09ec01f6.conikost@gentoo> (raw)

commit:     4749b85ae8ba4047757d736b1444cb4a09ec01f6
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Wed Oct  7 23:55:28 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Oct  8 19:13:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4749b85a

dev-lua/luaexpat: update 1.3.0 version branch

Migrate to EAPI=7, various fixes backported from 1.3.3 ebuild.

Closes: https://github.com/gentoo/gentoo/pull/17813
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild | 46 +++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild b/dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild
new file mode 100644
index 00000000000..720457682bf
--- /dev/null
+++ b/dev-lua/luaexpat/luaexpat-1.3.0-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal toolchain-funcs
+
+DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library"
+HOMEPAGE="http://www.keplerproject.org/luaexpat/"
+SRC_URI="http://matthewwild.co.uk/projects/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]
+	>=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+	sed -i -e 's:-g::' -e 's:-O2::' Makefile || die "sed failed"
+	multilib_copy_sources
+}
+
+multilib_src_compile() {
+	emake \
+		CFLAGS="${CFLAGS}" \
+		LDFLAGS="${LDFLAGS}" \
+		CC="$(tc-getCC)" \
+		LUA_INC="-I$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)"
+}
+
+multilib_src_install() {
+	emake \
+		DESTDIR="${D}" \
+		LUA_LDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" \
+		LUA_CDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" \
+		LUA_INC="-I$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)" \
+		install
+}
+
+multilib_src_install_all() {
+	dodoc -r README doc/*
+}


             reply	other threads:[~2020-10-08 19:14 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 19:14 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-04 20:34 Conrad Kostecki
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-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=1602184422.4749b85ae8ba4047757d736b1444cb4a09ec01f6.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