2016-05-25 21:47:09 +00:00
|
|
|
#
|
2017-05-07 17:52:32 +00:00
|
|
|
# Copyright (C) 2016-2017 LEDE project
|
2016-05-25 21:47:09 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libressl
|
2018-04-14 21:33:41 +00:00
|
|
|
PKG_VERSION:=2.7.2
|
|
|
|
PKG_HASH:=917a8779c342177ff3751a2bf955d0262d1d8916a4b408930c45cef326700995
|
2016-05-25 21:47:09 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2018-10-15 17:47:09 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:openbsd:libressl
|
|
|
|
|
2016-05-25 21:47:09 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2016-10-04 13:21:30 +00:00
|
|
|
PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
|
|
|
|
http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
|
|
|
|
http://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
2016-05-25 21:47:09 +00:00
|
|
|
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2016-12-28 00:10:37 +00:00
|
|
|
HOST_CONFIGURE_ARGS += --disable-shared
|
2017-01-10 21:10:59 +00:00
|
|
|
HOST_CFLAGS += $(FPIC)
|
2016-12-28 00:10:37 +00:00
|
|
|
|
2018-10-22 19:00:57 +00:00
|
|
|
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
|
|
|
|
HOST_CONFIGURE_ARGS += --disable-asm
|
|
|
|
endif
|
|
|
|
|
2016-05-25 21:47:09 +00:00
|
|
|
$(eval $(call HostBuild))
|