commit: 72da04974e882d6f13e4c4c87181915d0b5a3f8c Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Wed Jan 27 19:45:43 2021 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Wed Jan 27 19:45:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72da0497
dev-lua/luasec: drop live ebuild Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-lua/luasec/luasec-9999.ebuild | 49 --------------------------------------- 1 file changed, 49 deletions(-) diff --git a/dev-lua/luasec/luasec-9999.ebuild b/dev-lua/luasec/luasec-9999.ebuild deleted file mode 100644 index 0023fbd9de4..00000000000 --- a/dev-lua/luasec/luasec-9999.ebuild +++ /dev/null @@ -1,49 +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} - 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)" \ - linux -} - -src_install() { - emake \ - LUAPATH="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \ - LUACPATH="${D}/$(pkg-config --variable INSTALL_CMOD lua)" \ - install -}
