mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
50 lines
1.3 KiB
Bash
50 lines
1.3 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="0c9f25ae647b6ba38cf7e6aea1da4e8fb20e1bc64ef0c679da737a38c8ad43ef"
|
|
# NOTE: This patch is upstreamed. It could be drop once a new version come out
|
|
PATCHES="minisign-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86_64"
|
|
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
|
|
"
|
|
|
|
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
|
|
}
|