From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-lua/luaexpat/Manifest | 2 +- dev-lua/luaexpat/luaexpat-1.3.0-r1.ebuild | 74 +++++++++++++++++++++++++++++ dev-lua/luaexpat/luaexpat-1.3.0-r103.ebuild | 74 ----------------------------- 3 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 dev-lua/luaexpat/luaexpat-1.3.0-r1.ebuild delete mode 100644 dev-lua/luaexpat/luaexpat-1.3.0-r103.ebuild (limited to 'dev-lua/luaexpat') diff --git a/dev-lua/luaexpat/Manifest b/dev-lua/luaexpat/Manifest index 4f72c97ca67f..d234566156ce 100644 --- a/dev-lua/luaexpat/Manifest +++ b/dev-lua/luaexpat/Manifest @@ -1,3 +1,3 @@ DIST luaexpat-1.3.0.tar.gz 29567 BLAKE2B 176cb107e6047b15338ff45751af82389920e4210d40bd0b4400e549130a4983c843f7a64bb7b2fba37e36eb592e850d06efe196f8e837e79e50c8d135dbe763 SHA512 91884653310e2dc89ade6d1653875ac8607640a21853d3ccb1fd0f833812e41981fad5c40101732ec249104d2c50c9a332208d1e44423b8428065a223c60b4ae -EBUILD luaexpat-1.3.0-r103.ebuild 1347 BLAKE2B 1b7852f302b482ccd0aeced388f0edbadfed662fbb120016c045571152fbc34fc968b0d7f789cc5c8c8c30a3923ce1632976ceafa8201435256bfb3c1067da1c SHA512 83e9bae4840822a7a04b4e5e76e4debd4e4194d1a97c6e2655ef2755be093ac8112ae7b600cf1851acfdc81752ab5b978da3d782bdec580cd689bcf4b03dfb3d +EBUILD luaexpat-1.3.0-r1.ebuild 1347 BLAKE2B 647d033a4ae2963495c0b76207ed283a251c1ddd9f45b2358b9217c9782ac229637a464cbcbd02bed57e171035078312e130eeef900ec48ced1460a26047a04a SHA512 17c200d4663c50ebfc51cb6aff441ccc82df162d45f041d900a5547a4e9b9794dae2ca421c62ea2aa062b932b858a6160efbaa34326be070c5105fc7feae86c5 MISC metadata.xml 518 BLAKE2B 911cdf26cf72e7401be75ddc92cc3d859937a8b17ebae92526cbeba4cf997f13ce8789198fd1051c74e08c2a8a7f55f681cfd9605dd8d874bf696977755046cf SHA512 df25c5531e8ca2ba7c1212bf4b5c59b02c91512fdd52ed92e2f8155efa9b82ae21d62486bde7285768a955ba4e57636bcf56c256249dcec92cf1e32b8d6f4ccc diff --git a/dev-lua/luaexpat/luaexpat-1.3.0-r1.ebuild b/dev-lua/luaexpat/luaexpat-1.3.0-r1.ebuild new file mode 100644 index 000000000000..186869f91be1 --- /dev/null +++ b/dev-lua/luaexpat/luaexpat-1.3.0-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 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="LuaExpat is a SAX XML parser based on the Expat library" +HOMEPAGE="https://matthewwild.co.uk/projects/luaexpat/ https://code.matthewwild.co.uk/lua-expat" +SRC_URI="https://matthewwild.co.uk/projects/${PN}/${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=( "doc/us/." ) + +src_prepare() { + default + + # Respect users CFLAGS + # Remove '-ansi' to compile with newer lua versions + sed -e 's/-O2//g' -e 's/-ansi//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 +} diff --git a/dev-lua/luaexpat/luaexpat-1.3.0-r103.ebuild b/dev-lua/luaexpat/luaexpat-1.3.0-r103.ebuild deleted file mode 100644 index 1780a3316e3c..000000000000 --- a/dev-lua/luaexpat/luaexpat-1.3.0-r103.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit lua toolchain-funcs - -DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library" -HOMEPAGE="https://matthewwild.co.uk/projects/luaexpat/ https://code.matthewwild.co.uk/lua-expat" -SRC_URI="https://matthewwild.co.uk/projects/${PN}/${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=( "doc/us/." ) - -src_prepare() { - default - - # Respect users CFLAGS - # Remove '-ansi' to compile with newer lua versions - sed -e 's/-O2//g' -e 's/-ansi//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 -} -- cgit v1.2.3