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
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/
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"
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