2007-09-13 00:13:05 +10:00
|
|
|
# Description: Library to provide abstract access to various archives.
|
|
|
|
# URL: http://icculus.org/physfs/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-09-13 00:13:05 +10:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2007-11-06 11:55:50 +11:00
|
|
|
# Depends on: ncurses readline zlib
|
|
|
|
# Optional: wxgtk
|
2006-10-29 18:16:17 +01:00
|
|
|
|
|
|
|
name=physfs
|
2008-03-14 23:34:22 +11:00
|
|
|
version=1.0.1
|
2006-10-29 18:16:17 +01:00
|
|
|
release=1
|
2007-09-13 00:13:05 +10:00
|
|
|
source=(http://icculus.org/physfs/downloads/physfs-$version.tar.gz)
|
2006-10-29 18:16:17 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd physfs-$version
|
2007-11-06 11:55:50 +11:00
|
|
|
|
2008-03-14 23:34:22 +11:00
|
|
|
#version 1.1.0 breaks warzone2100
|
2007-11-06 11:55:50 +11:00
|
|
|
#version 1.1.1 moves to cmake that isn't deemed ready to use yet.
|
|
|
|
|
|
|
|
#export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
#cmake \
|
|
|
|
# -DPHYSFS_BUILD_STATIC=FALSE \
|
|
|
|
# -DCMAKE_INSTALL_PREFIX=$PKG/usr .
|
|
|
|
|
2006-10-29 18:16:17 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-11-06 11:55:50 +11:00
|
|
|
#make install
|
2006-10-29 18:16:17 +01:00
|
|
|
}
|
2007-09-13 00:13:05 +10:00
|
|
|
|