mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
49 lines
1.2 KiB
Bash
49 lines
1.2 KiB
Bash
SUMMARY="A dead simple tool to sign files and verify digital signatures"
|
|
DESCRIPTION="Minisign is a dead simple tool to sign files and verify signatures.
|
|
It is portable, lightweight, and uses the highly secure Ed25519 public-key \
|
|
signature system"
|
|
HOMEPAGE="https://jedisct1.github.io/minisign"
|
|
COPYRIGHT="2015-2016 Frank Denis"
|
|
LICENSE="ISC"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/jedisct1/minisign/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="caa4b3dd314e065c6f387b2713f7603673e39a8a0b1a76f96ef6c9a5b845da0f"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
minisign$secondaryArchSuffix = $portVersion
|
|
cmd:minisign$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsodium$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsodium$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DCMAKE_BUILD_TYPE=Release
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -d -m 755 "$binDir" "$docDir" "$manDir/man1"
|
|
install -t "$binDir" -m 755 minisign
|
|
install -t "$docDir" -m 644 README.md
|
|
install -t "$manDir/man1" -m 644 share/man/man1/minisign.1
|
|
}
|