PhysicsFS
From CBLFS
Revision as of 03:36, 13 March 2009 by Kernelpanic26 (talk | contribs) (Added multilib 32 + 64 compilation)
Download Source: | http://icculus.org/physfs/downloads/physfs-2.0.0.tar.gz |
---|
Contents
Introduction to PhysicsFS
PhysicsFS is a library to provide abstract access to various archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3's file subsystem.
Project Homepage: Unknown
Dependencies
Required
Non-Multilib
Compile the package:
cmake . -DCMAKE_INSTALL_PREFIX=/usr && make
Install the package:
make install
Multilib
32Bit
Compile the package:
USE_ARCH=32 PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_C_FLAGS="-m32" && make
Install the package
make install && mv -v /usr/bin/test_physfs,{-32}
N32
Compile the package:
To do ...
Install the package
make install
64Bit
Compile the package:
sed -i -e '/LIBRARY DESTINATION /s/lib/&64/g' -e '/ARCHIVE DESTINATION /s/lib/&64/g' CMakeLists.txt && USE_ARCH=64 PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS="-m64" -DCMAKE_C_FLAGS="-m64" && make
Install the package
make install && mv -v /usr/bin/test_physfs,{-64} && ln -sfv multiarch_wrapper /usr/bin/test_physfs
Contents
Installed Programs: | test_physfs, wxtest_physfs |
---|---|
Installed Libraries: | libphysfs.{a,la,so} |
Installed Directories: | None |