diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-28 03:03:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-28 03:03:20 +0100 |
commit | 0b1f53c54388382ff701d00d3f5eb981ed040f2a (patch) | |
tree | ec5c4665c03dbae83c878cb536837e611a8584a6 /dev-lua | |
parent | 59fb67b05708a525b33b4a84de896b3b1ae34012 (diff) |
gentoo auto-resync : 28:07:2022 - 03:03:20
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/Manifest.gz | bin | 7305 -> 7304 bytes | |||
-rw-r--r-- | dev-lua/luasocket/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luasocket/luasocket-3.1.0.ebuild | 84 |
3 files changed, 86 insertions, 0 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz Binary files differindex 1ea94dfdfa7b..9cd6625ff90d 100644 --- a/dev-lua/Manifest.gz +++ b/dev-lua/Manifest.gz diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest index e99e810128f4..a16e9fefea52 100644 --- a/dev-lua/luasocket/Manifest +++ b/dev-lua/luasocket/Manifest @@ -1,5 +1,7 @@ AUX luasocket-3.0.0_makefile.patch 2322 BLAKE2B cf9d871de75145812ebdce00bf7839e8f1f019658410eb38bd724cf9ce919d021ff2362d072c611c85d280eca2c0c6e485f608eba3f61fd612ae6ff5bde6d917 SHA512 43b6951d2a834ff88088bc6bf16e0ee3b7c28e602b06f66e1476bd4cf840f0d43328fe3eaaa7e4f0360b406525d213d12d4b97984de37c3381f8c1e85fe518fd AUX luasocket-3.0_rc1_p20200328_publish_API.patch 10781 BLAKE2B 783e223732aec39b4c7a7b6c49f051d6c3e9c8f1c8b1e91df68265598b9d1a5929f7dff21642d0ea4aba6a2d5ebda6cdf0eb2e567b6f996d260e8119da704952 SHA512 697d37344684bf6943ca360d1b25440e7b678b12e7cf0735c62985deb32862351ec63d8a6192dc732fd832dc16a9172e3ff13ccce52aeca4f4665bcf4555ef2c DIST luasocket-3.0.0.tar.gz 336231 BLAKE2B 71b87041a1edb2616ba269160382ac5cea6ba9b623281e8069e8adf97b6898d7836add7eff949010a1bc890bff8d2e4797a2ff5c619b45f8ee3adee5d6633843 SHA512 4f93d6c0b602333df50ee4f939cd0419243f6de333472ffebf99334e301143e8cdee3bc1655c29f81608622d6e7850a9bcf6929a6d4748210a70cdb8218a1ec6 +DIST luasocket-3.1.0.tar.gz 336542 BLAKE2B 64d3ab7028050a93a93db444a4d1757f579f111e79c2f84629d0eb9558fc594918614a48cd1cb522d573b84bb4096537fb7950834adeacfffb3e060721402f71 SHA512 1e9e98484740ec6538fe3d2b0dab74d31f052956ecf9ee3b60e229f2d0b13fcc6d4aaf74cd2a3e2ee330333dabb316fe6a43c60baaea26f0cc01069b6aa4519b EBUILD luasocket-3.0.0-r1.ebuild 1843 BLAKE2B fccc27d0d193207d42093831a24237957702d27e442ed0a56dfa8d649a2c99448f648306dc981615cf237055f534c73dcbe9ddaf09519b2390cb25e898dfdad9 SHA512 5845a71bb98b1f9230934597e64e00ab9682681c494832bd56450a6ad33e41756524b5e6a37d4af5413fdee5337eec9da96fb5622888ee11cd88d6ae13835bea +EBUILD luasocket-3.1.0.ebuild 1540 BLAKE2B de95dffd9abc2bf1527f2094d753f26f418cb0491ddc4a65d8bb6c92f71bb8ca7729016540fdcf6dd27a3785986e879a9e6217a33db61fc6790b34221f761d25 SHA512 c251a6930bc415882533cfcb54e144a28009dd6357d4ea684659d9779224ab3660a4e165f05f6550e1905b96c4c0bc51db2c2f718a82b220708dd9a6a61b1e41 MISC metadata.xml 605 BLAKE2B 2358c705cc7a8345cd8975154db2074b70682ae723ad265ed350a49e3958959ea8402405b6a0827d9d7debfcd7bf2d7814211d282492ffea21017dced0b7d5dd SHA512 25b09ed61b7256d5db22ca630ae9067f90491142ff5c3810ab41dadd537cbfc41b08cf6bce55b8c03910b221fefcda72a34afc996184d238af0323a8ac9a5474 diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild b/dev-lua/luasocket/luasocket-3.1.0.ebuild new file mode 100644 index 000000000000..d46fffc97228 --- /dev/null +++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild @@ -0,0 +1,84 @@ +# 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="Networking support for the Lua language" +HOMEPAGE=" + https://lunarmodules.github.io/luasocket/ + https://github.com/lunarmodules/luasocket +" +SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +HTML_DOCS="docs/." + +PATCHES=( + "${FILESDIR}/${PN}-3.0_rc1_p20200328_publish_API.patch" + "${FILESDIR}/${PN}-3.0.0_makefile.patch" +) + +src_prepare() { + default + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "CC=$(tc-getCC)" + "LD=$(tc-getCC)" + "LUAINC_linux=$(lua_get_include_dir)" + "LUAV=${ELUA}" + "MYCFLAGS=${CFLAGS}" + "MYLDFLAGS=${LDFLAGS}" + ) + + emake "${myemakeargs[@]}" all + + popd +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "CDIR=$(lua_get_cmod_dir)" + "DESTDIR=${ED}" + "LDIR=$(lua_get_lmod_dir)" + "LUAPREFIX_linux=" + ) + + emake "${myemakeargs[@]}" install + emake "${myemakeargs[@]}" install-unix + + insinto "$(lua_get_include_dir)"/luasocket + doins src/*.h + + popd +} + +src_install() { + lua_foreach_impl lua_src_install + + use doc && einstalldocs +} |