Mercurial > mxe-octave
view src/xfixes.mk @ 4192:438a4bfdc887
new rules for creating a tarball from Octave's hg sources
* hg-octave-dist.mk: New file.
* Makefile.in: Include hg-octave-dist.mk.
(ENV_PATH, ENV_PKG_CONFIG_PATH, ENV_LD_LIBRARY_PATH):
Capture values from environment.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 29 Aug 2016 11:21:19 -0400 |
parents | 4f58c4b4dee0 |
children | 58de4f56c797 |
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.1 $(PKG)_CHECKSUM := 88e9fe9c3288feb5362fe97fa7ae534f724b75e3 $(PKG)_SUBDIR := libXfixes-$($(PKG)_VERSION) $(PKG)_FILE := libXfixes-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://xorg.freedesktop.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