1698971f4faa1b4446f033b54b478a166d3493bf
[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:=2.8.1
12 PKG_HASH:=334bf7050f1db4087feebb30571ec13d9fa975bf05d6003ce3ab6d7d2452cf42
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
17 http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
18 https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
19
20 HOST_BUILD_PARALLEL:=1
21
22 include $(INCLUDE_DIR)/host-build.mk
23
24 HOST_CONFIGURE_ARGS += --disable-shared
25 HOST_CFLAGS += $(FPIC)
26
27 $(eval $(call HostBuild))