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
:= 0a0ae63cbffc274efb573bdde9a253e3f32e458c41261df51c5dbc5ad541e8f7
10 PKG_DESCR
:= extensible mechanism for serializing structured data
11 PKG_SECTION
:= libs
/misc
12 PKG_URL
:= https
://developers.google.com
/protocol-buffers
/
13 PKG_SITES
:= https
://github.com
/google
/protobuf
/archive
/
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
,protobuf
,$(PKG_VERSION
)-$(PKG_RELEASE
)))
22 $(eval
$(call PKG_template
,PROTOBUF
,protobuf
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
),$(PKG_OPTS
)))
24 AUTOTOOL_STYLE
:= autogen
25 CONFIGURE_ARGS
+= --with-protoc
=$(STAGING_HOST_DIR
)/usr
/bin
/protoc
28 $(INSTALL_DIR
) $(IDIR_PROTOBUF
)/usr
/lib
29 $(CP
) $(WRKINST
)/usr
/lib
/libprotobuf
*.so
* \
30 $(IDIR_PROTOBUF
)/usr
/lib
32 include $(ADK_TOPDIR
)/mk
/host-bottom.mk
33 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk