mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
97 lines
2.2 KiB
Bash
97 lines
2.2 KiB
Bash
SUMMARY="A free implementation of the unicode bidirectional algorithm"
|
|
DESCRIPTION="
|
|
This is GNU FriBidi. The Free Implementation of the Unicode Bidirectional \
|
|
Algorithm. One of the missing links stopping the penetration of free software \
|
|
in Middle East is the lack of support for the Arabic and Hebrew alphabets. In \
|
|
order to have proper Arabic and Hebrew support, the BiDi algorithm should have \
|
|
been implemented. It is our hope that this library will stimulate more free \
|
|
software in the Middle Eastern countries.
|
|
"
|
|
HOMEPAGE="http://fribidi.org/"
|
|
SOURCE_URI="http://fribidi.org/download/fribidi-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e"
|
|
REVISION="4"
|
|
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="2004 Sharif FarsiWeb, Inc
|
|
2001,2002 Behdad Esfahbod
|
|
1999,2000 Dov Grobgeld"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
fribidi$secondaryArchSuffix = $portVersion
|
|
cmd:fribidi$secondaryArchSuffix = $portVersion compat >= 0.19
|
|
lib:libfribidi$secondaryArchSuffix = 0.3.6 compat >= 0
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i 's/PKG_CHECK_MODULES(GLIB,$GLIB_PACKAGE >= $GLIB_MINVERSION/#/' configure.ac
|
|
sed -i 's/FRIBIDI_USE_GLIB=1/FRIBIDI_USE_GLIB=0/' configure.ac
|
|
sed -i 's/FRIBIDI_USE_GLIB=0)/#/' configure.ac
|
|
sed -i 's/@MISC_PACKAGES@//' fribidi.pc.in
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libfribidi.la
|
|
|
|
prepareInstalledDevelLibs \
|
|
libfribidi
|
|
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
fribidi${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfribidi$secondaryArchSuffix = 0.3.6 compat >= 0
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
fribidi$secondaryArchSuffix == $portVersion base
|
|
"
|