Files
haikuports/dev-libs/libunistring/libunistring-0.9.6.recipe
2015-08-07 15:05:12 +00:00

60 lines
1.4 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/"
SOURCE_URI="http://ftp.gnu.org/gnu/libunistring/libunistring-$portVersion.tar.gz"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1998-2014 Free Software Fundation, Inc."
CHECKSUM_SHA256="9625eec2507f4789ebb6fc48ebda98be0e0168979a2f68aa8b680bf8eeabbd47"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="libunistring-$portVersion.patchset"
PROVIDES="
libunistring$secondaryArchSuffix = $portVersion compat >= 0
lib:libunistring$secondaryArchSuffix = 2.0.0 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:make
cmd:libtoolize
cmd:git
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:gperf
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLib libunistring
packageEntries devel \
$developDir
}
# ----- Development package -----
PROVIDES_devel="
libunistring${secondaryArchSuffix}_devel = $portVersion
devel:libunistring$secondaryArchSuffix = 2.0.0 compat >= 0
"
REQUIRES_devel="
libunistring$secondaryArchSuffix == $portVersion base
"