void-packages/srcpkgs/physfs/template

23 lines
727 B
Bash

# Template file for 'physfs'
pkgname=physfs
version=3.0.0
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=f2617d6855ea97ea42e4a8ebcad404354be99dfd8a274eacea92091b27fd7324
physfs-devel_package() {
depends="readline-devel zlib-devel physfs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}