1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg: add libbase58

This commit is contained in:
Kaspar Schleiser 2018-12-06 16:33:10 +01:00
parent 7e85081ddc
commit d8751f79d4
5 changed files with 26 additions and 0 deletions

11
pkg/libbase58/Makefile Normal file
View File

@ -0,0 +1,11 @@
PKG_NAME=libbase58
PKG_URL=https://github.com/bitcoin/libbase58
PKG_VERSION=d7591398443987e84d19833d86634c6ffe8b0796
PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk
.PHONY: all
all:
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME)

View File

@ -0,0 +1 @@
USEMODULE += posix_headers

View File

@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/libbase58

View File

@ -0,0 +1,5 @@
SRC := base58.c
CFLAGS += -Wno-unused-parameter
include $(RIOTBASE)/Makefile.base

8
pkg/libbase58/doc.txt Normal file
View File

@ -0,0 +1,8 @@
/**
* @defgroup pkg_libbase58 JSON parser library
* @ingroup pkg
* @ingroup sys_serialization
* @brief C library for Bitcoin's base58 encoding
*
* @see https://github.com/bitcoin/libbase58
*/