dhex: new recipe.

This commit is contained in:
PulkoMandy
2025-07-23 22:48:03 +02:00
parent cd47e9cf54
commit 8f5a6c83d7

View File

@@ -0,0 +1,44 @@
SUMMARY="Curses based hex editor"
DESCRIPTION="More than just another hex editor: It includes a diff mode, which can be used to \
easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, \
it can run on any number of systems and scenarios. With its utilization of search logs, it is \
possible to track changes in different iterations of files easily."
HOMEPAGE="http://www.dettus.net/dhex/"
COPYRIGHT="2004-2019 Thomas Dettbarn"
LICENSE="GNU GPL v2"
SOURCE_URI="http://www.dettus.net/dhex/dhex_0.69.tar.gz"
SOURCE_DIR="dhex_$portVersion"
CHECKSUM_SHA256="52730bcd1cf16bd4dae0de42531be9a4057535ec61ca38c0804eb8246ea6c41b"
REVISION="1"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
dhex$secondaryArchSuffix = $portVersion
cmd:dhex$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncursesw$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir $binDir
cp dhex $binDir
}