pinentry-1.1.0.recipe revision ae94b127
1SUMMARY="A collection of PIN or passphrase entry dialogs"
2DESCRIPTION="This is a collection of PIN or passphrase entry dialogs which \
3utilize the Assuan protocol as specified in the Libassuan manual."
4HOMEPAGE="https://www.gnupg.org/related_software/pinentry/"
5COPYRIGHT="2000-2017 Free Software Foundation, Inc."
6LICENSE="GNU GPL v2"
7REVISION="2"
8SOURCE_URI="https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-$portVersion.tar.bz2"
9CHECKSUM_SHA256="68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570"
10PATCHES="pinentry-$portVersion.patchset"
11
12ARCHITECTURES="x86_gcc2 x86 x86_64"
13SECONDARY_ARCHITECTURES="x86_gcc2 x86"
14
15PROVIDES="
16	pinentry$secondaryArchSuffix = $portVersion
17	cmd:pinentry$secondaryArchSuffix = $portVersion
18	cmd:pinentry_curses$secondaryArchSuffix = $portVersion
19	"
20REQUIRES="
21	haiku$secondaryArchSuffix
22	lib:libassuan$secondaryArchSuffix
23	lib:libgpg_error$secondaryArchSuffix
24	lib:libiconv$secondaryArchSuffix
25	lib:libncurses$secondaryArchSuffix
26	"
27
28BUILD_REQUIRES="
29	haiku${secondaryArchSuffix}_devel
30	devel:libassuan$secondaryArchSuffix
31	devel:libgpg_error$secondaryArchSuffix
32	devel:libiconv$secondaryArchSuffix
33	devel:libncurses$secondaryArchSuffix
34	"
35BUILD_PREREQUIRES="
36	cmd:awk
37	cmd:gcc$secondaryArchSuffix
38	cmd:ld$secondaryArchSuffix
39	cmd:make
40	cmd:pkg_config$secondaryArchSuffix
41	"
42
43BUILD()
44{
45	runConfigure ./configure
46	make $jobArgs
47}
48
49INSTALL()
50{
51	mkdir -p $docDir
52	make install
53
54	cp -r AUTHORS ChangeLog NEWS README $docDir
55}
56
57TEST()
58{
59	make check
60}
61