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-term/
Date: Thu,  4 Jan 2024 01:27:15 +0000 (UTC)	[thread overview]
Message-ID: <1704331377.44af3b70e3c8f9880d5bc6a1f1c8530ed6a3fde3.conikost@gentoo> (raw)

commit:     44af3b70e3c8f9880d5bc6a1f1c8530ed6a3fde3
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 01:22:57 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 01:22:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44af3b70

dev-lua/lua-term: add 0.8

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

 dev-lua/lua-term/Manifest            |  1 +
 dev-lua/lua-term/lua-term-0.8.ebuild | 66 ++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-lua/lua-term/Manifest b/dev-lua/lua-term/Manifest
index 47939a9931a0..7b7b7ef410e3 100644
--- a/dev-lua/lua-term/Manifest
+++ b/dev-lua/lua-term/Manifest
@@ -1 +1,2 @@
 DIST lua-term-0.7.tar.gz 4365 BLAKE2B 8f4080d4cd3b620cb1f261d417744f112d42b776ab3f4cdb0e52d04b6d64fc4a1ddbd634570496c3bc12e6b10efe5af8025d1f124198ebb3946414679a65f7f4 SHA512 2046ba1861ff590c191bb651941c45eb8b6e9a1252b05e78daaeb31837ce1fc7da9ba124aec34dc7842fd304e945754c463ffd75941125ff952e911ba66efa31
+DIST lua-term-0.8.tar.gz 4838 BLAKE2B 690c9e7b7e831d69d0a2626c69721ca53fe9026e4885af50925942ebce1ffa44b2242cbe91b4ddcccfa2fbd56b3eeb3eeb8aa5014d1689ed1b6d2e184da785aa SHA512 115d2696f244945d876ae97ea6e9f3be0ea0e19ec7e057cbc047d3189482fca0e21ff68fee79e5d24257496cf51f507451f408f0b0a952ff707ffe0eedc36866

diff --git a/dev-lua/lua-term/lua-term-0.8.ebuild b/dev-lua/lua-term/lua-term-0.8.ebuild
new file mode 100644
index 000000000000..15fe641ac5fc
--- /dev/null
+++ b/dev-lua/lua-term/lua-term-0.8.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+MY_PV="0.08"
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="Terminal operations for Lua"
+HOMEPAGE="https://github.com/hoelzro/lua-term"
+SRC_URI="https://github.com/hoelzro/lua-term/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# Respect users CFLAGS
+	sed -e 's/-O3//g' -i Makefile
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local myemakeargs=(
+		"CC=$(tc-getCC)"
+		"CFLAGS=${CFLAGS} -fPIC ${LDFLAGS} $(lua_get_CFLAGS)"
+	)
+
+	emake "${myemakeargs[@]}" all
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	local myemakeargs=(
+		LUA_LIBDIR="${ED}/$(lua_get_cmod_dir)/term"
+		LUA_SHARE="${ED}/$(lua_get_lmod_dir)/term"
+	)
+
+	emake "${myemakeargs[@]}" install
+
+	popd
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+}


             reply	other threads:[~2024-01-04  1:27 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04  1:27 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-term/ Conrad Kostecki
2024-06-10 20:39 William Hubbs
2024-02-24  2:44 Ionen Wolkens
2024-02-09  1:06 Sam James
2024-02-09  1:06 Sam James
2024-02-09  1:04 Sam James
2024-02-09  1:04 Sam James
2024-02-09  1:04 Sam James
2022-04-18 20:19 Conrad Kostecki
2021-09-18 12:29 Marek Szuba
2021-04-20 21:20 Sergei Trofimovich
2021-04-18 19:41 Sergei Trofimovich
2021-03-06 15:14 Sergei Trofimovich
2021-02-21 21:22 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-04  0:25 Conrad Kostecki
2021-01-04  0:25 Conrad Kostecki
2020-12-03 13:11 Marek Szuba
2020-11-29 17:11 Sergei Trofimovich
2020-11-29 15:37 Conrad Kostecki
2020-11-29 15:37 Conrad Kostecki
2020-11-26 23:04 Sergei Trofimovich
2020-11-26  8:32 Sam James
2020-11-25 10:28 Thomas Deutschmann
2020-11-24  1:52 Sam James
2020-10-12 10:57 Conrad Kostecki
2020-03-16  0:19 Georgy Yakovlev
2018-12-29 12:10 Mikle Kolyada
2018-04-01 11:48 Mikle Kolyada
2018-03-27  8:06 Sergei Trofimovich
2018-03-27  7:31 Sergei Trofimovich
2017-03-16 10:27 Michael Palimaka
2017-01-07  1:52 Aaron Bauman
2015-11-11 17:50 William Hubbs

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=1704331377.44af3b70e3c8f9880d5bc6a1f1c8530ed6a3fde3.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