mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
libyubikey: fix soname compat and BUILD_PREREQUIRES. Thx @korli!
Also link against libusb-1.0 instead of libusb_compat's libusb-0.1.
This commit is contained in:
@@ -4,7 +4,7 @@ authentication device."
|
||||
HOMEPAGE="https://developers.yubico.com/yubico-c/"
|
||||
COPYRIGHT="2008-2015 Yubico AB"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://developers.yubico.com/yubico-c/Releases/libyubikey-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="04edd0eb09cb665a05d808c58e1985f25bb7c5254d2849f36a0658ffc51c3401"
|
||||
|
||||
@@ -16,17 +16,17 @@ PROVIDES="
|
||||
cmd:modhex$secondaryArchSuffix = $portVersion
|
||||
cmd:ykparse$secondaryArchSuffix = $portVersion
|
||||
cmd:ykgenerate$secondaryArchSuffix = $portVersion
|
||||
lib:libyubikey$secondaryArchSuffix = 0.1.7
|
||||
lib:libyubikey$secondaryArchSuffix = 0.1.7 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libusb$secondaryArchSuffix
|
||||
lib:libusb_1.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libyubikey${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libyubikey$secondaryArchSuffix = 0.1.7
|
||||
devel:libyubikey$secondaryArchSuffix = 0.1.7 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libyubikey$secondaryArchSuffix == $portVersion base
|
||||
@@ -34,8 +34,8 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libusb$secondaryArchSuffix
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libusb_1.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
|
||||
Reference in New Issue
Block a user