0
0
Fork 0
haikuports/app-crypt/pinentry/pinentry-1.1.0.recipe

61 lines
1.4 KiB
Bash

SUMMARY="A collection of PIN or passphrase entry dialogs"
DESCRIPTION="This is a collection of PIN or passphrase entry dialogs which \
utilize the Assuan protocol as specified in the Libassuan manual."
HOMEPAGE="https://www.gnupg.org/related_software/pinentry/"
COPYRIGHT="2000-2017 Free Software Foundation, Inc."
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-$portVersion.tar.bz2"
CHECKSUM_SHA256="68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570"
PATCHES="pinentry-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
pinentry$secondaryArchSuffix = $portVersion
cmd:pinentry$secondaryArchSuffix = $portVersion
cmd:pinentry_curses$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libassuan$secondaryArchSuffix
lib:libgpg_error$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libassuan$secondaryArchSuffix
devel:libgpg_error$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
mkdir -p $docDir
make install
cp -r AUTHORS ChangeLog NEWS README $docDir
}
TEST()
{
make check
}