void-packages/srcpkgs/confuse/template

42 lines
1.5 KiB
Text
Raw Normal View History

# Template file for 'confuse'
pkgname=confuse
version=2.7
revision=3
build_style=gnu-configure
2012-02-14 14:57:33 +00:00
configure_args="--enable-shared --enable-static --disable-nls"
short_desc="C-library for parsing configuration files"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.nongnu.org/confuse/"
license="ISC"
distfiles="http://savannah.nongnu.org/download/confuse/confuse-2.7.tar.gz"
checksum=e32574fd837e950778dac7ade40787dd2259ef8e28acd6ede6847ca895c88778
long_desc="
libConfuse is a configuration file parser library, licensed under the terms
of the ISC license, and written in C. It supports sections and (lists of)
values (strings, integers, floats, booleans or other sections), as well as
some other features (such as single/double-quoted strings, environment
variable expansion, functions and nested include statements). It makes it
very easy to add configuration file capability to a program using a simple
API.
The goal of libConfuse is not to be the configuration file parser library
with a gazillion of features. Instead, it aims to be easy to use and quick
to integrate with your code. libConfuse was called libcfg before, but its
name was changed to not confuse itself with other similar libraries."
confuse-devel_package() {
depends="confuse>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
confuse_package() {
pkg_install() {
vmove usr
}
}