rehex-0.3.92.ebuild

This commit is contained in:
Anton Bolshakov 2021-08-26 14:28:29 +08:00
parent 9126b17736
commit 399d4cfed6
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 48 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST rehex-0.3.91.tar.gz 3292919 BLAKE2B c248f961ffe48f0287a98cc81fd91ef68d05fdf1a312e0601571b0d1bd6674414fe642c0fc5e24493145746181fbb0c404e02e102253279397d91fe6aa2a6f8b SHA512 21c5c6af4f4f5b76ee1f700eefd87debb6f689cc44f76bb2648498813cccaa955d86c9817753f2098e90efb9f36737151a3109a8a2029ed1a95a701dda7bdbc5
DIST rehex-0.3.92.tar.gz 3307148 BLAKE2B 1f5f153dd1f4cd7c78e95ce407bda71e554d37c0e2f9ca9a94b41040329208e91401581c6a4b4d502804b0a1c4365386d1f38248649506064a0d3b50c3d3d391 SHA512 7c8bcdd762e9de91080ad9b6f2cd3e9e7729785978cb5011d81ff89287f857e35df1315110ac6f81455667c6df3e13c368ef5d6c4b5397f929dc9de3bd7446bf

View file

@ -0,0 +1,47 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
WX_GTK_VER="3.0-gtk3"
LUA_COMPAT=(lua5-{1..4} )
inherit wxwidgets xdg lua-single
DESCRIPTION="Reverse Engineers' Hex Editor"
HOMEPAGE="https://github.com/solemnwarning/rehex"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/solemnwarning/${PN}.git"
else
SRC_URI="https://github.com/solemnwarning/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
fi
RESTRICT="mirror
!test? ( test )"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
RDEPEND="${LUA_DEPS}
dev-libs/capstone
dev-libs/jansson
x11-libs/wxGTK:${WX_GTK_VER}[X]"
DEPEND="${RDEPEND}
test? (
dev-cpp/gtest
)"
BDEPEND="virtual/pkgconfig"
src_configure() {
export LUA_PKG=${ELUA}
setup-wxwidgets
}
src_install() {
emake LUA_PKG=${ELUA} prefix="${D}"/usr install
}