2 # Copyright (C) 2006-2013 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
:=a80493c224ff86e45dc333c06d5edb88
19 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/libcyassl
33 URL
:=http
://www.yassl.com
/
36 define Package
/libcyassl
/description
37 CyaSSL is an SSL library optimized for small footprint
, both on disk and for
41 TARGET_CFLAGS
+= $(FPIC
)
45 --enable-singlethreaded \
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
52 $(INSTALL_DIR
) $(1)/usr
/lib
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libcyassl.
{so
*,la
} $(1)/usr
/lib
/
56 define Package
/libcyassl
/install
57 $(INSTALL_DIR
) $(1)/usr
/lib
58 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libcyassl.so
* $(1)/usr
/lib
/
61 $(eval
$(call BuildPackage
,libcyassl
))