Mercurial > mxe-octave
view src/libsodium.mk @ 7186:19a46de50b18 default tip @
* src/jasper.mk: update to v4.2.4
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 02 May 2024 09:22:30 -0400 |
parents | 93f6f5d3d653 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libsodium $(PKG)_IGNORE := $(PKG)_VERSION := 1.0.19 $(PKG)_CHECKSUM := d7b35afe5ae7995e3ef22605093cfadd5ce41afa $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_URL := https://github.com/jedisct1/$(PKG)/archive/$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := define $(PKG)_UPDATE $(call GITHUB_PKG_UPDATE,jedisct1,libsodium,) endef $(PKG)_EXTRA_CONFIGURE_OPTIONS := ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),) $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="-O2 -g -fstack-protector" endif define $(PKG)_BUILD cd '$(1)' && ./autogen.sh \ cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) endef