void-packages/srcpkgs/physfs/template

23 lines
751 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@voidlinux.eu>"
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"
}
}