tools/libressl: update to 3.7.0
[openwrt/staging/nbd.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.7.0
12 PKG_HASH:=3fc1290f4007ec75f6e9acecbb25512630d1b9ab8c53ba79844e395868c3e006
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:=https://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 HOSTCC := $(HOSTCC_NOCACHE)
27
28 HOST_CFLAGS += $(HOST_FPIC)
29
30 HOST_CONFIGURE_ARGS += \
31 --enable-static \
32 --disable-shared \
33 --disable-asm \
34 --with-pic \
35 --disable-tests
36
37 define Host/Uninstall
38 -$(call Host/Compile/Default,uninstall)
39 endef
40
41 $(eval $(call HostBuild))