mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
fribidi: add recipe for version 0.19.6
* enable x86_64, add missing dependency
This commit is contained in:
@@ -17,7 +17,7 @@ COPYRIGHT="2004 Sharif FarsiWeb, Inc
|
||||
2001,2002 Behdad Esfahbod
|
||||
1999,2000 Dov Grobgeld"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
|
||||
92
dev-libs/fribidi/fribidi-0.19.6.recipe
Normal file
92
dev-libs/fribidi/fribidi-0.19.6.recipe
Normal file
@@ -0,0 +1,92 @@
|
||||
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/"
|
||||
SRC_URI="http://fribidi.org/download/fribidi-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="cba8b7423c817e5adf50d28ec9079d14eafcec9127b9e8c8f1960c5ad585e17d"
|
||||
REVISION="1"
|
||||
|
||||
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.5 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
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
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake --add-missing
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
prepareInstalledDevelLibs \
|
||||
libfribidi
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
fribidi${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfribidi$secondaryArchSuffix = 0.3.5 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
fribidi$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user