public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/
Date: Mon, 26 Mar 2018 06:21:33 +0000 (UTC)	[thread overview]
Message-ID: <1522044967.3c223be5553eb663bb63278a1e38c7f26a59835b.mgorny@gentoo> (raw)

commit:     3c223be5553eb663bb63278a1e38c7f26a59835b
Author:     Marty E. Plummer <hanetzer <AT> protonmail <DOT> com>
AuthorDate: Tue Jul 11 02:09:43 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 06:16:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c223be5

dev-lang/luajit: add static-libs to IUSE, update EAPI=6

Mostly to help debug an issue with dev-lua/mpack[luajit] on elibc_musl.

Closes: https://github.com/gentoo/gentoo/pull/5082
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Marty E. Plummer <hanetzer <AT> protonmail.com>

 dev-lang/luajit/luajit-2.0.5-r1.ebuild | 62 ++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/dev-lang/luajit/luajit-2.0.5-r1.ebuild b/dev-lang/luajit/luajit-2.0.5-r1.ebuild
new file mode 100644
index 00000000000..a60c5c12757
--- /dev/null
+++ b/dev-lang/luajit/luajit-2.0.5-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pax-utils toolchain-funcs versionator
+
+MY_PV="$(get_version_component_range 1-3)"
+MY_P="LuaJIT-${MY_PV}"
+if [[ -n $(get_version_component_range 4) ]]; then
+	HOTFIX="v${PV}"
+	HOTFIX="${HOTFIX/_p/_hotfix}.patch"
+fi
+
+DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
+HOMEPAGE="http://luajit.org/"
+SRC_URI="http://luajit.org/download/${MY_P}.tar.gz
+	${HOTFIX:+http://luajit.org/download/${HOTFIX}}"
+
+LICENSE="MIT"
+# this should probably be pkgmoved to 2.0 for sake of consistency.
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="lua52compat static-libs"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare(){
+	if [[ -n ${HOTFIX} ]]; then
+		eapply "${DISTDIR}/${HOTFIX}"
+	fi
+	default
+}
+
+_emake() {
+	emake \
+		Q= \
+		PREFIX="${EPREFIX}/usr" \
+		MULTILIB="$(get_libdir)" \
+		DESTDIR="${D}" \
+		HOST_CC="$(tc-getBUILD_CC)" \
+		STATIC_CC="$(tc-getCC)" \
+		DYNAMIC_CC="$(tc-getCC) -fPIC" \
+		TARGET_LD="$(tc-getCC)" \
+		TARGET_AR="$(tc-getAR) rcus" \
+		BUILDMODE="$(usex static-libs mixed dynamic)" \
+		TARGET_STRIP="true" \
+		INSTALL_LIB="${ED%/}/usr/$(get_libdir)" \
+		"$@"
+}
+
+src_compile() {
+	_emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
+}
+
+src_install(){
+	_emake install
+
+	pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
+
+	HTML_DOCS="doc/." einstalldocs
+}


             reply	other threads:[~2018-03-26  6:21 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26  6:21 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-24 14:59 [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/ 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 17:16 William Hubbs
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-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=1522044967.3c223be5553eb663bb63278a1e38c7f26a59835b.mgorny@gentoo \
    --to=mgorny@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