4c7e8a7b6ecc1c57cd004869a3d4dd3b3ad29328
[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.7.2
12 PKG_HASH:=917a8779c342177ff3751a2bf955d0262d1d8916a4b408930c45cef326700995
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 http://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))