2011-11-23 07:28:00 +00:00
|
|
|
# Template file for 'confuse'
|
|
|
|
pkgname=confuse
|
|
|
|
version=2.7
|
2013-04-12 06:55:23 +00:00
|
|
|
revision=3
|
2011-11-23 07:28:00 +00:00
|
|
|
build_style=gnu-configure
|
2012-02-14 14:57:33 +00:00
|
|
|
configure_args="--enable-shared --enable-static --disable-nls"
|
2011-11-23 07:28:00 +00:00
|
|
|
short_desc="C-library for parsing configuration files"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2011-12-07 10:02:15 +00:00
|
|
|
homepage="http://www.nongnu.org/confuse/"
|
|
|
|
license="ISC"
|
2013-04-12 06:55:23 +00:00
|
|
|
distfiles="http://savannah.nongnu.org/download/confuse/confuse-2.7.tar.gz"
|
2011-11-23 07:28:00 +00:00
|
|
|
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."
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|