squid: update to 6.13
[openadk.git] / package / protobuf-c / Makefile
blobf2a218e4f606df6fe6f7fd89ccc3b15310621085
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= protobuf-c
7 PKG_VERSION:= 1.5.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= d4cb022d55f49796959b07a9d83040822e39129bc0eb28f4e8301da17d758f62
10 PKG_DESCR:= protocol buffers implementation in c
11 PKG_SECTION:= libs/misc
12 PKG_BUILDDEP:= protobuf-c-host
13 PKG_SITES:= https://github.com/protobuf-c/protobuf-c/archive/refs/tags/
14 PKG_OPTS:= dev
16 DISTFILES:= v$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/host.mk
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call HOST_template,PROTOBUF_C,protobuf-c,$(PKG_VERSION)-$(PKG_RELEASE)))
22 $(eval $(call PKG_template,PROTOBUF_C,protobuf-c,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
24 AUTOTOOL_STYLE:= autogen
25 CONFIGURE_ENV+= PROTOC="$(STAGING_HOST_DIR)/usr/bin/protoc"
27 protobuf-c-install:
28 $(INSTALL_DIR) $(IDIR_PROTOBUF_C)/usr/lib
29 $(CP) $(WRKINST)/usr/lib/libprotobuf-c*.so* \
30 $(IDIR_PROTOBUF_C)/usr/lib
32 include $(ADK_TOPDIR)/mk/host-bottom.mk
33 include $(ADK_TOPDIR)/mk/pkg-bottom.mk