void-packages/srcpkgs/confuse/template
2017-07-16 09:43:48 +00:00

27 lines
747 B
Bash

# Template file for 'confuse'
pkgname=confuse
version=3.2
revision=1
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
short_desc="Small configuration file parser library for C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://github.org/martinh/libconfuse/"
license="ISC"
distfiles="https://github.com/martinh/libconfuse/releases/download/v${version}/confuse-${version}.tar.xz"
checksum=a46abb8696026d314197b6a70ae1a1c296342a9a68aa69b1935709c1477a4e48
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
}
}