commit: 7939a349509eea24524186f9d3479b664685d434 parent: 6c5d6c055ccae488bcd5083362d2012791f6ad88 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Fri, 1 Feb 2019 20:27:46 +0100 dev-lua/luasec: Revbump to 0.7Diffstat:
M | dev-lua/luasec/Manifest | 2 | +- |
D | dev-lua/luasec/luasec-0.5.1.ebuild | 54 | ------------------------------------------------------ |
A | dev-lua/luasec/luasec-0.7.ebuild | 55 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 56 insertions(+), 55 deletions(-)
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest @@ -1 +1 @@ -DIST luasec-0.5.1.tar.gz 46820 BLAKE2B 3b3d33c59c6817a810bb4ab5968657e29d123d5496e9ba28f03636ce389b99fb1e7724d9f2531fc651c86c8252a08973e76ae65ee5ab551cfe4d450519982053 SHA512 c7c92c79d0ec3e12b69f88d810a19397eaf570957d1f13b9695ee435cb6f0f9c31f5bc20a7252aac93d18eed98a5d3fc8a181cd85845a704e469055f215609a8 +DIST luasec-0.7.tar.gz 47965 BLAKE2B 5bd19cfb5c2529a6fbee221442730c87394f1bf3d5089dd83d18e91ef1a2b88cde19c59988e438eb37e50c02c40a8906ad11ce9b3247b03ea11ed6d9e890b7d6 SHA512 6adf5241aa5a0d92c9dd7fc7f7e426969475548f47979ccc28187471b3bad4132c215de6da1f471d21b05c6558d36309264512c9c4ac70a53d6f6e204cac1358 diff --git a/dev-lua/luasec/luasec-0.5.1.ebuild b/dev-lua/luasec/luasec-0.5.1.ebuild @@ -1,54 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -IS_MULTILIB=true - -inherit lua - -DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication." -HOMEPAGE="http://www.inf.puc-rio.br/~brunoos/luasec/" -SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="examples" - -RDEPEND=" - dev-lua/luasocket - dev-libs/openssl -" -DEPEND=" - ${RDEPEND} -" - -all_lua_prepare() { - sed -i -r \ - -e 's#(MAKE\)).*(install)#\1 \2#' \ - -e '/LIB_PATH.*-L.usr.lib/d' \ - Makefile - - pushd src &>/dev/null - lua_default - popd &>/dev/null -} - -each_lua_configure() { - pushd src &>/dev/null - myeconfargs=() - myeconfargs+=( - LD='$(CC)' - LUAPATH="$(lua_get_pkgvar INSTALL_LMOD)" - LUACPATH="$(lua_get_pkgvar INSTALL_CMOD)" - ) - - lua_default - popd &>/dev/null -} - -each_lua_compile() { - lua_default linux -} diff --git a/dev-lua/luasec/luasec-0.7.ebuild b/dev-lua/luasec/luasec-0.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +IS_MULTILIB=true + +inherit lua + +DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication." +HOMEPAGE="http://www.inf.puc-rio.br/~brunoos/luasec/" +SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz" +LUA_S="${PN}-${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="examples" + +RDEPEND=" + dev-lua/luasocket + dev-libs/openssl +" +DEPEND=" + ${RDEPEND} +" + +all_lua_prepare() { + sed -i -r \ + -e 's#(MAKE\)).*(install)#\1 \2#' \ + -e '/LIB_PATH.*-L.usr.lib/d' \ + Makefile + + pushd src &>/dev/null + lua_default + popd &>/dev/null +} + +each_lua_configure() { + pushd src &>/dev/null + myeconfargs=() + myeconfargs+=( + LD='$(CC)' + LUAPATH="$(lua_get_pkgvar INSTALL_LMOD)" + LUACPATH="$(lua_get_pkgvar INSTALL_CMOD)" + ) + + lua_default + popd &>/dev/null +} + +each_lua_compile() { + lua_default linux +}