mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Marked physfs as untested on gcc4 and x86_64, added secondaryArchSuffix
This commit is contained in:
@@ -6,53 +6,56 @@ CHECKSUM_MD5="c2c727a8a8deb623b521b52d0080f613"
|
||||
LICENSE="PHYSFS"
|
||||
COPYRIGHT="2001-2012 Ryan C. Gordon"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
PROVIDES="
|
||||
physfs = $portVersion
|
||||
lib:libphysfs = $portVersion
|
||||
physfs$secondaryArchSuffix = $portVersion
|
||||
lib:libphysfs$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libz
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libz
|
||||
devel:libz$secondaryArchSuffix >= 1.0.4
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DLIBRARY_OUTPUT_PATH:=$libDir
|
||||
make
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLib libphysfs
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:physfs = $portVersion compat >= 2.0
|
||||
devel:libphysfs = 2.0.3 compat >= 2.0
|
||||
physfs$secondaryArchSuffix_devel = $portVersion compat >= 2.0
|
||||
devel:physfs$secondaryArchSuffix = $portVersion compat >= 2.0
|
||||
devel:libphysfs$secondaryArchSuffix = 2.0.3 compat >= 2.0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
physfs == $portVersion base
|
||||
physfs$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user