diff --git a/dev-games/physfs/physfs-2.0.1.recipe b/dev-games/physfs/physfs-2.0.1.recipe deleted file mode 100644 index 6ca2c54d8..000000000 --- a/dev-games/physfs/physfs-2.0.1.recipe +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION="PhysicsFS is a library to provide abstract access to various archives" -HOMEPAGE="http://icculus.org/physfs" -SRC_URI="hg+http://hg.icculus.org/icculus/physfs/#release-2.0.1" -#SRC_URI="http://icculus.org/physfs/downloads/physfs-2.0.1.tar.gz" -#CHECKSUM_MD5="df00465fcfa80e87f718961c6dd6b928" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="dev-util/cmake >= 2.8.0 - dev-util/mercurial >= 1.4" -BUILD() -{ - cd physfs-2.0.1 - cmake . -DLIBRARY_OUTPUT_PATH:=`finddir B_COMMON_LIB_DIRECTORY` - make -} - -INSTALL() -{ - cd physfs-2.0.1 - make install - if [ -n "$(setgcc | grep '4')" ]; then - if [ -e "${DESTDIR}" ]; then - mkdir -p ${DESTDIR}/tmp-phy - mv -v ${DESTDIR}/boot/common/lib ${DESTDIR}/tmp-phy - mkdir -p ${DESTDIR}/boot/common/lib - mv -v ${DESTDIR}/tmp-phy/lib/* ${DESTDIR}/boot/common/lib - else - mv -v /boot/common/lib/libphysfs.* /boot/common/lib - fi - fi -} -LICENSE="PHYSFS" -COPYRIGHT="2001-2010 Ryan C. Gordon" diff --git a/dev-games/physfs/physfs-2.0.3.recipe b/dev-games/physfs/physfs-2.0.3.recipe new file mode 100644 index 000000000..47de735d3 --- /dev/null +++ b/dev-games/physfs/physfs-2.0.3.recipe @@ -0,0 +1,58 @@ +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" + +REVISION="1" + +PROVIDES=" + physfs = $portVersion + lib:libphysfs = $portVersion + " + +REQUIRES=" + haiku + lib:libz + " + +BUILD_REQUIRES=" + devel:libz + " + +BUILD_PREREQUIRES=" + haiku_devel + cmd:cmake + cmd:make + cmd:gcc + " + +BUILD() +{ + cmake . -DLIBRARY_OUTPUT_PATH:=$libDir + make +} + +INSTALL() +{ + make install + + fixPkgconfig + prepareInstalledDevelLib libphysfs + + packageEntries devel \ + $developDir +} + +PROVIDES_devel=" + devel:physfs = $portVersion compat >= 2.0 + devel:libphysfs = 2.0.3 compat >= 2.0 + " + +REQUIRES_devel=" + physfs == $portVersion base + "