libgpg-error: Fix compiling with uclibc
[openadk.git] / package / protobuf / Makefile
blob7806181675b1c952d6d9a6e3859c1ebd60c0c265
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
7 PKG_VERSION:= 3.1.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= fb2a314f4be897491bb2446697be693d489af645cb0e165a85e7e64e07eb134d
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/
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,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
27 protobuf-install:
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