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