void-packages/srcpkgs/physfs/template
2014-02-17 17:55:00 +01:00

23 lines
748 B
Bash

# Template file for 'physfs'
pkgname=physfs
version=2.0.3
revision=3
build_style=cmake
configure_args="-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF -DPHYSFS_BUILD_STATIC=OFF"
hostmakedepends="cmake"
makedepends="zlib-devel readline-devel"
short_desc="Library to provide abstract access to various archives"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://icculus.org/physfs/"
license="zlib"
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.bz2"
checksum=ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69
physfs-devel_package() {
depends="readline-devel zlib-devel physfs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}