You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

native_protobuf.mk 658B

12345678910111213141516171819202122232425
  1. package=native_protobuf
  2. $(package)_version=2.6.1
  3. $(package)_download_path=https://github.com/google/protobuf/releases/download/v$($(package)_version)
  4. $(package)_file_name=protobuf-$($(package)_version).tar.bz2
  5. $(package)_sha256_hash=ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910
  6. define $(package)_set_vars
  7. $(package)_config_opts=--disable-shared
  8. endef
  9. define $(package)_config_cmds
  10. $($(package)_autoconf)
  11. endef
  12. define $(package)_build_cmds
  13. $(MAKE) -C src protoc
  14. endef
  15. define $(package)_stage_cmds
  16. $(MAKE) -C src DESTDIR=$($(package)_staging_dir) install-strip
  17. endef
  18. define $(package)_postprocess_cmds
  19. rm -rf lib include
  20. endef