Files
haikuports/dev-libs/libgpg_error/libgpg_error-1.27.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

68 lines
1.6 KiB
Bash

SUMMARY="A library that defines common error values"
DESCRIPTION="This is a library that defines common error values for all GnuPG \
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, Libksba, \
DirMngr, Pinentry, SmartCard Daemon and more."
HOMEPAGE="https://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
COPYRIGHT="2003-2016 g10 Code GmbH"
LICENSE="GNU LGPL v2.1"
REVISION="3"
SOURCE_URI="https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-$portVersion.tar.bz2"
CHECKSUM_SHA256="4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2"
SOURCE_DIR="libgpg-error-$portVersion"
PATCHES="libgpg_error-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libgpg_error$secondaryArchSuffix = $portVersion compat >= 1
lib:libgpg_error$secondaryArchSuffix = 0.22.0 compat >= 0
cmd:gpg_error$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libgpg_error${secondaryArchSuffix}_devel = $portVersion compat >= 1
cmd:gpg_error_config$secondaryArchSuffix = $portVersion compat >= 1
devel:libgpg_error$secondaryArchSuffix = 0.22.0 compat >= 0
"
REQUIRES_devel="
libgpg_error$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
MAKEINFO=true runConfigure ./configure
make
}
INSTALL()
{
make install
rm $libDir/libgpg-error.la
prepareInstalledDevelLib libgpg-error
packageEntries devel \
$developDir \
$binDir/gpg-error-config \
$dataDir
}
TEST()
{
make check
}