mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
libidn 1.34: add recipe for the latest release but mark it as untested
because the tests fail to build.
This commit is contained in:
81
net-dns/libidn/libidn-1.34.recipe
Normal file
81
net-dns/libidn/libidn-1.34.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="Internationalized Domain Names (IDN) implementation"
|
||||
DESCRIPTION="Libidn is a package for internationalized string handling based \
|
||||
on the Stringprep, Punycode, IDNA and TLD specifications."
|
||||
HOMEPAGE="https://www.gnu.org/software/libidn/"
|
||||
COPYRIGHT="2002-2018 Simon Josefsson"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://ftpmirror.gnu.org/libidn/libidn-$portVersion.tar.gz
|
||||
https://ftp.gnu.org/gnu/libidn/libidn-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3719e2975f2fb28605df3479c380af2cf4ab4e919e1506527e4c7670afff6e3c"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
libVersion="11.6.18"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libidn$secondaryArchSuffix = $portVersion
|
||||
lib:libidn$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:idn$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libidn${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libidn$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libidn$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:automake
|
||||
cmd:autoreconf
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gettext >= 0.19.3
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libidn$secondaryArchSuffix \
|
||||
$libDir/libidn.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -f "$libDir"/libidn.la
|
||||
|
||||
prepareInstalledDevelLib libidn
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
"$developDir" \
|
||||
"$manDir"/man3
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user