Pull over depends and build changes from zc.v0.10.0.latest. Fails to build due to new ./configure dependency for serialization stuff.

This commit is contained in:
Nathan Wilcox
2015-12-21 19:12:23 -08:00
parent 9d69acabed
commit c4da097069
18 changed files with 239 additions and 146 deletions

View File

@@ -0,0 +1,20 @@
package=crypto++
$(package)_version=5.6.2
$(package)_download_path=http://www.cryptopp.com/
$(package)_file_name=cryptopp562.zip
$(package)_sha256_hash=5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574
$(package)_dependencies=
# SECURITY BUG: _extract_cmds is responsible for verifying the archive
# hash, but does not do so here:
define $(package)_extract_cmds
unzip $($(package)_source_dir)/$($(package)_file_name)
endef
define $(package)_build_cmds
$(MAKE) static CXXFLAGS='-DNDEBUG -g -O2 -fPIC'
endef
define $(package)_stage_cmds
$(MAKE) install PREFIX=$($(package)_staging_dir)$(host_prefix)
endef