source: trunk/package/cyassl/Makefile @ 24300

Last change on this file since 24300 was 24300, checked in by acoul, 6 years ago

package/cyassl: update to version 1.6.5

File size: 1.2 KB
Line 
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.6.5
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
15PKG_SOURCE_URL:=http://www.yassl.com/
16PKG_MD5SUM:=98c2c6350acf1d089756a1de9ccb9903
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20PKG_BUILD_PARALLEL:=1
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/libcyassl
25  SECTION:=libs
26  SUBMENU:=SSL
27  CATEGORY:=Libraries
28  TITLE:=CyaSSL library
29  URL:=http://www.yassl.com/
30endef
31
32define Package/libcyassl/description
33CyaSSL is an SSL library optimized for small footprint, both on disk and for
34memory use.
35endef
36
37TARGET_CFLAGS += $(FPIC)
38
39CONFIGURE_ARGS += \
40        --without-zlib \
41        --enable-singleThreaded
42
43define Build/InstallDev
44        $(INSTALL_DIR) $(1)/usr/include
45        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
46
47        $(INSTALL_DIR) $(1)/usr/lib
48        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcyassl.{a,so*,la} $(1)/usr/lib/
49endef
50
51define Package/libcyassl/install
52        $(INSTALL_DIR) $(1)/usr/lib
53        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcyassl.so* $(1)/usr/lib/
54endef
55
56$(eval $(call BuildPackage,libcyassl))
Note: See TracBrowser for help on using the repository browser.