mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
serd: bump (#7496)
* serd: bump * cleanup * Fix cmd:serdi Co-authored-by: begasus <begasus@gmail.com>
This commit is contained in:
@@ -2,18 +2,18 @@ SUMMARY="A lightweight C library"
|
||||
DESCRIPTION="Serd is a lightweight C library for RDF syntax which \
|
||||
supports reading and writing Turtle and NTriples."
|
||||
HOMEPAGE="http://drobilla.net/software/serd/"
|
||||
COPYRIGHT="2011-2017 David Robillard"
|
||||
COPYRIGHT="2011-2022 David Robillard"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.drobilla.net/serd-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="e3e44a88f90a9971d55e6cbd59a7b9cfa97cfc17c512fed7166a4252d5209298"
|
||||
SOURCE_URI="https://download.drobilla.net/serd-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="f50f486da519cdd8d03b20c9e42414e459133f5a244411d8e63caef8d9ac9146"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2 x86"
|
||||
ARCHITECTURES="?all !x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
serd$secondaryArchSuffix = $portVersion
|
||||
cmd:serdi$secondaryArchSuffix
|
||||
cmd:serdi
|
||||
lib:libserd_0$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -33,23 +33,35 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./waf configure --prefix=$prefix \
|
||||
--mandir=$manDir --libdir=$libDir --bindir=$binDir \
|
||||
--includedir=$includeDir --static --test
|
||||
./waf
|
||||
meson \
|
||||
--buildtype=release \
|
||||
--prefix=$prefix \
|
||||
--libdir=$libDir \
|
||||
--libexecdir=$binDir \
|
||||
--datadir=$dataDir \
|
||||
--localedir=$dataDir/locale \
|
||||
--includedir=$includeDir \
|
||||
--sysconfdir=$settingsDir \
|
||||
--mandir=$manDir \
|
||||
_build
|
||||
|
||||
cd _build
|
||||
ninja
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./waf install
|
||||
cd _build
|
||||
ninja install
|
||||
|
||||
prepareInstalledDevelLib libserd-0
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
@@ -57,5 +69,6 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
./waf test
|
||||
cd _build
|
||||
ninja test
|
||||
}
|
||||
Reference in New Issue
Block a user