mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
75 lines
1.5 KiB
Bash
75 lines
1.5 KiB
Bash
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="http://www.gnu.org/software/libidn"
|
|
COPYRIGHT="2002-2014 Simon Josefsson"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="3"
|
|
SOURCE_URI="http://ftp.gnu.org/gnu/libidn/libidn-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="44a7aab635bb721ceef6beecc4d49dfd19478325e1b47f3196f7d2acc4930e19"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libidn$secondaryArchSuffix = $portVersion compat >= 1
|
|
lib:libidn$secondaryArchSuffix = 11.6.16 compat >= 11
|
|
cmd:idn$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libidn${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libidn$secondaryArchSuffix = 11.6.16 compat >= 11
|
|
"
|
|
REQUIRES_devel="
|
|
libidn$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:gettext >= 0.19.3
|
|
cmd:find
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libidn.la
|
|
|
|
prepareInstalledDevelLibs libidn
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$manDir/man3
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|