77 lines
1.7 KiB
Bash
77 lines
1.7 KiB
Bash
SUMMARY="Library for working with X.509 certificates, CMS data and related"
|
|
DESCRIPTION="Libksba is a library to make the task of working with X.509, CMS \
|
|
data and related objects easier. It provides a highlevel interface to \
|
|
implemented protocols and presents the data in a consistent way."
|
|
HOMEPAGE="https://www.gnupg.org/related_software/libksba/"
|
|
COPYRIGHT="2001-2015 g10 Code GmbH"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="3"
|
|
SOURCE_URI="https://www.gnupg.org/ftp/gcrypt/libksba/libksba-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340"
|
|
PATCHES="libksba-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libksba$secondaryArchSuffix = $portVersion
|
|
lib:libksba$secondaryArchSuffix = 8.11.6 compat >= 8
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libksba${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:ksba_config$secondaryArchSuffix = $portVersion
|
|
devel:libksba$secondaryArchSuffix = 8.11.6 compat >= 8
|
|
"
|
|
REQUIRES_devel="
|
|
libksba$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/libksba.la
|
|
|
|
prepareInstalledDevelLib libksba
|
|
fixPkgconfig
|
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
rm -rf $infoDir
|
|
fi
|
|
|
|
packageEntries devel \
|
|
$binDir/ksba-config \
|
|
$dataDir/aclocal/ksba.m4 \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|