mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lua/lua-zlib: drop 1.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST lua-zlib-1.3.tar.gz 18840 BLAKE2B b273d5475b97d8eb25dae60e80091bf3d62093be4e7721e906e1974f3acf640e095f2f953d9a2ef48343e74c192a16d435c2a8b6d3f9ca3064dc5710eaa2fdd2 SHA512 e65ddb4e4361a9594c9dd96bb649f0c274369fb18e1e8a25ae38a08a2d534069e669e29d15fa486d003598988fb642503ad9062c8abd7739b9f03b5f345d03e4
|
||||
DIST lua-zlib-1.4.tar.gz 19499 BLAKE2B 30902974c61e91b40b2f7d254b4e83b2adb7b5bc9c0e7250f5eb97c347c360f72f01902947ccc1ea76f18966be57769458badffd00f4d864ee2e2f0e3fdc373b SHA512 c7a3f56b3b3c44cdb80b600ae6596c995e6a2adb4f34faa7dfdd7b51f06f3eb29d10d13888ee7eceb47708567560d7759d7af36cd65eec495977ca8d6aef9dc5
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit cmake lua
|
||||
|
||||
DESCRIPTION="Simple streaming interface to zlib for Lua"
|
||||
HOMEPAGE="https://github.com/brimworks/lua-zlib"
|
||||
SRC_URI="https://github.com/brimworks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
virtual/zlib:=
|
||||
${LUA_DEPS}
|
||||
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
lua_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINSTALL_CMOD="$(lua_get_cmod_dir)"
|
||||
-DLUA_INCLUDE_DIR="$(lua_get_include_dir)"
|
||||
-DUSE_LUA_VERSION="$(lua_get_version)"
|
||||
)
|
||||
|
||||
if [[ ${ELUA} == luajit ]]; then
|
||||
mycmakeargs+=( -DUSE_LUAJIT="ON" )
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lua_foreach_impl lua_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user