app-editors/rehex: new pkg; add version 0.3.0 and 9999
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
af83f82e72
commit
df1a27454c
1
app-editors/rehex/Manifest
Normal file
1
app-editors/rehex/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST rehex-0.3.0.tar.gz 2658263 BLAKE2B cd46ca89ed2c8c5c47e0e88f8342749634d172a4a8d1ce45f7f94049601f53f9a95d0724c6da6e9e05718daf8ca17ff859f396ff67d922bbcb1a5618d8c63b49 SHA512 f3f580b32e23280a4033c49ac5ba5d09ebcc7de305af4553a745dd53c015e92601d7018f9e07127298051f3435f1e90c21bdf3ba23809a2f90c4995e0a6d0fab
|
11
app-editors/rehex/metadata.xml
Normal file
11
app-editors/rehex/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">solemnwarning/rehex</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
47
app-editors/rehex/rehex-0.3.0.ebuild
Normal file
47
app-editors/rehex/rehex-0.3.0.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
inherit wxwidgets xdg
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
RESTRICT="
|
||||
mirror
|
||||
!test? ( test )
|
||||
"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/capstone
|
||||
dev-libs/jansson
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr install
|
||||
}
|
47
app-editors/rehex/rehex-9999.ebuild
Normal file
47
app-editors/rehex/rehex-9999.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
inherit wxwidgets xdg
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
RESTRICT="
|
||||
mirror
|
||||
!test? ( test )
|
||||
"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/capstone
|
||||
dev-libs/jansson
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr install
|
||||
}
|
Loading…
Reference in New Issue
Block a user