public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/
Date: Mon, 20 Jun 2022 17:16:09 +0000 (UTC)	[thread overview]
Message-ID: <1655745340.d9b0e9c35811f5d407f2625815ea1f325a01c54d.williamh@gentoo> (raw)

commit:     d9b0e9c35811f5d407f2625815ea1f325a01c54d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 20 17:15:25 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 17:15:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b0e9c3

dev-lang/luajit: add 2.1.0_beta3_p20220613

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-lang/luajit/Manifest                           |  1 +
 .../luajit/luajit-2.1.0_beta3_p20220613.ebuild     | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-lang/luajit/Manifest b/dev-lang/luajit/Manifest
index d3defc376d01..9b0d30a48afc 100644
--- a/dev-lang/luajit/Manifest
+++ b/dev-lang/luajit/Manifest
@@ -1 +1,2 @@
 DIST luajit-2.1.0_beta3_p20220127.tar.gz 1072282 BLAKE2B e1d4834683b9ec16f0567f5de486262d84af145e3e27724d343c130288e90abff089fd5c7ff1275f9dde3cb5ae4f818f710020bd708c599972a14f1671381c2a SHA512 4c6ae7173bb91dc2d4d425da4afdab2520078e15ae4471c0cb99a255dd7544d6900b333efbbfc8f26ffbc4fcd8f1d2daf65671c59b5cafd6b0d53cb07b49d4ff
+DIST luajit-2.1.0_beta3_p20220613.tar.gz 1074088 BLAKE2B dbcfd4efcffb9b659a85af753017da5ca9b95e89a03dfe4e594513f2ad09b08e19a862527d41bd5adf8473afd022a471176ff5412975af47bdd785b9b9cfd43b SHA512 e4fc6ebde9cd9efc5e9936416526a0f581186bf0661eca60a50bcf5048312e02f66dc905308d63abda03380c33aa2e64ceddd87527d59a4488ae7f4aeaf36dfe

diff --git a/dev-lang/luajit/luajit-2.1.0_beta3_p20220613.ebuild b/dev-lang/luajit/luajit-2.1.0_beta3_p20220613.ebuild
new file mode 100644
index 000000000000..e5985feb3a90
--- /dev/null
+++ b/dev-lang/luajit/luajit-2.1.0_beta3_p20220613.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GIT_COMMIT=0065cff7e0222c234b75a71e72b8883df5d000c2
+
+inherit pax-utils toolchain-funcs
+
+MY_PV="$(ver_cut 1-5)"
+MY_PV="${MY_PV/_beta/-beta}"
+MY_P="LuaJIT-${MY_PV}"
+
+DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
+HOMEPAGE="https://luajit.org/"
+SRC_URI="https://luajit.org/download/${MY_P}.tar.gz"
+SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+# this should probably be pkgmoved to 2.0 for sake of consistency.
+SLOT="2/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="lua52compat static-libs"
+
+S="${WORKDIR}/LuaJIT-${GIT_COMMIT}"
+
+_emake() {
+	emake \
+		Q= \
+		PREFIX="${EPREFIX}/usr" \
+		MULTILIB="$(get_libdir)" \
+		DESTDIR="${D}" \
+		CFLAGS="" \
+		LDFLAGS="" \
+		HOST_CC="$(tc-getBUILD_CC)" \
+		HOST_CFLAGS="${BUILD_CPPFLAGS} ${BUILD_CFLAGS}" \
+		HOST_LDFLAGS="${BUILD_LDFLAGS}" \
+		STATIC_CC="$(tc-getCC)" \
+		DYNAMIC_CC="$(tc-getCC) -fPIC" \
+		TARGET_LD="$(tc-getCC)" \
+		TARGET_CFLAGS="${CPPFLAGS} ${CFLAGS}" \
+		TARGET_LDFLAGS="${LDFLAGS}" \
+		TARGET_AR="$(tc-getAR) rcus" \
+		BUILDMODE="$(usex static-libs mixed dynamic)" \
+		TARGET_STRIP="true" \
+		INSTALL_LIB="${ED}/usr/$(get_libdir)" \
+		"$@"
+}
+
+src_compile() {
+	tc-export_build_env
+	_emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
+}
+
+src_install() {
+	_emake install
+dosym luajit-2.1.0-beta3 /usr/bin/luajit
+	pax-mark m "${ED}/usr/bin/luajit-${MY_PV}"
+
+	HTML_DOCS="doc/." einstalldocs
+}


             reply	other threads:[~2022-06-20 17:16 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 17:16 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-26  1:37 [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/ Sam James
2025-04-26  1:26 Sam James
2025-04-26  0:32 Sam James
2025-04-26  0:32 Sam James
2024-11-24 14:59 Joonas Niilola
2024-11-21  9:24 Sam James
2024-11-14  3:23 Sam James
2024-11-13  5:10 Sam James
2024-11-13  5:10 Sam James
2024-11-12 21:47 Sam James
2024-09-10  2:37 Matt Turner
2024-09-10  2:37 Matt Turner
2024-07-16 22:46 Sam James
2024-07-16 22:46 Sam James
2024-07-16 22:46 Sam James
2024-07-16 19:18 Arthur Zamarin
2024-07-16 19:18 Arthur Zamarin
2024-07-16 17:46 William Hubbs
2024-06-09  3:38 Matt Turner
2023-11-13 22:15 James Le Cuirot
2023-09-10 12:25 Sam James
2023-03-19 17:36 Arthur Zamarin
2022-12-06  9:25 Sam James
2022-06-20 16:56 William Hubbs
2022-06-20 16:23 William Hubbs
2022-06-18 16:55 Agostino Sarubbo
2022-06-17 11:37 Agostino Sarubbo
2022-06-17 10:29 Jakov Smolić
2022-06-17 10:29 Jakov Smolić
2022-06-17  6:56 Agostino Sarubbo
2022-04-19 23:58 Sam James
2022-02-15 23:30 William Hubbs
2022-02-15  4:22 William Hubbs
2021-06-25 12:32 Marek Szuba
2021-03-07 18:46 Sergei Trofimovich
2020-12-14  1:20 William Hubbs
2020-12-14  1:20 William Hubbs
2020-12-08 12:42 Thomas Deutschmann
2020-12-08 12:42 Thomas Deutschmann
2020-12-08 12:42 Thomas Deutschmann
2020-12-07 18:46 William Hubbs
2020-12-07 18:46 William Hubbs
2020-12-07 18:28 William Hubbs
2020-10-24 11:49 Rafael Martins
2020-07-25 15:14 Rafael Martins
2020-07-25 11:16 Sam James
2020-07-23 23:45 Sam James
2020-07-23 21:52 Sam James
2020-07-23 20:36 Sam James
2020-02-01 21:46 Rafael Martins
2019-03-22 19:42 Rafael Martins
2018-07-08 10:48 Markus Meier
2018-06-26  2:04 Aaron Bauman
2018-05-26 20:31 Aaron Bauman
2018-03-26  6:21 Michał Górny
2018-03-22 14:24 Guilherme Amadio
2018-03-14  2:07 Rafael Martins
2016-01-14 21:57 Markus Meier
2016-01-05 10:49 Agostino Sarubbo

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=1655745340.d9b0e9c35811f5d407f2625815ea1f325a01c54d.williamh@gentoo \
    --to=williamh@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