libcryptopp: simplify Makefile
This commit is contained in:
parent
c9ae01084a
commit
3ab2b7e44e
@ -12,7 +12,7 @@ PKG_VERSION:=8.2.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=cryptopp$(subst .,,$(PKG_VERSION)).zip
|
||||
PKG_SOURCE_URL:=http://www.cryptopp.com/
|
||||
PKG_SOURCE_URL:=https://www.cryptopp.com/
|
||||
PKG_MD5SUM:=8a8bcb436af83e16d2227bd4ac642243
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -27,7 +27,7 @@ define Package/libcryptopp
|
||||
CATEGORY:=Libraries
|
||||
DEPENDS:=+libpthread +libstdcpp
|
||||
TITLE:=Crypto++ is library for creating C++ programs which use cryptographic algorithms
|
||||
URL:=http://packages.debian.org/sid/libcrypto++-dev
|
||||
URL:=https://packages.debian.org/sid/libcrypto++-dev
|
||||
endef
|
||||
|
||||
define Package/package/libcryptopp
|
||||
@ -42,7 +42,6 @@ CMAKE_OPTIONS += -DBUILD_SHARED=ON
|
||||
|
||||
UNPACK_CMD=cd $(PKG_BUILD_DIR) && unzip "$(DL_DIR)/$(PKG_SOURCE)"
|
||||
define Build/Prepare
|
||||
[ ! -f $(BUILD_DIR)/$(PKG_NAME)/CRYPTOPP_8_2_0.zip ] && wget https://github.com/noloader/cryptopp-cmake/archive/CRYPTOPP_8_2_0.zip -O $(BUILD_DIR)/$(PKG_NAME)/CRYPTOPP_8_2_0.zip && unzip -o $(BUILD_DIR)/$(PKG_NAME)/CRYPTOPP_8_2_0.zip -d $(BUILD_DIR)/$(PKG_NAME) && cd $(BUILD_DIR)/$(PKG_NAME)/cryptopp-cmake-CRYPTOPP_8_2_0 && cp CMakeLists.txt cryptopp-config.cmake $(PKG_BUILD_DIR)
|
||||
$(Build/Prepare/Default)
|
||||
cd $(PKG_BUILD_DIR) && rm -f GNUmakefile GNUmakefile-cross
|
||||
endef
|
||||
|
||||
1239
package/lean/libcryptopp/src/CMakeLists.txt
Normal file
1239
package/lean/libcryptopp/src/CMakeLists.txt
Normal file
File diff suppressed because it is too large
Load Diff
1
package/lean/libcryptopp/src/cryptopp-config.cmake
Normal file
1
package/lean/libcryptopp/src/cryptopp-config.cmake
Normal file
@ -0,0 +1 @@
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/cryptopp-targets.cmake")
|
||||
Loading…
Reference in New Issue
Block a user