void-packages/srcpkgs/physfs/template

24 lines
728 B
Bash

# Template file for 'physfs'
pkgname=physfs
version=3.0.1
revision=2
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="Juan RP <xtraeme@voidlinux.org>"
license="Zlib"
homepage="http://icculus.org/physfs/"
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"
vmove usr/lib/pkgconfig
}
}