econf, bump version (#9683)

This commit is contained in:
Schrijvers Luc
2023-10-25 06:22:17 +00:00
committed by GitHub
parent c4ebc099a9
commit 281bddb921

View File

@@ -1,21 +1,22 @@
SUMMARY="Enhanced config file parser"
DESCRIPTION="libeconf is a highly flexible and configureable library
to parse and manage key=value configuration files.
It reads configuration file snippets from different directories
and builds the final configuration file for the application from it."
DESCRIPTION="libeconf is a highly flexible and configureable library to parse and manage \
key=value configuration files.
It reads configuration file snippets from different directories and builds the final \
configuration file for the application from it."
HOMEPAGE="https://github.com/openSUSE/libeconf"
COPYRIGHT="2019 SUSE LLC"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/openSUSE/libeconf/releases/download/$portVersion/libeconf-$portVersion.tar.xz"
CHECKSUM_SHA256="62552e84616aa259cd3c6ac2d285b15fc89037fdbb7ed568714a491a57440807"
SOURCE_DIR="libeconf-$portVersion"
SOURCE_URI="https://github.com/openSUSE/libeconf/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="c9aa04b7ef1c7312a6e045184d15465db1985abb4058cc4c562fd33c9876bb34"
SOURCE_FILENAME="libeconf-v$portVersion.tar.gz"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libeconf$secondaryArchSuffix = $portVersion
cmd:econftool = $portVersion
lib:libeconf$secondaryArchSuffix = 0.3.1
"
REQUIRES="
@@ -34,30 +35,39 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:awk
cmd:cmp
cmd:diff
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:cmake
cmd:dot
cmd:doxygen
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
runConfigure ./configure
make $jobArgs
export LDFLAGS="-lbsd"
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DBUILD_DOCUMENTATION=ON
make -C build $jobArgs
make -C build doc
}
INSTALL()
{
make install
make -C build install
fixPkgconfig
prepareInstalledDevelLibs \
prepareInstalledDevelLib \
libeconf
fixPkgconfig
packageEntries devel \
$developDir
$developDir \
$docDir \
$libDir/cmake \
$manDir/man3
# cleanup
rm -r $documentationDir/packages
}
TEST()