Mercurial > mxe-octave
view src/libsodium.mk @ 6352:2040e40ccd53
* src/mpg123.mk: update to v1.30.2
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 03 Aug 2022 16:35:03 -0400 |
parents | ae36e8c35157 |
children | 4b8764444acb |
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.18 $(PKG)_CHECKSUM := cd8a76b79aeb077e8d3eea478ea6241972593dfd $(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 $(WGET) -q -O- 'https://github.com/jedisct1/libsodium/tags' | \ $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \ tail -1 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