mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
libdmtx, disable static library, use libVersionCompat (#8352)
This commit is contained in:
@@ -6,7 +6,7 @@ HOMEPAGE="https://sourceforge.net/projects/libdmtx/
|
||||
https://github.com/dmtx/libdmtx"
|
||||
COPYRIGHT="2005-2016 Mike Laughton, Vadim A. Misbakh-Soloviov and others"
|
||||
LICENSE="libdmtx v1.0"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/dmtx/libdmtx/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="be0c5275695a732a5f434ded1fcc232aa63b1a6015c00044fe87f3a689b75f2e"
|
||||
SOURCE_FILENAME="libdmtx-v$portVersion.tar.gz"
|
||||
@@ -14,9 +14,12 @@ SOURCE_FILENAME="libdmtx-v$portVersion.tar.gz"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libdmtx$secondaryArchSuffix = $portVersion
|
||||
lib:libdmtx$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libdmtx$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -24,7 +27,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libdmtx${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libdmtx$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libdmtx$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdmtx$secondaryArchSuffix == $portVersion base
|
||||
@@ -45,7 +48,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user