libclaw, force boost1.70, enable documentation, remove static libraries (#7963)

This commit is contained in:
Schrijvers Luc
2023-03-14 14:53:44 +01:00
committed by GitHub
parent c4f5286411
commit a5ec9cdbd5

View File

@@ -18,7 +18,7 @@ Claw stands for \"C++ Library Absolutely Wonderful\"."
HOMEPAGE="http://libclaw.sourceforge.net/"
COPYRIGHT="2008-2014 Julien Jorge"
LICENSE="GNU LGPL v2.1"
REVISION="8"
REVISION="9"
SOURCE_URI="http://sourceforge.net/projects/libclaw/files/libclaw/$portVersion/libclaw-$portVersion.tar.gz"
CHECKSUM_SHA256="0be289da7f43b1892575f14b27860af5d1e1f6961eae11653d64e625fd7924b7"
PATCHES="libclaw-$portVersion.patchset"
@@ -61,7 +61,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix
devel:libboost_system$secondaryArchSuffix >= 1.70.0
devel:libintl$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
@@ -69,6 +69,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:cmake >= 3.0
cmd:doxygen
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
@@ -76,14 +77,18 @@ BUILD_PREREQUIRES="
BUILD()
{
cmake . -DCMAKE_INSTALL_PREFIX=$prefix \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$prefix \
-DCMAKE_CXX_FLAGS="-std=c++98"
make $jobArgs
make -C build $jobArgs
}
INSTALL()
{
make install
make -C build install
# remove static libraries
rm $libDir/lib*.a
prepareInstalledDevelLibs libclaw_application libclaw_configuration_file \
libclaw_dynamic_library libclaw_graphic libclaw_logger libclaw_net \