mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
c_ares, bump version, move cmd's to primary tools package (#8656)
This commit is contained in:
@@ -14,22 +14,19 @@ COPYRIGHT="2004-2018 by Daniel Stenberg et al
|
||||
2012 Marko Kreen
|
||||
2005 Dominick Meglio"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://c-ares.haxx.se/download/c-ares-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1a7d52a8a84a9fbffb1be9133c0f6e17217d91ea5a6fa61f6b4729cda78ebbcf"
|
||||
CHECKSUM_SHA256="bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3"
|
||||
SOURCE_DIR="c-ares-$portVersion"
|
||||
|
||||
ARCHITECTURES="all x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="2.5.1"
|
||||
libVersion="2.6.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
c_ares$secondaryArchSuffix = $portVersion compat >= 1
|
||||
cmd:acountry$secondaryArchSuffix = $portVersion
|
||||
cmd:adig$secondaryArchSuffix = $portVersion
|
||||
cmd:ahost$secondaryArchSuffix = $portVersion
|
||||
lib:libcares$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -44,6 +41,18 @@ REQUIRES_devel="
|
||||
c_ares$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
PROVIDES_tools="
|
||||
c_ares${secondaryArchSuffix}_tools = $portVersion compat >= 1
|
||||
cmd:acountry$secondaryArchSuffix = $portVersion
|
||||
cmd:adig$secondaryArchSuffix = $portVersion
|
||||
cmd:ahost$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_tools="$REQUIRES
|
||||
c_ares$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
fi
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -76,4 +85,14 @@ INSTALL()
|
||||
"$developDir" \
|
||||
"$libDir/cmake" \
|
||||
"$manDir/man3"
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
packageEntries tools \
|
||||
"$documentationDir" \
|
||||
"$binDir"
|
||||
fi
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm -rf "$documentationDir" "$binDir"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user