package/sord: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Tested-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
James Hilliard 2022-01-27 12:23:08 -07:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent e55f57b3d3
commit 0d4c8ce8a2
5 changed files with 39 additions and 0 deletions

View File

@ -1337,6 +1337,7 @@ F: package/python-weasyprint/
F: package/python-yarl/
F: package/python-zopfli/
F: package/serd/
F: package/sord/
F: package/zchunk/
N: James Knight <james.knight@collins.com>

View File

@ -1700,6 +1700,7 @@ menu "JSON/XML"
source "package/rapidxml/Config.in"
source "package/raptor/Config.in"
source "package/serd/Config.in"
source "package/sord/Config.in"
source "package/tinyxml/Config.in"
source "package/tinyxml2/Config.in"
source "package/valijson/Config.in"

8
package/sord/Config.in Normal file
View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_SORD
bool "sord"
select BR2_PACKAGE_SERD
help
Sord is a lightweight C library for storing RDF data in
memory.
https://drobilla.net/software/sord.html

4
package/sord/sord.hash Normal file
View File

@ -0,0 +1,4 @@
# Locally calculated after checking signature
# https://download.drobilla.net/sord-0.16.8.tar.bz2.asc
sha256 7c289d2eaabf82fa6ac219107ce632d704672dcfb966e1a7ff0bbc4ce93f5e14 sord-0.16.8.tar.bz2
sha256 e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0 COPYING

25
package/sord/sord.mk Normal file
View File

@ -0,0 +1,25 @@
################################################################################
#
# sord
#
################################################################################
SORD_VERSION = 0.16.8
SORD_SITE = https://download.drobilla.net
SORD_SOURCE = sord-$(SORD_VERSION).tar.bz2
SORD_LICENSE = ISC
SORD_LICENSE_FILES = COPYING
SORD_DEPENDENCIES = host-pkgconf serd
SORD_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_PCRE),y)
SORD_DEPENDENCIES += pcre
endif
SORD_CONF_OPTS += --no-coverage
ifeq ($(BR2_STATIC_LIBS),y)
SORD_CONF_OPTS += --static --no-shared --static-progs
endif
$(eval $(waf-package))