mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 07:22:38 +01:00
app-forensics/luadec: add luadec for LUA 5.1
This commit is contained in:
3
app-forensics/luadec/Manifest
Normal file
3
app-forensics/luadec/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST lua-5.1.5.tar.gz 221213 BLAKE2B 915eb8e8c9d7e460eacf1d7a59309c60dfc0f5d9d3d76fbc9764e7cae85920b95096db1c27b69ac53378a145c29efde403e88166a1332a67150d9d3a897aba02 SHA512 0142fefcbd13afcd9b201403592aa60620011cc8e8559d4d2db2f92739d18186860989f48caa45830ff4f99bfc7483287fd3ff3a16d4dec928e2767ce4d542a9
|
||||
DIST luadec-0_p20170106.tar.gz 1773467 BLAKE2B cca475bbc382aa81937977a40f7f87853d58b22b014471fd152ec586d7b940535767b35a4ec237282a679e6fb3167e52c5bdf3aeb6469983bc79babf68133c17 SHA512 29750d91656c7bd11d8eaf50c7fd3018c0b641d909a7d6a9c588bf65ab1cd739d9a3eb72ba35564cecc53b7c493e00123ce06879e7da27d669c81d348dd651e8
|
||||
EBUILD luadec-0_p20170106.ebuild 884 BLAKE2B 298a3e0536bcdc9e1fee61762193562b02e65a304771335db5ac1b94e51649c8cd87f58f35b555ca3c0b68c47c757eb1d967c54aff874af9f8dceca1fb6c616a SHA512 2f236be0d9da09e6c8f540393128821a465aba97d6872ed9f440d1dc3ac71d4aedd824b6b3464492fe886e9aaffa48d4c49de9ab03ef4958b1b16a2545aef4f5
|
||||
42
app-forensics/luadec/luadec-0_p20170106.ebuild
Normal file
42
app-forensics/luadec/luadec-0_p20170106.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
LUA_COMPAT=( lua5-1 )
|
||||
LUA_TARGET=5.1.5
|
||||
EGIT_COMMIT="895d92313fabaee260121c758c8320d1b21dd741"
|
||||
|
||||
inherit lua-single
|
||||
|
||||
DESCRIPTION="LuaDec is a Lua decompiler for lua 5.1"
|
||||
HOMEPAGE="https://github.com/viruscamp/luadec"
|
||||
SRC_URI="https://github.com/viruscamp/luadec/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://www.lua.org/ftp/lua-${LUA_TARGET}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${LUA_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf lua-${SLOT}
|
||||
ln -s ${WORKDIR}/lua-${LUA_TARGET} lua-${SLOT}
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C lua-${SLOT} linux || die
|
||||
LUAVER=${SLOT} emake -C luadec || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin luadec/luadec luadec-${SLOT}
|
||||
}
|
||||
Reference in New Issue
Block a user