diff options
Diffstat (limited to 'dev-lua/luasocket')
-rw-r--r-- | dev-lua/luasocket/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild | 49 | ||||
-rw-r--r-- | dev-lua/luasocket/metadata.xml | 8 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest new file mode 100644 index 000000000000..b611edebaf6f --- /dev/null +++ b/dev-lua/luasocket/Manifest @@ -0,0 +1,5 @@ +DIST luasocket-3.0_rc1.tar.gz 328598 SHA256 8b67d9b5b545e1b694753dab7bd6cdbc24c290f2b21ba1e14c77b32817ea1249 SHA512 f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540 WHIRLPOOL 31870d4450f0dffbf74669450188c0e491c916ec5b1df853ce8400987bc99528b730b5de9063183d9e75433af412ccacaa8c41ed9c34720f2c2f63c62c817923 +EBUILD luasocket-3.0_rc1-r3.ebuild 1107 SHA256 55ee6b29cc725b7ff7d6e5bf296dbad8f12085c12800fc686260e30a9908a491 SHA512 f85177c0f36e3dec2c7c2a92d0d31034877214bf4cb848901b04868321e5fed64b6b2b123dce3815be0f726975a3a074647f2fafd9dff893212bdc2a76a8f631 WHIRLPOOL 0280fdb08d3d92f46c1def5c807f4f73155caee65ad7f4a6dcf41d9a198ee33697a66d28580206dc79278c67896d937908c39d1d05d3f891fbe4ba573904ef0c +MISC ChangeLog 2290 SHA256 d606dd1052497ca4ebc6f29001da76a58eead08e2a16538707d3eb4613e6ceca SHA512 2bc50fea9dcaa76956278796981b9aa4738e7d6198b7cb343c3a46d4fa3ebe8112b022927f3f334773c834161a07d8301ca277cf149ddff8aa4c7f94f8a5b6ff WHIRLPOOL e6b57d0360536287fe8b31572adf0651a0f86091d794072bb0d0644c1a10625cf2b8f3ff96c7f21d70672dd0f2a8858923750198521b5c83878332a4f7164b92 +MISC ChangeLog-2015 4160 SHA256 c80e555a047897cf4d36c1d765bd37713ffaf3a1beacfa639e083354e58eec26 SHA512 852f80f572e79143bdb9a018fcba53a41a1ccbd0ec4046f991e7a7a36361a1b7e1a3b1a9b7d9cb5bd3d56026fbc6db61e4592ee84b42c4b273aead28aadc37d3 WHIRLPOOL 077f371eccc1a770c006814145c2cd32c36e8659912a5e23394fee70d6b2ee03770036b112103cc200697c88b628502710d128cf0dbe50c8dbe4b86897e0842d +MISC metadata.xml 257 SHA256 12e8fb911613e304f6c245907d2e15cccfa47840eddf5b1bc483c496cb11457f SHA512 a14f4fdf4826065cc3c5bba386e790d97d31a4e5eb042d269bdc56c9d6122bd2d3322971a6ce7431e860538af861e675a57afd9fa100e63d6c35d36c68aacf7e WHIRLPOOL 3fe8624690fe490d88987f473790166030fa878417f6ab430be6d4f9b1094bb404140f517d0290f229a1ff1ac39bc74660b25531cf5a5bc0a9cb6a7d0bb05094 diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild new file mode 100644 index 000000000000..b2b42fd1b64b --- /dev/null +++ b/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib multilib-minimal flag-o-matic + +DESCRIPTION="Networking support library for the Lua language" +HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/" +SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86" +IUSE="debug" + +RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S=${WORKDIR}/${PN}-${PV/_/-} + +RESTRICT="test" + +src_prepare() { + multilib_copy_sources +} + +multilib_src_compile() { + emake \ + CC="$(tc-getCC) ${CFLAGS}" \ + LD="$(tc-getCC) ${LDFLAGS}"\ + $(usex debug DEBUG="DEBUG" "") +} + +multilib_src_install() { + local luav=$($(tc-getPKG_CONFIG) --variable V lua) + emake \ + DESTDIR="${D}" \ + LUAPREFIX_linux=/usr \ + LUAV=${luav} \ + CDIR_linux=$(get_libdir)/lua/${luav} \ + install-unix +} + +multilib_src_install_all() { + dodoc NEW README + dohtml -r doc/. +} diff --git a/dev-lua/luasocket/metadata.xml b/dev-lua/luasocket/metadata.xml new file mode 100644 index 000000000000..409d430eb575 --- /dev/null +++ b/dev-lua/luasocket/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">diegonehab/luasocket</remote-id> + </upstream> +</pkgmetadata> |