view src/xcursor.mk @ 4608:dac40a0ff814

nsis: update for 64bit compile * src/nsis.mk: use sed to change default target stype in makensis, set target options to amd64 in 64bit mode, dont skip system plugin * tools/makeinst-script.sh.in: include MUI2.nsh
author John Donoghue
date Wed, 28 Feb 2018 11:01:19 -0500
parents 58de4f56c797
children
line wrap: on
line source

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

PKG             := xcursor
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.1.14
$(PKG)_CHECKSUM := 89870756758439f9216ddf5f2d3dca56570fc6b7
$(PKG)_SUBDIR   := libXcursor-$($(PKG)_VERSION)
$(PKG)_FILE     := libXcursor-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
$(PKG)_DEPS     := fixesproto x11 xfixes xrender

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