Mercurial > mxe-octave
view src/dri2proto.mk @ 4771:a08799ef1197
of-miscellaneous: use __octave_config_info__
* src/of-miscellaneous-3-dev-fixes.patch: new file
* dist-files.mk: add of-miscellaneous-3-dev-fixes.patch
author | John Donoghue |
---|---|
date | Wed, 11 Jul 2018 13:35:05 -0400 |
parents | 979f5b397e51 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := dri2proto $(PKG)_IGNORE := $(PKG)_VERSION := 2.8 $(PKG)_CHECKSUM := 2bc4e8f00778b1f3fe58b4c4f93607ac2adafbbf $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.x.org/archive/individual/proto/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- http://www.x.org/archive/individual/proto/ | $(SED) -n 's|.*dri2proto-\(.*\).tar.*|\1|p'| $(SORT) -V | tail -1 endef 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