Mercurial > mxe-octave
annotate src/xcb-proto.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | f3b106caf51c |
children | 0988117f1a6e |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xcb-proto | |
5 $(PKG)_IGNORE := | |
5018 | 6 $(PKG)_VERSION := 1.13 |
7 $(PKG)_CHECKSUM := f7fa35ab59af18cecadbe83fe705281dcfd82ffd | |
3743 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
4519
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
10 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) |
3743 | 11 $(PKG)_DEPS := |
12 | |
5018 | 13 |
14 define $(PKG)_UPDATE | |
15 $(WGET) -q -O- 'https://www.x.org/archive/individual/xcb/' | \ | |
16 $(SED) -n 's,.*<a href="xcb-proto-\([0-9\.]*\)\.tar.gz".*,\1,p' | \ | |
17 $(SORT) -V | | |
18 tail -1 | |
19 endef | |
20 | |
3743 | 21 ifeq ($(MXE_WINDOWS_BUILD),yes) |
22 define $(PKG)_BUILD | |
23 endef | |
24 else | |
25 define $(PKG)_BUILD | |
26 mkdir '$(1)/.build' | |
27 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
28 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
30 --prefix='$(HOST_PREFIX)' \ | |
31 && $(CONFIGURE_POST_HOOK) | |
32 | |
33 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
34 endef | |
35 endif |