From 005b9c7f40a7c261abcfc3187b6835351563c96e Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Sat, 27 Apr 2024 19:05:20 -0600 Subject: [PATCH] tinyxxd: add recipe for 1.3.1 (#10381) --- dev-util/tinyxxd/tinyxxd-1.3.1.recipe | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 dev-util/tinyxxd/tinyxxd-1.3.1.recipe diff --git a/dev-util/tinyxxd/tinyxxd-1.3.1.recipe b/dev-util/tinyxxd/tinyxxd-1.3.1.recipe new file mode 100644 index 000000000..eaec4dfdd --- /dev/null +++ b/dev-util/tinyxxd/tinyxxd-1.3.1.recipe @@ -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 +}