mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-17 17:20:07 +02:00
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
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${secondaryArchSuffix}_syslibs_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make PREFIX=$prefix install
|
|
}
|