summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-04 07:58:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-04 07:58:30 +0000
commit5e0583283abb5e0f998830cea3f4f9785699b2ed (patch)
treec9999a88a0ae4409d0f85dc733d2b42181f94a53 /dev-lua
parentfa3c4c282d03b85eb600bae6ec57b619004feb5a (diff)
gentoo auto-resync : 04:01:2024 - 07:58:30
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/Manifest.gzbin7314 -> 7310 bytes
-rw-r--r--dev-lua/lua-term/Manifest2
-rw-r--r--dev-lua/lua-term/lua-term-0.8.ebuild66
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz
index b5d13a3e859c..475195c10ae4 100644
--- a/dev-lua/Manifest.gz
+++ b/dev-lua/Manifest.gz
Binary files differ
diff --git a/dev-lua/lua-term/Manifest b/dev-lua/lua-term/Manifest
index ad2b9916a7b7..212354dde779 100644
--- a/dev-lua/lua-term/Manifest
+++ b/dev-lua/lua-term/Manifest
@@ -1,3 +1,5 @@
DIST lua-term-0.7.tar.gz 4365 BLAKE2B 8f4080d4cd3b620cb1f261d417744f112d42b776ab3f4cdb0e52d04b6d64fc4a1ddbd634570496c3bc12e6b10efe5af8025d1f124198ebb3946414679a65f7f4 SHA512 2046ba1861ff590c191bb651941c45eb8b6e9a1252b05e78daaeb31837ce1fc7da9ba124aec34dc7842fd304e945754c463ffd75941125ff952e911ba66efa31
+DIST lua-term-0.8.tar.gz 4838 BLAKE2B 690c9e7b7e831d69d0a2626c69721ca53fe9026e4885af50925942ebce1ffa44b2242cbe91b4ddcccfa2fbd56b3eeb3eeb8aa5014d1689ed1b6d2e184da785aa SHA512 115d2696f244945d876ae97ea6e9f3be0ea0e19ec7e057cbc047d3189482fca0e21ff68fee79e5d24257496cf51f507451f408f0b0a952ff707ffe0eedc36866
EBUILD lua-term-0.7-r2.ebuild 1202 BLAKE2B b7ba62dba3fb80ca004f7a6b54483e9a2dbc3e3a26d5f0c27d2df984130cc2c9d43e94b2e0ba4eaf597120be0b1aff91e3456bc7de3045ff6e129b7edf5b3714 SHA512 f8b61cb70b6bd18fdb3a1d397253de975cadfe6b32b8c54bf118c768f9507591920c4b97dba3bdb332bc445bc8a57b737eb81248df22390be34f90d89ddb60fc
+EBUILD lua-term-0.8.ebuild 1208 BLAKE2B cdd12dc333c934f84510071bf072d42e25fb3185fef4abee1ec0f6caa088bc688ed6402caf5ad7fc3aecf3f5e4c312cb2aa58ddb4d71997c98f8289bb2f1404a SHA512 a8c9549d34e90061d8c50586f924a6cc87cccf666331db237ad43d314ed1ee232b5adc75057c01650447836ad3a84ec6e9d929a7ec2b3c05e18c9a7a1d55f720
MISC metadata.xml 441 BLAKE2B 102738d54ba592ba9c0282af4404cb26cccde97ea95377d7664135f8d0b5834ab1017754d8a70a967220c67a423a3ce872a562418014b1ead2dfb3f396e5a05d SHA512 9341c822e8261c3b9c95c02bcc371188546b9e9b056d931c76be13762ee86b64fd8c5777b860634323a0322075da91ba3eed1dd2e74148bed003730c86452e04
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
+}