mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
SUMMARY="Physfs"
|
|
DESCRIPTION="PhysicsFS is a library to provide abstract access to various archives"
|
|
HOMEPAGE="http://icculus.org/physfs"
|
|
SRC_URI="http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2"
|
|
CHECKSUM_MD5="c2c727a8a8deb623b521b52d0080f613"
|
|
LICENSE="PHYSFS"
|
|
COPYRIGHT="2001-2012 Ryan C. Gordon"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
REVISION="1"
|
|
|
|
PROVIDES="
|
|
physfs$secondaryArchSuffix = $portVersion
|
|
lib:libphysfs$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libz$secondaryArchSuffix >= 1.0.4
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DLIBRARY_OUTPUT_PATH:=$libDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLib libphysfs
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
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$secondaryArchSuffix == $portVersion base
|
|
"
|