void-packages/srcpkgs/physfs/template

24 lines
728 B
Bash

# Template file for 'physfs'
pkgname=physfs
version=3.0.2
revision=1
build_style=cmake
configure_args="-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_STATIC=OFF"
makedepends="zlib-devel readline-devel"
short_desc="Library to provide abstract access to various archives"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Zlib"
homepage="http://icculus.org/physfs/"
distfiles="http://icculus.org/physfs/downloads/physfs-${version}.tar.bz2"
checksum=304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863
physfs-devel_package() {
depends="readline-devel zlib-devel physfs-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}