0
0
Fork 0
haikuports/dev-libs/confuse/confuse-2.7.recipe

74 lines
2.1 KiB
Bash
Raw Permalink Normal View History

SUMMARY="A configuration file parser library"
DESCRIPTION="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."
2014-01-12 13:49:59 +00:00
HOMEPAGE="http://www.nongnu.org/confuse/"
COPYRIGHT="2002,2003,2007 Martin Hedenfalk"
LICENSE="ISC"
2018-06-17 14:41:40 +00:00
REVISION="5"
SOURCE_URI="http://savannah.nongnu.org/download/confuse/confuse-2.7.tar.gz"
CHECKSUM_SHA256="e32574fd837e950778dac7ade40787dd2259ef8e28acd6ede6847ca895c88778"
PATCHES="confuse-2.7.patch"
ARCHITECTURES="all"
2014-01-12 13:49:59 +00:00
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
2015-05-28 12:05:08 +00:00
confuse$secondaryArchSuffix = $portVersion
2014-01-12 13:49:59 +00:00
lib:libconfuse$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
2014-01-12 13:49:59 +00:00
"
PROVIDES_devel="
2015-11-15 13:45:59 +00:00
confuse${secondaryArchSuffix}_devel = $portVersion
devel:libconfuse$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
lib:libconfuse$secondaryArchSuffix == $portVersion base
"
2014-01-12 13:49:59 +00:00
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
2014-01-12 13:49:59 +00:00
"
BUILD_PREREQUIRES="
gettext$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
2018-08-08 14:18:18 +00:00
cmd:autom4te
2014-01-12 13:49:59 +00:00
cmd:automake
2018-08-08 14:18:18 +00:00
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
2014-01-12 13:49:59 +00:00
cmd:make
"
BUILD()
{
aclocal
libtoolize -fci
autoconf
automake --add-missing
2014-01-12 17:36:28 +00:00
runConfigure ./configure --enable-shared
2014-01-12 13:49:59 +00:00
make
}
INSTALL()
{
make install
prepareInstalledDevelLib libconfuse
packageEntries devel $developDir
}