2016-05-25 23:47:09 +02:00
|
|
|
#
|
2017-05-07 20:52:32 +03:00
|
|
|
# Copyright (C) 2016-2017 LEDE project
|
2016-05-25 23:47:09 +02: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-06-06 22:08:42 +02:00
|
|
|
PKG_VERSION:=3.4.3
|
|
|
|
PKG_HASH:=ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d
|
2016-05-25 23:47:09 +02:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2018-10-15 10:47:09 -07:00
|
|
|
PKG_CPE_ID:=cpe:/a:openbsd:libressl
|
|
|
|
|
2016-05-25 23:47:09 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2023-04-08 20:02:05 +08:00
|
|
|
PKG_SOURCE_URL:=https://mirrors.tencent.com/OpenBSD/LibreSSL/ \
|
|
|
|
https://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
|
2016-10-04 15:21:30 +02:00
|
|
|
http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
|
2018-10-06 12:44:04 +02:00
|
|
|
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
2016-05-25 23:47:09 +02:00
|
|
|
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2020-12-23 01: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-19 14:45:11 -07:00
|
|
|
HOST_CFLAGS += $(HOST_FPIC)
|
2016-12-28 01:10:37 +01:00
|
|
|
|
2018-10-22 21:00:57 +02:00
|
|
|
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
|
|
|
|
HOST_CONFIGURE_ARGS += --disable-asm
|
|
|
|
endif
|
|
|
|
|
2016-05-25 23:47:09 +02:00
|
|
|
$(eval $(call HostBuild))
|