# Template file for 'physfs'
pkgname=physfs
version=2.0.2
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.gz"
build_style=configure
CFLAGS="-fno-strict-aliasing"
configure_script="cmake"
configure_args=". -DCMAKE_INSTALL_PREFIX=/usr"
short_desc="Library to provide abstract access to various archives"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=ae296d3148228e03fd56cc9ea58af02f87dcbb1fadef125c18b709ab37f0bc09
long_desc="
 It is intended for use in video games, and the design was somewhat inspired
 by Quake 3's file subsystem. The programmer defines a write directory on
 the physical filesystem. No file writing done through the PhysicsFS API can
 leave that write directory, for security."

subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency build cmake
Add_dependency build zlib-devel
Add_dependency build readline-devel
