diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/libs/polarssl/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'package/libs/polarssl/.svn')
-rw-r--r-- | package/libs/polarssl/.svn/entries | 65 | ||||
-rw-r--r-- | package/libs/polarssl/.svn/text-base/Makefile.svn-base | 81 |
2 files changed, 146 insertions, 0 deletions
diff --git a/package/libs/polarssl/.svn/entries b/package/libs/polarssl/.svn/entries new file mode 100644 index 0000000..9e92c65 --- /dev/null +++ b/package/libs/polarssl/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/libs/polarssl +svn://svn.openwrt.org/openwrt + + + +2013-02-08T19:47:48.767455Z +35525 +yardley + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +patches +dir + +Makefile +file + + + + +2013-03-17T12:13:07.000000Z +72836fdf35167b4db392039160a2520d +2013-02-08T19:47:48.767455Z +35525 +yardley + + + + + + + + + + + + + + + + + + + + + +1983 + diff --git a/package/libs/polarssl/.svn/text-base/Makefile.svn-base b/package/libs/polarssl/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..a66402c --- /dev/null +++ b/package/libs/polarssl/.svn/text-base/Makefile.svn-base @@ -0,0 +1,81 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=polarssl +PKG_VERSION:=1.2.5 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz +PKG_SOURCE_URL:=https://polarssl.org/code/releases +PKG_MD5SUM:=f42dd79cd85384ac9ad482caa665ac8f + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk + +define Package/polarssl/Default + SUBMENU:=SSL + TITLE:=Embedded SSL + URL:=http://polarssl.org/ +endef + +define Package/polarssl/Default/description +The aim of the PolarSSL project is to provide a quality, open-source +cryptographic library written in C and targeted at embedded systems. +endef + +define Package/libpolarssl +$(call Package/polarssl/Default) + SECTION:=libs + CATEGORY:=Libraries + TITLE+= (library) +endef + +define Package/libpolarssl/description +$(call Package/polarssl/Default/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 \ + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/polarssl $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpolarssl.so* $(1)/usr/lib/ +endef + +define Package/libpolarssl/install + $(INSTALL_DIR) $(1)/usr/lib + $(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)) |