diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-30 08:00:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-30 08:00:51 +0100 |
commit | d5ee59790ee8298b8599b0aa0fa21a98b972a44d (patch) | |
tree | 2cc4393cdcfae28879cee110e5975f6e6b798f91 /dev-lua | |
parent | d855918b46ba8714cf1320fe63b55fd0ed1748a6 (diff) |
gentoo auto-resync : 30:06:2024 - 08:00:50
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/Manifest.gz | bin | 7292 -> 7300 bytes | |||
-rw-r--r-- | dev-lua/luaexpat/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luaexpat/luaexpat-1.5.2.ebuild | 73 |
3 files changed, 75 insertions, 0 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz Binary files differindex e801fb5b789d..27fd6b6756c7 100644 --- a/dev-lua/Manifest.gz +++ b/dev-lua/Manifest.gz diff --git a/dev-lua/luaexpat/Manifest b/dev-lua/luaexpat/Manifest index 347f6b834545..080c5c92f8e9 100644 --- a/dev-lua/luaexpat/Manifest +++ b/dev-lua/luaexpat/Manifest @@ -1,3 +1,5 @@ DIST luaexpat-1.5.1.tar.gz 53912 BLAKE2B 0e8aa342864159e7a3f3ac21bfd65a7fb4378fc51b5889a93f8c00fd497f985bf194b3889d39f28ca097fd84a6160c9804d5957744a7ac9a002d1a0b6969abf3 SHA512 45834b02d863a65c6de2ad3c5c671935ae512dd906233a647269438aeeb37c7bbd6e7166aefd8da72480b33e1aa79a86ed070ed8800a8e0f303ccc74918f3bb8 +DIST luaexpat-1.5.2.tar.gz 54072 BLAKE2B 7d7a9dbbb28e4fff7adfffaf910546065b3f781934004318566ec13838007ee135247c75555e9b34f530e2f72f65156310454af73dfa6ac48aad50d4e0679efc SHA512 a2a04b2bb76a10a8a0da077b53d22b6e84460f416486a4b006d3df4991cff011dc91a225ab25f994a2713632d562b13d4341530bbc7ede4fd660a6fce24eed3c EBUILD luaexpat-1.5.1.ebuild 1250 BLAKE2B 87a9e484ee1419e443200bd424823797c5274f9b828bdf03fce94958bf90c9c5d70bb2aa95f5ac43986ab683c2fccc2bcebb33cd7f6520a3eecbc76ae45e7f5f SHA512 2df41c44ea53cd1bce8eebf7dcd5e9a5196afeb3ce8def512724b75979a42d1e9a26cece19e032dd3192879c76232f3a1791e90eec00b6a1449e5bcef2d00388 +EBUILD luaexpat-1.5.2.ebuild 1257 BLAKE2B 5a2e6c5fd7192f3d8b20f54290cb87b3519d11d660cbb61b4ada9b3059b703eae6119db6fdd28537041f7c1aaa02f0e86b253030bcc6449e6744d6f9d709f2a2 SHA512 62bc73de35af910066756ec752e40e36fbecab809f9c3b025d9100462b6bde5120a06eae5a68ba601258ac88a41efb27373b89ec1bdcac22952178e822ead73c MISC metadata.xml 400 BLAKE2B 4729d6a90ea60d7f879688847347b0339e82c73d71df5e92e6f8af4538294b1543655456899dc8cca83bdc2bcb5f27da11cd5673fb2fa3869f2799eb2c02c181 SHA512 65ac62c21f76428797d79b0003963759964b5d4a3c59dfa10b8e128cfb6cc893c3e7894f7a86a7c1ec3b543a84caccde7cc15e4cdc87be8dfc5adcb32eb1bb82 diff --git a/dev-lua/luaexpat/luaexpat-1.5.2.ebuild b/dev-lua/luaexpat/luaexpat-1.5.2.ebuild new file mode 100644 index 000000000000..967a7d162cdb --- /dev/null +++ b/dev-lua/luaexpat/luaexpat-1.5.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua toolchain-funcs + +DESCRIPTION="A SAX XML parser based on the Expat library" +HOMEPAGE="https://github.com/lunarmodules/luaexpat" +SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + dev-libs/expat + ${LUA_DEPS} +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +HTML_DOCS=( "docs/." ) + +src_prepare() { + default + + # Respect users CFLAGS + sed -e 's/-O2//g' -i Makefile || die + + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "CC=$(tc-getCC)" + "LUA_INC=$(lua_get_CFLAGS)" + ) + + emake "${myemakeargs[@]}" + + popd +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "DESTDIR=${ED}" + "LUA_CDIR=$(lua_get_cmod_dir)" + "LUA_INC=$(lua_get_include_dir)" + "LUA_LDIR=$(lua_get_lmod_dir)" + ) + + emake "${myemakeargs[@]}" install + + popd +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} |