tinyxxd: add recipe for 1.3.1 (#10381)

This commit is contained in:
augiedoggie
2024-04-27 19:05:20 -06:00
committed by GitHub
parent f173593675
commit 005b9c7f40

View File

@@ -0,0 +1,44 @@
SUMMARY="Standalone version of the hex dump utility that comes with ViM"
DESCRIPTION="xxd is a utility that comes with ViM. It can be used to view binary or text files as \
hex codes. It is often installed on UNIX-like systems. It can dump files to hex, and also do the \
same thing in reverse: recreate files from hex codes.
tinyxxd is a standalone fork of xxd, a slight modernization of the C code, a slight performance \
increase and a drop-in replacement for xxd. It contains the same logic and supports the exact \
same flags."
HOMEPAGE="https://github.com/xyproto/tinyxxd"
COPYRIGHT="2024 tinyxxd authors"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/xyproto/tinyxxd/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="5b4a44443492821f8a6b22aad7f4e7708000a007a53a35c161a237c94c951c5e"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
tinyxxd$secondaryArchSuffix = $portVersion
cmd:tinyxxd
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
gcc_syslibs${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
make
}
INSTALL()
{
make PREFIX=$prefix install
}