tools/libressl: update to 3.2.1
[openwrt/openwrt.git] / tools / libressl / Makefile
1 #
2 # Copyright (C) 2016-2017 LEDE project
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:=libressl
11 PKG_VERSION:=3.2.1
12 PKG_HASH:=d28db224cfb6d18009b2a7e8cb213cd5c943bbec87550062fef6a38479250315
13 PKG_RELEASE:=1
14
15 PKG_CPE_ID:=cpe:/a:openbsd:libressl
16
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18 PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
19 http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
20 https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
21
22 HOST_BUILD_PARALLEL:=1
23
24 include $(INCLUDE_DIR)/host-build.mk
25
26 HOST_CONFIGURE_ARGS += --enable-static --disable-shared --disable-tests
27 HOST_CFLAGS += $(FPIC)
28
29 ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
30 HOST_CONFIGURE_ARGS += --disable-asm
31 endif
32
33 $(eval $(call HostBuild))