# Template file for 'physfs'
pkgname=physfs
version=3.0.1
revision=1
build_style=cmake
configure_args="-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF -DPHYSFS_BUILD_STATIC=OFF"
makedepends="zlib-devel readline-devel"
short_desc="Library to provide abstract access to various archives"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://icculus.org/physfs/"
license="zlib"
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.bz2"
checksum=b77b9f853168d9636a44f75fca372b363106f52d789d18a2f776397bf117f2f1

physfs-devel_package() {
	depends="readline-devel zlib-devel physfs>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
