Mercurial > mxe-octave
view src/util-linux.mk @ 5884:62eada485ce7
* build-gettext.mk: Run make in gnulib directories before rest of build.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 10 Sep 2021 13:23:24 -0400 |
parents | a5cb9153fedd |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := util-linux $(PKG)_VERSION := 2.32.1 $(PKG)_CHECKSUM := de9271fb93fb651d21c027e2efb0cf0ac80f2e9a $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://www.kernel.org/pub/linux/utils/util-linux/v$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; echo $($(PKG)_VERSION) endef ## For now, we are only building libuuid. ifeq ($(MXE_WINDOWS_BUILD),yes) define $(PKG)_BUILD endef else define $(PKG)_BUILD mkdir '$(1)/.build' cd '$(1)' && autoreconf --force cd '$(1)/.build' && ../configure --disable-all-programs --disable-bash-completion --enable-libuuid \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' endef endif