license info - revert r43155
[openwrt/staging/lynxis/omap.git] / package / libs / cyassl / Makefile
1 #
2 # Copyright (C) 2006-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cyassl
11 PKG_VERSION:=3.2.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
15 PKG_SOURCE_URL:=http://www.yassl.com/
16 PKG_MD5SUM:=a80493c224ff86e45dc333c06d5edb88
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20 PKG_BUILD_PARALLEL:=1
21 PKG_LICENSE:=GPL-2.0+
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/libcyassl
26 SECTION:=libs
27 SUBMENU:=SSL
28 CATEGORY:=Libraries
29 TITLE:=CyaSSL library
30 URL:=http://www.yassl.com/
31 endef
32
33 define Package/libcyassl/description
34 CyaSSL is an SSL library optimized for small footprint, both on disk and for
35 memory use.
36 endef
37
38 TARGET_CFLAGS += $(FPIC)
39
40 CONFIGURE_ARGS += \
41 --without-zlib \
42 --enable-singlethreaded \
43 --disable-examples
44
45 define Build/InstallDev
46 $(INSTALL_DIR) $(1)/usr/include
47 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
48
49 $(INSTALL_DIR) $(1)/usr/lib
50 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcyassl.{so*,la} $(1)/usr/lib/
51 endef
52
53 define Package/libcyassl/install
54 $(INSTALL_DIR) $(1)/usr/lib
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcyassl.so* $(1)/usr/lib/
56 endef
57
58 $(eval $(call BuildPackage,libcyassl))