jose: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Peter Korsgaard 2017-10-03 17:29:57 +02:00 committed by Thomas Petazzoni
parent b65e491b99
commit aa06b72f3b
5 changed files with 34 additions and 0 deletions

View file

@ -1337,6 +1337,7 @@ F: package/dump1090/
F: package/flickcurl/
F: package/fscryptctl/
F: package/jo/
F: package/jose/
F: package/libfastjson/
F: package/lzop/
F: package/memtool/

View file

@ -1232,6 +1232,7 @@ menu "JSON/XML"
source "package/expat/Config.in"
source "package/ezxml/Config.in"
source "package/jansson/Config.in"
source "package/jose/Config.in"
source "package/jsmn/Config.in"
source "package/json-c/Config.in"
source "package/json-glib/Config.in"

14
package/jose/Config.in Normal file
View file

@ -0,0 +1,14 @@
config BR2_PACKAGE_JOSE
bool "jose"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_OPENSSL
help
C-language implementation of Javascript Object Signing and
Encryption.
https://github.com/latchset/jose
comment "jose needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

3
package/jose/jose.hash Normal file
View file

@ -0,0 +1,3 @@
# Locally computed
sha256 5c9cdcfb535c4d9f781393d7530521c72b1dd81caa9934cab6dd752cc7efcd72 jose-10.tar.bz2
sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b COPYING

15
package/jose/jose.mk Normal file
View file

@ -0,0 +1,15 @@
################################################################################
#
# jose
#
################################################################################
JOSE_VERSION = 10
JOSE_SOURCE = jose-$(JOSE_VERSION).tar.bz2
JOSE_SITE = https://github.com/latchset/jose/releases/download/v$(JOSE_VERSION)
JOSE_LICENSE = Apache-2.0
JOSE_LICENSE_FILES = COPYING
JOSE_INSTALL_STAGING = YES
JOSE_DEPENDENCIES = host-pkgconf zlib jansson openssl
$(eval $(autotools-package))