Creating an haikuport (for newbie)

I saw that the original software, which I forked, exists on haikuports
This one (zpaq)

From what I can see it looks much, much simpler than the FreeBSD and Debian packages.
“Where” to proposing the addition of new software?
(this is a draft package, first try!)

SUMMARY="Swiss army knife for backup and disaster recovery"
DESCRIPTION="Like 7z or RAR on steroids,with deduplicated 'snapshots' (versions)"
HOMEPAGE="https://github.com/fcorbelli/zpaqfranz"
COPYRIGHT="2021-2023 Franco Corbelli"
LICENSE="MIT License"
REVISION="1"
SOURCE_URI="http://www.francocorbelli.it/zpaqfranz/haiku/zpaqfranz.cpp"
CHECKSUM_SHA256="ECAD8BECE93500DA436D837E68D062A3E31F907C7B8E59F0CE3A2B46AF4F0F57"
SOURCE_DIR=""

BUILD()
{
	make CXX=-O3 -Dunix zpaqfranz.cpp -o zpaqfranz  -pthread -static
}

INSTALL()
{
	make BINDIR=$binDir install
}

Maybe it will be a FAQ but please be patient!

The HaikuPorts wiki on GitHub should be very helpful to first-time and sometimes even long-time contributors.

Start from here:

2 Likes

Maybe (actually definitely) I expressed myself badly

The problem is not so much the creation of the recipe, but (assuming you have a perfect one) “HOW to WHO” to submit it

For example in Debian you need a sponsor (already enabled), a very bizzare “sending method”, on FreeBSD there is a completely different procedure (on a website) etc

Send in a pull request to the HaikuPorts GitHub repository for review.

2 Likes