void-packages/srcpkgs/physfs/template
maxice8 bc3b03228b
physfs: move pkgconfig files to -devel package.
Closes #15114.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-06-14 12:33:19 +02:00

23 lines
727 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.eu>"
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
}
}