summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-01-24 19:11:16 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-01-27 20:40:25 +0100
commit2f908f745a152f9d303ae03bd1624a5ede3c518f (patch)
tree00db7094055caa3b30d4f43b64dd357543af59b5 /dev-lua/luasec
parentdev-lua/luarocks: drop old version (diff)
downloadgentoo-2f908f745a152f9d303ae03bd1624a5ede3c518f.tar.gz
gentoo-2f908f745a152f9d303ae03bd1624a5ede3c518f.tar.bz2
gentoo-2f908f745a152f9d303ae03bd1624a5ede3c518f.zip
dev-lua/luasec: drop old version
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua/luasec')
-rw-r--r--dev-lua/luasec/luasec-0.9.ebuild42
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-lua/luasec/luasec-0.9.ebuild b/dev-lua/luasec/luasec-0.9.ebuild
deleted file mode 100644
index 49603d3ef4c2..000000000000
--- a/dev-lua/luasec/luasec-0.9.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication"
-HOMEPAGE="https://github.com/brunoos/luasec"
-SRC_URI="https://github.com/brunoos/luasec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="amd64 arm arm64 x86"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="libressl"
-
-RDEPEND="
- >=dev-lang/lua-5.1:0[deprecated]
- dev-lua/luasocket
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- sed -i -e "s/-O2//" src/Makefile || die
- lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.c || die
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" LD="$(tc-getCC)" LIB_PATH="" \
- linux
-}
-
-src_install() {
- emake \
- LUAPATH="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \
- LUACPATH="${D}/$(pkg-config --variable INSTALL_CMOD lua)" \
- install
-}