Mercurial > mxe-octave
changeset 4864:b0e1e4363cf0
util-linux: new package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 30 Oct 2018 11:48:02 -0400 |
parents | e5acf1d94d33 |
children | 38bc9910cd35 |
files | index.html src/fontconfig.mk src/util-linux.mk |
diffstat | 3 files changed, 42 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Fri Oct 19 15:37:38 2018 -0400 +++ b/index.html Tue Oct 30 11:48:02 2018 -0400 @@ -2662,6 +2662,10 @@ <td class="website"><a href="http://www.gnu.org/software/units/units.html">GNU Units</a></td> </tr> <tr> + <td class="package">util-linux</td> + <td class="website"><a href="http://www.kernel.org/">util-linux</a></td> + </tr> + <tr> <td class="package">util-macros</td> <td class="website"><a href="http://xorg.freedesktop.org/">util-macrosi</a></td> </tr>
--- a/src/fontconfig.mk Fri Oct 19 15:37:38 2018 -0400 +++ b/src/fontconfig.mk Tue Oct 30 11:48:02 2018 -0400 @@ -9,6 +9,9 @@ $(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE) $(PKG)_DEPS := freetype expat gettext +ifeq ($(MXE_WINDOWS_BUILD),no) + $(PKG)_DEPS += util-linux +endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://fontconfig.org/release/' | \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/util-linux.mk Tue Oct 30 11:48:02 2018 -0400 @@ -0,0 +1,35 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := util-linux +$(PKG)_VERSION := 2.32.1 +$(PKG)_BASE_VER := 2.32 +$(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$($(PKG)_BASE_VER)/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $(gl2ps_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