mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
91 lines
2.1 KiB
Bash
91 lines
2.1 KiB
Bash
SUMMARY="A library to manipulate RDF files describing LADSPA plugins"
|
|
DESCRIPTION="This is a library to make it easy to manipulate RDF files \
|
|
describing LADSPA plugins.
|
|
It can also be used for general RDF manipulation.
|
|
It can read RDF/XLM and N3 files and export N3 files, it also has a light \
|
|
taxonomic inference capablility."
|
|
HOMEPAGE="https://github.com/swh/LRDF/"
|
|
COPYRIGHT="2004,2011,2017 Steve Harris, Taybin Rutkin"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/swh/LRDF/archive/refs/tags/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d579417c477ac3635844cd1b94f273ee2529a8c3b6b21f9b09d15f462b89b1ef"
|
|
SOURCE_FILENAME="liblrdf-v$portVersion,tar.gz"
|
|
SOURCE_DIR="LRDF-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="2.0.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
liblrdf$secondaryArchSuffix = $portVersion
|
|
lib:liblrdf$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
ladspa_sdk$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libraptor2$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
liblrdf${secondaryArchSuffix}_devel = $portVersion
|
|
devel:liblrdf$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
liblrdf$secondaryArchSuffix == $portVersion base
|
|
"
|
|
CONFLICTS_devel="
|
|
redland${secondaryArchSuffix}_devel
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
ladspa_sdk${secondaryArchSuffix}_devel
|
|
devel:libcrypto$secondaryArchSuffix >= 3
|
|
devel:libraptor2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xargs
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
find . -xtype l | xargs -r rm
|
|
autoreconf -fi
|
|
runConfigure ./configure --disable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/liblrdf.la
|
|
|
|
prepareInstalledDevelLib liblrdf
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
# 1 of 10 files fails (crash) known issue?
|
|
# https://github.com/swh/LRDF/issues/9
|
|
make VERBOSE=1 check
|
|
}
|