Makefile 884 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=libressl
  9. PKG_VERSION:=3.7.0
  10. PKG_HASH:=3fc1290f4007ec75f6e9acecbb25512630d1b9ab8c53ba79844e395868c3e006
  11. PKG_RELEASE:=1
  12. PKG_CPE_ID:=cpe:/a:openbsd:libressl
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. PKG_SOURCE_URL:=https://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
  15. http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
  16. https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
  17. HOST_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/host-build.mk
  19. HOSTCC := $(HOSTCC_NOCACHE)
  20. HOST_CFLAGS += $(HOST_FPIC)
  21. HOST_CONFIGURE_ARGS += \
  22. --enable-static \
  23. --disable-shared \
  24. --disable-asm \
  25. --with-pic \
  26. --disable-tests
  27. define Host/Uninstall
  28. -$(call Host/Compile/Default,uninstall)
  29. endef
  30. $(eval $(call HostBuild))