9338896ee613eb5d17897c3ec91f30d1e6d06308
[openwrt/openwrt.git] / tools / libressl / Makefile
1 #
2 # Copyright (C) 2016 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.5.1
12 PKG_HASH:=f71ae0a824b78fb1a47ffa23c9c26e9d96c5c9b29234eacedce6b4c7740287cd
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))