Root/package/cyassl/Makefile

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

Archive Download this file



interactive