0
0
Fork 0
haikuports/app-crypt/signify/signify-23.recipe

56 lines
1.3 KiB
Bash

SUMMARY="Cryptographically sign and verify files"
DESCRIPTION="OpenBSD tool to sign and verify signatures on files. \
Portable version"
HOMEPAGE="https://github.com/aperezdc/signify"
# Extracted with grep -i 'copyright (c)' *
COPYRIGHT="2013 Ted Unangst
1995 International Business Machines, Inc
1996 Internet Software Consortium
2015, 2016 Adrián Pérez de Castro
2000 Poul-Henning Kamp
1999, 2004 Marc Espie
2000, 2001 Aaron D. Gifford
2013, 2016 Marc Espie
2010 Damien Miller"
LICENSE="ISC"
REVISION="1"
SOURCE_URI="https://github.com/aperezdc/signify/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="1c690bf0e4283e0764a4a9dd784cb3debf4bb456b975b275dd1aaac7d5afe030"
PATCHES="signify-$portVersion.patchset"
ARCHITECTURES="!all"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
signify$secondaryArchSuffix = $portVersion
cmd:signify$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:cc$secondaryArchSuffix
cmd:make
"
PATCH()
{
sed -e 's|bsd/||g' -i *.c *.h
}
BUILD()
{
make BZERO=libc LIBBSD_CFLAGS="-D_BSD_SOURCE" LIBBSD_LDFLAGS="-lbsd"
}
INSTALL()
{
install -d -m 755 "$binDir" "$manDir/man1"
install -t "$binDir" -m 755 signify
install -t "$manDir/man1" -m 644 signify.1
}