view src/xfixes.mk @ 6340:720a837ff693 release

add libmodbus * src/libmodbus.mk: new file * dist-files.mk, index.html: add ref to new file (grafted from 502fc27d1aacc71dfa403399d08da556d1f9be93)
author John Donoghue <john.donoghue@ieee.org>
date Thu, 30 Jun 2022 15:15:27 -0400
parents 58de4f56c797
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := xfixes
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 5.0.3
$(PKG)_CHECKSUM := ca86342d129c02435a9ee46e38fdf1a04d6b4b91
$(PKG)_SUBDIR   := libXfixes-$($(PKG)_VERSION)
$(PKG)_FILE     := libXfixes-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
$(PKG)_DEPS     := fixesproto xextproto xproto x11

ifeq ($(MXE_WINDOWS_BUILD),yes)
  define $(PKG)_BUILD
  endef
else
  define $(PKG)_BUILD
    mkdir '$(1)/.build'
    cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        && $(CONFIGURE_POST_HOOK)

    $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
  endef
endif