void-packages/srcpkgs/confuse/template
2017-06-04 00:28:22 +02:00

23 lines
709 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
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
}
}