Files
haikuports/dev-libs/libgpg_error/libgpg_error-1.18.recipe
2015-02-09 19:55:33 +00:00

65 lines
1.5 KiB
Plaintext

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.
"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2003-2013 g10 Code GmbH"
HOMEPAGE="http://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$portVersion.tar.bz2"
CHECKSUM_SHA256="9ff1d6e61d4cef7c1d0607ceef6d40dc33f3da7a3094170c3718c00153d80810"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libgpg_error$secondaryArchSuffix = $portVersion compat >= 1
lib:libgpg_error$secondaryArchSuffix = 0.14.0 compat >= 0
cmd:gpg_error$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:make
cmd:gcc$secondaryArchSuffix
"
SOURCE_DIR="libgpg-error-$portVersion"
PATCHES="libgpg_error-$portVersion.patchset"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
prepareInstalledDevelLibs libgpg-error
packageEntries devel \
$developDir $binDir/gpg-error-config
}
PROVIDES_devel="
libgpg_error${secondaryArchSuffix}_devel = $portVersion compat >= 1
cmd:gpg_error_config$secondaryArchSuffix = $portVersion compat >= 1
devel:libgpg_error$secondaryArchSuffix = 0.14.0 compat >= 0
"
REQUIRES_devel="
libgpg_error$secondaryArchSuffix == $portVersion
"