Fixed taglib-1.7.2.recipe so that it builds on gcc2, this might be the last version that will work on gcc2.

This commit is contained in:
Scott McCreary
2013-11-13 02:34:32 -08:00
parent 97f653e057
commit fceb3f70bd

View File

@@ -8,15 +8,19 @@ LICENSE="GNU LGPL v2
MPL v1.1 MPL v1.1
" "
REVISION="1" REVISION="1"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES=" PROVIDES="
taglib$secondaryArchSuffix = $portVersion taglib$secondaryArchSuffix = $portVersion
cmd:taglib_config
lib:libtag$secondaryArchSuffix = 0.0.0 compat >= 0
lib:libtag_c$secondaryArchSuffix = 0.0.0 compat >= 0
" "
REQUIRES=" REQUIRES="
haiku${secondaryArchSuffix} >= $haikuVersion haiku${secondaryArchSuffix} >= $haikuVersion
lib:libz
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
@@ -34,7 +38,12 @@ SOURCE_DIR="$portVersionedName"
BUILD() BUILD()
{ {
cmake . mkdir -p $binDir
cmake . -DINCLUDE_INSTALL_DIR=$includeDir \
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
-DBIN_INSTALL_DIR=$binDir \
-DLIB_INSTALL_DIR=$developLibDir \
-DLIB=$relativeLibDir
make make
} }
@@ -55,8 +64,8 @@ INSTALL()
PROVIDES_devel=" PROVIDES_devel="
taglib${secondaryArchSuffix}_devel = $portVersion compat >= 1.7 taglib${secondaryArchSuffix}_devel = $portVersion compat >= 1.7
devel:taglib$secondaryArchSuffix = 0.0.0 compat >= 0
devel:libtag$secondaryArchSuffix = 0.0.0 compat >= 0 devel:libtag$secondaryArchSuffix = 0.0.0 compat >= 0
devel:libtag_c$secondaryArchSuffix = 0.0.0 compat >= 0
" "
REQUIRES_devel=" REQUIRES_devel="