2011-11-23 08:28:00 +01:00
|
|
|
# Template file for 'confuse'
|
|
|
|
pkgname=confuse
|
|
|
|
version=2.7
|
2013-06-21 09:33:52 +02:00
|
|
|
revision=4
|
2013-10-19 12:29:49 +02:00
|
|
|
bootstrap=yes
|
2011-11-23 08:28:00 +01:00
|
|
|
build_style=gnu-configure
|
2013-06-21 09:33:52 +02:00
|
|
|
configure_args="--enable-shared --enable-static --disable-nls --with-pic"
|
2011-11-23 08:28:00 +01:00
|
|
|
short_desc="C-library for parsing configuration files"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2011-12-07 11:02:15 +01:00
|
|
|
homepage="http://www.nongnu.org/confuse/"
|
|
|
|
license="ISC"
|
2013-04-12 08:55:23 +02:00
|
|
|
distfiles="http://savannah.nongnu.org/download/confuse/confuse-2.7.tar.gz"
|
2011-11-23 08:28:00 +01: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 08:55:23 +02:00
|
|
|
confuse-devel_package() {
|
|
|
|
depends="confuse>=${version}"
|
2013-06-21 09:33:52 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-06-21 09:33:52 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
confuse_package() {
|
|
|
|
pkg_install() {
|
2013-10-19 12:29:49 +02:00
|
|
|
vmove all
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|