2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
15 PKG_SOURCE_URL:=http://www.yassl.com/
16 PKG_MD5SUM:=037397c7df84b9a12e614bf46135df1c
21 include $(INCLUDE_DIR)/package.mk
23 define Package/libcyassl
28 URL:=http://www.yassl.com/
31 define Package/libcyassl/description
32 CyaSSL is an SSL library optimized for small footprint, both on disk and for
36 TARGET_CFLAGS += $(FPIC)
40 --enable-singleThreaded
42 define Build/InstallDev
43 $(INSTALL_DIR) $(1)/usr/include
44 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
46 $(INSTALL_DIR) $(1)/usr/lib
47 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcyassl.{a,so*,la} $(1)/usr/lib/
50 define Package/libcyassl/install
51 $(INSTALL_DIR) $(1)/usr/lib
52 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcyassl.so* $(1)/usr/lib/
55 $(eval $(call BuildPackage,libcyassl))