freetype: fixed pkg-config and libtool files.

to use package links as described by Ingo.
* added devel packages requirements for libpng, zlib, bzip2
This commit is contained in:
Jerome Duval
2014-09-22 22:13:41 +00:00
parent dd83f38203
commit d0ef852764
19 changed files with 48 additions and 1273 deletions

View File

@@ -14,16 +14,12 @@ SRC_URI="http://download.savannah.nongnu.org/releases/openexr/ilmbase-$portVersi
CHECKSUM_SHA256="ecf815b60695555c1fbc73679e84c7c9902f4e8faa6e8000d2f905b8b86cedc7"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
if [ $effectiveTargetArchitecture == x86_gcc2 ]; then
PATCHES="ilmbase-$portVersion.patchset"
fi
PROVIDES="
ilmbase$secondaryArchSuffix = $portVersion
lib:libHalf$secondaryArchSuffix = 12.0.0 compat >= 12
@@ -35,7 +31,6 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libstdc++$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
@@ -53,6 +48,9 @@ BUILD_PREREQUIRES="
BUILD()
{
./bootstrap
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
export CPPFLAGS="-Dios_base=ios -ftemplate-depth-24"
fi
runConfigure ./configure
make
}