void-packages/srcpkgs/confuse/template
2016-03-03 07:45:20 +01:00

23 lines
709 B
Bash

# Template file for 'confuse'
pkgname=confuse
version=3.0
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=bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861
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
}
}