1 ################################################################################
5 ################################################################################
7 CRYPTOPP_VERSION
= 5.6.5
8 CRYPTOPP_SOURCE
= cryptopp
$(subst .
,,$(CRYPTOPP_VERSION
)).zip
9 CRYPTOPP_SITE
= http
://cryptopp.com
/
10 CRYPTOPP_LICENSE
= Boost-v1.0
11 CRYPTOPP_LICENSE_FILES
= License.txt
12 CRYPTOPP_INSTALL_STAGING
= YES
14 define HOST_CRYPTOPP_EXTRACT_CMDS
15 $(UNZIP
) $(DL_DIR
)/$(CRYPTOPP_SOURCE
) -d
$(@D
)
18 HOST_CRYPTOPP_MAKE_OPTS
= \
19 $(HOST_CONFIGURE_OPTS
) \
20 CXXFLAGS
="$(HOST_CXXFLAGS) -fPIC"
22 define HOST_CRYPTOPP_BUILD_CMDS
23 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) $(HOST_CRYPTOPP_MAKE_OPTS
) shared
26 define HOST_CRYPTOPP_INSTALL_CMDS
27 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) PREFIX
=$(HOST_DIR
)/usr
install
30 $(eval
$(host-generic-package
))