void-packages/srcpkgs/confuse/template

28 lines
825 B
Bash

# Template file for 'confuse'
pkgname=confuse
version=3.2.2
revision=1
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
short_desc="Small configuration file parser library for C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/martinh/libconfuse/"
changelog="https://github.com/martinh/libconfuse/raw/master/ChangeLog.md"
distfiles="https://github.com/martinh/libconfuse/releases/download/v${version}/confuse-${version}.tar.xz"
checksum=a9240b653d02e8cfc52db48e8c4224426e528e1faa09b65e8ca08a197fad210b
post_install() {
vlicense LICENSE
}
confuse-devel_package() {
depends="confuse>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}