mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
68 lines
1.8 KiB
Bash
68 lines
1.8 KiB
Bash
SUMMARY="GNU's basic cryptographic library"
|
|
DESCRIPTION="Libgcrypt is a general purpose crypto library based on the code \
|
|
used in GnuPG."
|
|
HOMEPAGE="http://directory.fsf.org/project/libgcrypt/"
|
|
COPYRIGHT="2000-2013 Free Software Foundation, Inc."
|
|
LICENSE="GNU LGPL v3"
|
|
REVISION="3"
|
|
SOURCE_URI="ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="f49ebc5842d455ae7019def33eb5a014a0f07a2a8353dc3aa50a76fd1dafa924"
|
|
PATCHES="libgcrypt-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libgcrypt${secondaryArchSuffix} = $portVersion compat >= 1.6
|
|
lib:libgcrypt${secondaryArchSuffix} = 20.0.5 compat >= 20
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libgpg_error${secondaryArchSuffix}
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libgcrypt${secondaryArchSuffix}_devel = $portVersion compat >= 1.6
|
|
devel:libgcrypt$secondaryArchSuffix = 20.0.5 compat >= 20
|
|
cmd:dumpsexp$secondaryArchSuffix = $portVersion compat >= 1.6
|
|
cmd:libgcrypt_config$secondaryArchSuffix = $portVersion compat >= 1.6
|
|
cmd:hmac256$secondaryArchSuffix = $portVersion compat >= 1.6
|
|
cmd:mpicalc$secondaryArchSuffix = $portVersion compat >= 1.6
|
|
"
|
|
REQUIRES_devel="
|
|
libgcrypt${secondaryArchSuffix} == $portVersion base
|
|
haiku${secondaryArchSuffix}
|
|
devel:libgpg_error${secondaryArchSuffix}
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgpg_error${secondaryArchSuffix}
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:gcc${secondaryArchSuffix}
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
#remove libtool file
|
|
rm -f $libDir/libgcrypt.la
|
|
|
|
prepareInstalledDevelLibs libgcrypt
|
|
|
|
packageEntries devel \
|
|
$developDir $binDir $manDir $dataDir $infoDir
|
|
}
|