Port of protobuf-c 1.3.1

Issue #118.
This commit is contained in:
Josef Söntgen
2018-09-25 22:19:50 +02:00
committed by Norman Feske
parent 6af2375ec9
commit 4d10959476
11 changed files with 88 additions and 0 deletions

1
ports/protobuf-c.hash Normal file
View File

@@ -0,0 +1 @@
97fddbba1e7713358117e7dae4188bb4ebcdc200

19
ports/protobuf-c.port Normal file
View File

@@ -0,0 +1,19 @@
LICENSE := BSDv2
VERSION := 1.3.1
DOWNLOADS := protobuf-c.archive
BASE_URL := https://github.com/protobuf-c/protobuf-c/releases/download
URL(protobuf-c) := $(BASE_URL)/v$(VERSION)/protobuf-c-$(VERSION).tar.gz
SHA(protobuf-c) := 51472d3a191d6d7b425e32b612e477c06f73fe23e07f6a6a839b11808e9d2267
DIR(protobuf-c) := src/lib/protobuf-c
DIRS := include/protobuf-c
DIR_CONTENT(include/protobuf-c) := src/lib/protobuf-c/protobuf-c/protobuf-c.h
default: change_path
# make building as a recipe easier
change_path: _dirs
$(VERBOSE)sed -i 's;de "protobuf-c.h";de <protobuf-c/protobuf-c.h>;' \
src/lib/protobuf-c/protobuf-c/protobuf-c.c