2 $(package
)_version
=$(native_
$(package
)_version
)
3 $(package
)_download_path
=$(native_
$(package
)_download_path
)
4 $(package
)_file_name
=$(native_
$(package
)_file_name
)
5 $(package
)_sha256_hash
=$(native_
$(package
)_sha256_hash
)
6 $(package
)_dependencies
=native_
$(package
)
7 $(package
)_cxxflags
=-std
=c
++11
9 define $(package
)_set_vars
10 $(package
)_config_opts
=--disable-shared
--with-protoc
=$(build_prefix
)/bin
/protoc
11 $(package
)_config_opts_linux
=--with-pic
14 define $(package
)_config_cmds
15 $($(package
)_autoconf
)
18 define $(package
)_build_cmds
19 $(MAKE
) -C src libprotobuf.la
22 define $(package
)_stage_cmds
23 $(MAKE
) DESTDIR
=$($(package
)_staging_dir
) -C src install-libLTLIBRARIES install-nobase_includeHEADERS
&&\
24 $(MAKE
) DESTDIR
=$($(package
)_staging_dir
) install-pkgconfigDATA
27 define $(package
)_postprocess_cmds