2009-12-24 04:07:22 +01:00
|
|
|
# Template file for 'physfs'
|
|
|
|
pkgname=physfs
|
2012-10-26 06:25:43 +02:00
|
|
|
version=2.0.3
|
2013-04-13 22:47:11 +02:00
|
|
|
revision=2
|
2011-10-24 15:08:19 +02:00
|
|
|
build_style=cmake
|
2012-10-26 06:25:43 +02:00
|
|
|
configure_args="-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
|
|
|
|
-DPHYSFS_BUILD_STATIC=OFF"
|
2013-04-13 22:47:11 +02:00
|
|
|
hostmakedepends="cmake"
|
|
|
|
makedepends="zlib-devel readline-devel"
|
2009-12-24 04:07:22 +01:00
|
|
|
short_desc="Library to provide abstract access to various archives"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-26 06:25:43 +02:00
|
|
|
homepage="http://icculus.org/physfs/"
|
|
|
|
license="zlib"
|
|
|
|
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.bz2"
|
|
|
|
checksum=ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69
|
2009-12-24 04:07:22 +01:00
|
|
|
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."
|
2013-04-13 22:47:11 +02:00
|
|
|
|
|
|
|
physfs-devel_package() {
|
|
|
|
depends="readline-devel zlib-devel physfs-${version}_${revision}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|