From 0d4c8ce8a2f26989e0e2d95b977d60e450c090a9 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 27 Jan 2022 12:23:08 -0700 Subject: [PATCH] package/sord: new package Signed-off-by: James Hilliard Tested-by: Gilles Talis Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 1 + package/Config.in | 1 + package/sord/Config.in | 8 ++++++++ package/sord/sord.hash | 4 ++++ package/sord/sord.mk | 25 +++++++++++++++++++++++++ 5 files changed, 39 insertions(+) create mode 100644 package/sord/Config.in create mode 100644 package/sord/sord.hash create mode 100644 package/sord/sord.mk diff --git a/DEVELOPERS b/DEVELOPERS index ece07026bc..bdea8142e0 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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 diff --git a/package/Config.in b/package/Config.in index a8f408844d..0b533ce999 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/sord/Config.in b/package/sord/Config.in new file mode 100644 index 0000000000..91dfb41d0b --- /dev/null +++ b/package/sord/Config.in @@ -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 diff --git a/package/sord/sord.hash b/package/sord/sord.hash new file mode 100644 index 0000000000..af175f91f0 --- /dev/null +++ b/package/sord/sord.hash @@ -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 diff --git a/package/sord/sord.mk b/package/sord/sord.mk new file mode 100644 index 0000000000..f805805e9d --- /dev/null +++ b/package/sord/sord.mk @@ -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))