Merge all changes from trunk

This commit is contained in:
Oliver Tappe
2013-03-29 14:04:07 +00:00
parent 888e133171
commit 94cc6aaf85
1052 changed files with 65053 additions and 2541 deletions

View File

@@ -1,5 +1,5 @@
DESCRIPTION="PhysicsFS is a library to provide abstract access to various archives"
HOMEPAGE="http://icculus.org/physfs"
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"
@@ -9,11 +9,7 @@ DEPEND="dev-util/cmake >= 2.8.0
dev-util/mercurial >= 1.4"
BUILD {
cd physfs-2.0.1
if [ -n "$(setgcc | grep '2')" ]; then
cmake . -DLIBRARY_OUTPUT_PATH:=`finddir B_COMMON_LIB_DIRECTORY`
else
cmake . -DLIBRARY_OUTPUT_PATH:=`finddir B_COMMON_LIB_DIRECTORY`/gcc4
fi
cmake . -DLIBRARY_OUTPUT_PATH:=`finddir B_COMMON_LIB_DIRECTORY`
make
}
@@ -24,10 +20,10 @@ INSTALL {
if [ -e "${DESTDIR}" ]; then
mkdir -p ${DESTDIR}/tmp-phy
mv -v ${DESTDIR}/boot/common/lib ${DESTDIR}/tmp-phy
mkdir -p ${DESTDIR}/boot/common/lib/gcc4
mv -v ${DESTDIR}/tmp-phy/lib/* ${DESTDIR}/boot/common/lib/gcc4
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/gcc4
mv -v /boot/common/lib/libphysfs.* /boot/common/lib
fi
fi
}