Add net-misc/tocaia (#12872)

This commit is contained in:
Valter Nazianzeno
2025-08-31 14:24:01 -03:00
committed by GitHub
parent 2bb2ba8f9c
commit ce0fb7b385

View File

@@ -0,0 +1,39 @@
SUMMARY="Portable TUI Gopher client written in C89 for POSIX systems"
DESCRIPTION="tocaia is a minimalist and cross-platform Gopher client.\
Built with minimal dependencies, it offers a fast, efficient, \
and a direct browsing experience navigating the Gopherspace."
HOMEPAGE="https://github.com/manipuladordedados/tocaia"
COPYRIGHT="2025 Valter Nazianzeno"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://github.com/manipuladordedados/tocaia/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="be4528728d782bfac6b4dba9c7df639f2d3b888715751c25ca44310960f0c58f"
ARCHITECTURES="all"
PROVIDES="
tocaia = $portVersion
cmd:tocaia = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make LDFLAGS="-lnetwork" $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp tocaia $binDir
}