2016-05-26 05:47:09 +08:00
|
|
|
#
|
2017-05-08 01:52:32 +08:00
|
|
|
# Copyright (C) 2016-2017 LEDE project
|
2016-05-26 05:47:09 +08: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
|
2022-02-24 04:32:41 +08:00
|
|
|
PKG_VERSION:=3.4.2
|
|
|
|
PKG_HASH:=cb82ca7d547336917352fbd23db2fc483c6c44d35157b32780214ec74197b3ce
|
2016-05-26 05:47:09 +08:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2018-10-16 01:47:09 +08:00
|
|
|
PKG_CPE_ID:=cpe:/a:openbsd:libressl
|
|
|
|
|
2016-05-26 05:47:09 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2016-10-04 21:21:30 +08:00
|
|
|
PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
|
|
|
|
http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
|
2018-10-06 18:44:04 +08:00
|
|
|
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
2016-05-26 05:47:09 +08:00
|
|
|
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2020-12-23 17:16:17 +08:00
|
|
|
HOSTCC := $(HOSTCC_NOCACHE)
|
2020-09-13 03:50:36 +08:00
|
|
|
HOST_CONFIGURE_ARGS += --enable-static --disable-shared --disable-tests
|
2021-06-20 05:45:11 +08:00
|
|
|
HOST_CFLAGS += $(HOST_FPIC)
|
2016-12-28 08:10:37 +08:00
|
|
|
|
2018-10-23 03:00:57 +08:00
|
|
|
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
|
|
|
|
HOST_CONFIGURE_ARGS += --disable-asm
|
|
|
|
endif
|
|
|
|
|
2016-05-26 05:47:09 +08:00
|
|
|
$(eval $(call HostBuild))
|