ykclient, disable static library (#8508)

This commit is contained in:
Schrijvers Luc
2023-04-24 17:09:10 +02:00
committed by GitHub
parent acad0c3cbd
commit 23718fd71c

View File

@@ -4,17 +4,27 @@ to validate an Yubikey OTP against Yubicos servers."
HOMEPAGE="https://developers.yubico.com/yubico-c-client/"
COPYRIGHT="2008-2015 Yubico AB"
LICENSE="BSD (2-clause)"
REVISION="3"
REVISION="4"
SOURCE_URI="https://developers.yubico.com/yubico-c-client/Releases/ykclient-$portVersion.tar.gz"
CHECKSUM_SHA256="f461cdefe7955d58bbd09d0eb7a15b36cb3576b88adbd68008f40ea978ea5016"
ARCHITECTURES="all ?x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
libVersion="3.6.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
ykclient$secondaryArchSuffix = $portVersion
cmd:ykclient$secondaryArchSuffix = $portVersion
lib:libykclient$secondaryArchSuffix = 3.6.0 compat >= 0
cmd:ykclient$commandSuffix = $portVersion
lib:libykclient$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -23,7 +33,7 @@ REQUIRES="
PROVIDES_devel="
ykclient${secondaryArchSuffix}_devel = $portVersion
devel:libykclient$secondaryArchSuffix = 3.6.0 compat >= 0
devel:libykclient$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
ykclient$secondaryArchSuffix == $portVersion base
@@ -46,7 +56,10 @@ BUILD_PREREQUIRES="
BUILD()
{
runConfigure ./configure --disable-dependency-tracking
runConfigure --omit-dirs binDir ./configure \
--bindir=$commandBinDir \
--disable-static \
--disable-dependency-tracking
make $jobArgs
}