summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-12-20 23:56:05 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-12-20 23:56:15 +0100
commit3702a539b134193a299586b8324f116c856cbe91 (patch)
tree948050053958edefb10eb8b469183cfc137b1777 /dev-lua
parentdev-lua/lua-openssl: update emakeargs, fix tests (diff)
downloadgentoo-3702a539b134193a299586b8324f116c856cbe91.tar.gz
gentoo-3702a539b134193a299586b8324f116c856cbe91.tar.bz2
gentoo-3702a539b134193a299586b8324f116c856cbe91.zip
dev-lua/lua-openssl: drop old version
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild117
-rw-r--r--dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r2.ebuild90
2 files changed, 0 insertions, 207 deletions
diff --git a/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild b/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild
deleted file mode 100644
index f8e40f03140f..000000000000
--- a/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGIT_COMMIT_AUX="8d09895473b73e4fb72b7573615f69c36e1860a2"
-LUA_COMPAT=( lua5-{1..3} luajit )
-MY_PN_AUX="lua-auxiliar"
-MY_PN_COMPAT="lua-compat-5.3"
-MY_PV="${PV//_p/-}"
-MY_PV_COMPAT="0.10"
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="OpenSSL binding for Lua"
-HOMEPAGE="https://github.com/zhaozg/lua-openssl"
-SRC_URI="
- https://github.com/zhaozg/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zhaozg/${MY_PN_AUX}/archive/${EGIT_COMMIT_AUX}.tar.gz -> ${MY_PN_AUX}-${EGIT_COMMIT_AUX}.tar.gz
- https://github.com/keplerproject/${MY_PN_COMPAT}/archive/v${MY_PV_COMPAT}.tar.gz -> ${MY_PN_COMPAT}-${MY_PV_COMPAT}.tar.gz
-"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="MIT openssl PHP-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="libressl test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- !dev-lua/luaossl
- !dev-lua/luasec
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0=[-bindist] )
- ${LUA_DEPS}
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? ( ${RDEPEND} )
-"
-
-DOCS=( "README.md" "samples/." )
-
-src_prepare() {
- default
-
- # Prepare needed dependencies (source code files only)
- rm -r deps/{auxiliar,lua-compat} || die
- mv "${WORKDIR}/${MY_PN_AUX}-${EGIT_COMMIT_AUX}" deps/auxiliar || die
- mv "${WORKDIR}/${MY_PN_COMPAT}-${MY_PV_COMPAT}" deps/lua-compat || die
-
- lua_copy_sources
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "AR=$(tc-getAR)"
- "CC=$(tc-getCC)"
- "LUA_CFLAGS=${CFLAGS} $(lua_get_CFLAGS)"
- "LUA_LIBS=${LDFLAGS}"
- "LUA_VERSION=$(ver_cut 1-2 $(lua_get_version))"
- "TARGET_SYS=${CTARGET:-${CHOST}}"
- )
-
- emake "${myemakeargs[@]}"
-
- popd
-}
-
-src_compile() {
- lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "LUA=${ELUA}"
- "LUA_VERSION=$(ver_cut 1-2 $(lua_get_version))"
- "TARGET_SYS=${CTARGET:-${CHOST}}"
- )
-
- emake "${myemakeargs[@]}" test
-
- popd
-}
-
-src_test() {
- lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "LUA_LIBDIR=${ED}/$(lua_get_cmod_dir)"
- "LUA_VERSION=$(ver_cut 1-2 $(lua_get_version))"
- "TARGET_SYS=${CTARGET:-${CHOST}}"
- )
-
- emake "${myemakeargs[@]}" install
-
- insinto "$(lua_get_lmod_dir)"
- doins -r "lib/."
-
- popd
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-
- einstalldocs
-}
diff --git a/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r2.ebuild b/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r2.ebuild
deleted file mode 100644
index c8c126b8cb44..000000000000
--- a/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGIT_COMMIT_AUX="8d09895473b73e4fb72b7573615f69c36e1860a2"
-MY_PN_AUX="lua-auxiliar"
-MY_PN_COMPAT="lua-compat-5.3"
-MY_PV="${PV//_p/-}"
-MY_PV_COMPAT="0.10"
-
-inherit toolchain-funcs
-
-DESCRIPTION="OpenSSL binding for Lua"
-HOMEPAGE="https://github.com/zhaozg/lua-openssl"
-SRC_URI="
- https://github.com/zhaozg/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zhaozg/${MY_PN_AUX}/archive/${EGIT_COMMIT_AUX}.tar.gz -> ${MY_PN_AUX}-${EGIT_COMMIT_AUX}.tar.gz
- https://github.com/keplerproject/${MY_PN_COMPAT}/archive/v${MY_PV_COMPAT}.tar.gz -> ${MY_PN_COMPAT}-${MY_PV_COMPAT}.tar.gz
-"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="MIT openssl PHP-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="libressl luajit test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- !dev-lua/luaossl
- !dev-lua/luasec
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( >=dev-lang/lua-5.1:0 )
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0=[-bindist] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? ( ${RDEPEND} )
-"
-
-DOCS=( "README.md" "samples/." )
-
-src_prepare() {
- default
-
- # Prepare needed dependencies (source code files only)
- rm -r deps/{auxiliar,lua-compat} || die
- mv "${WORKDIR}/${MY_PN_AUX}-${EGIT_COMMIT_AUX}" deps/auxiliar || die
- mv "${WORKDIR}/${MY_PN_COMPAT}-${MY_PV_COMPAT}" deps/lua-compat || die
-}
-
-src_compile() {
- local myemakeargs=(
- "AR=$(tc-getAR)"
- "CC=$(tc-getCC)"
- "LUA_CFLAGS=${CFLAGS} -I$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))"
- "LUA_LIBS=${LDFLAGS}"
- "LUA_VERSION=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'abiver' 'V') $(usex luajit 'luajit' 'lua'))"
- "TARGET_SYS=${CTARGET:-${CHOST}}"
- )
-
- emake "${myemakeargs[@]}"
-}
-
-src_test() {
- local myemakeargs=(
- "LUA=$(usex luajit 'luajit' 'lua')"
- "LUA_VERSION=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'abiver' 'V') $(usex luajit 'luajit' 'lua'))"
- "TARGET_SYS=${CTARGET:-${CHOST}}"
- )
-
- emake "${myemakeargs[@]}" test
-}
-
-src_install() {
- local myemakeargs=(
- "LUA_LIBDIR=${ED}/$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
- "LUA_VERSION=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'abiver' 'V') $(usex luajit 'luajit' 'lua'))"
- "TARGET_SYS=${CTARGET:-${CHOST}}"
- )
-
- emake "${myemakeargs[@]}" install
-
- insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
- doins -r "lib/."
-
- einstalldocs
-}