dev-lua/luasec: drop old version

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2020-10-14 23:23:26 +02:00
parent 28b8e9958b
commit 07efab36d2
2 changed files with 0 additions and 49 deletions
-1
View File
@@ -1,2 +1 @@
DIST luasec-0.7.tar.gz 47965 BLAKE2B 5bd19cfb5c2529a6fbee221442730c87394f1bf3d5089dd83d18e91ef1a2b88cde19c59988e438eb37e50c02c40a8906ad11ce9b3247b03ea11ed6d9e890b7d6 SHA512 6adf5241aa5a0d92c9dd7fc7f7e426969475548f47979ccc28187471b3bad4132c215de6da1f471d21b05c6558d36309264512c9c4ac70a53d6f6e204cac1358
DIST luasec-0.9.tar.gz 52163 BLAKE2B fa95ae63b36f138f923dc412f527ff527e4f7562ad177ca7f450ef889e75c204d1bfec3773523fb68865c3846a0edc583cbf903db5233ff080074147f33bfb30 SHA512 ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933
-48
View File
@@ -1,48 +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"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/brunoos/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz"
KEYWORDS="amd64 arm ~arm64 x86"
S=${WORKDIR}/${PN}-${P}
fi
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.h || 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
}