include $(TOPDIR)/rules.mk
PKG_NAME:=polarssl
-PKG_VERSION:=1.2.8
+PKG_VERSION:=1.3.9
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz
PKG_SOURCE_URL:=https://polarssl.org/code/releases
-PKG_MD5SUM:=985151639b1ca037293f06da44fbc6bc
+PKG_MD5SUM:=48af7d1f0d5de512cbd6dacf5407884c
+
+PKG_BUILD_PARALLEL:=1
+PKG_LICENSE:=GPL-2.0+
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
SECTION:=libs
CATEGORY:=Libraries
TITLE+= (library)
+ ABI_VERSION:=$(PKG_VERSION)
endef
define Package/libpolarssl/description
This package contains the PolarSSL library.
endef
-define Package/polarssl-progs
-$(call Package/polarssl/Default)
- SECTION:=utils
- CATEGORY:=Utilities
- DEPENDS:=+libpolarssl
- TITLE+= (programs)
-endef
-
-define Package/polarssl-progs/description
-$(call Package/polarssl/Default/description)
-This package contains the PolarSSL programs.
-endef
-
PKG_INSTALL:=1
CMAKE_OPTIONS += \
-DCMAKE_BUILD_TYPE:String="Release" \
-DUSE_SHARED_POLARSSL_LIBRARY:Bool=ON \
+ -DENABLE_TESTING:Bool=OFF \
+ -DENABLE_PROGRAMS:Bool=OFF \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpolarssl.so* $(1)/usr/lib/
endef
-define Package/polarssl-progs/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
-endef
-
$(eval $(call BuildPackage,libpolarssl))
-$(eval $(call BuildPackage,polarssl-progs))