mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
libyubikey, disable static library (#8507)
This commit is contained in:
@@ -1,22 +1,31 @@
|
||||
SUMMARY="Low level C SDK for the Yubico YubiKey authentication device"
|
||||
DESCRIPTION="C library for manipulating Yubico YubiKey One-Time Passwords \
|
||||
(OTPs)"
|
||||
DESCRIPTION="C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)"
|
||||
HOMEPAGE="https://developers.yubico.com/yubico-c/"
|
||||
COPYRIGHT="2008-2015 Yubico AB"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="6"
|
||||
REVISION="7"
|
||||
SOURCE_URI="https://developers.yubico.com/yubico-c/Releases/libyubikey-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="04edd0eb09cb665a05d808c58e1985f25bb7c5254d2849f36a0658ffc51c3401"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="0.1.7"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libyubikey$secondaryArchSuffix = $portVersion
|
||||
cmd:modhex$secondaryArchSuffix = $portVersion
|
||||
cmd:ykgenerate$secondaryArchSuffix = $portVersion
|
||||
cmd:ykparse$secondaryArchSuffix = $portVersion
|
||||
lib:libyubikey$secondaryArchSuffix = 0.1.7 compat >= 0
|
||||
cmd:modhex$commandSuffix = $portVersion
|
||||
cmd:ykgenerate$commandSuffix = $portVersion
|
||||
cmd:ykparse$commandSuffix = $portVersion
|
||||
lib:libyubikey$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -26,7 +35,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libyubikey${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libyubikey$secondaryArchSuffix = 0.1.7 compat >= 0
|
||||
devel:libyubikey$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libyubikey$secondaryArchSuffix == $portVersion base
|
||||
@@ -48,7 +57,10 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-dependency-tracking
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -61,10 +73,6 @@ INSTALL()
|
||||
prepareInstalledDevelLib libyubikey
|
||||
fixPkgconfig
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm -rf $manDir
|
||||
fi
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user