Files
haikuports/dev-libs/libunistring/libunistring-0.9.7.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

64 lines
1.5 KiB
Bash

SUMMARY="A library for manipulating Unicode strings"
DESCRIPTION="libunistring provides functions for manipulating Unicode strings and for \
manipulating C strings according to the Unicode standard."
HOMEPAGE="http://www.gnu.org/software/libunistring/"
COPYRIGHT="1998-2014 Free Software Fundation, Inc."
LICENSE="GNU LGPL v2.1"
REVISION="2"
SOURCE_URI="http://ftpmirror.gnu.org/libunistring/libunistring-$portVersion.tar.gz"
CHECKSUM_SHA256="9ce081cbee1951b55597b30e7030bda9d7b2f034ef901a135ff3a020be5a41e5"
PATCHES="libunistring-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libunistring$secondaryArchSuffix = $portVersion compat >= 0
lib:libunistring$secondaryArchSuffix = 2.0.0 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
"
PROVIDES_devel="
libunistring${secondaryArchSuffix}_devel = $portVersion
devel:libunistring$secondaryArchSuffix = 2.0.0 compat >= 0
"
REQUIRES_devel="
libunistring$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:gperf
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libunistring.la
prepareInstalledDevelLib libunistring
packageEntries devel \
$developDir
}
TEST()
{
make check
}