mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
ykclient, disable static library (#8508)
This commit is contained in:
@@ -4,17 +4,27 @@ to validate an Yubikey OTP against Yubico’s 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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user