mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Merge all changes from trunk
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user