annotate src/libxshmfence.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents b1f044de9b1c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4486
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := libxshmfence
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4636
b1f044de9b1c libxshmfence.mk: Update to version 1.3.
John W. Eaton <jwe@octave.org>
parents: 4543
diff changeset
6 $(PKG)_VERSION := 1.3
b1f044de9b1c libxshmfence.mk: Update to version 1.3.
John W. Eaton <jwe@octave.org>
parents: 4543
diff changeset
7 $(PKG)_CHECKSUM := 3472218fc0e8ee8183533d22dbcd4bbe90bf3ab8
4486
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libxshmfence-$($(PKG)_VERSION)
4519
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 4486
diff changeset
9 $(PKG)_FILE := libxshmfence-$($(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: 4486
diff changeset
10 $(PKG)_URL := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
4486
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS := xproto
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4543
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
13 define $(PKG)_UPDATE
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
14 $(WGET) -q -O- 'http://www.x.org/archive/individual/lib/' | \
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
15 $(SED) -n 's|.*href="libxshmfence-\([0-9\.]*\).tar.*|\1|p' | $(SORT) -V | \
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
16 tail -1
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
17 endef
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
18
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4519
diff changeset
19
4486
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 ifeq ($(MXE_WINDOWS_BUILD),yes)
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 define $(PKG)_BUILD
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 endef
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 else
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 define $(PKG)_BUILD
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 mkdir '$(1)/.build'
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 --prefix='$(HOST_PREFIX)' \
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 && $(CONFIGURE_POST_HOOK)
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 endef
7467937cb7bf dri2proto, glproto, libdrm, libxshmfence: New packages.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 endif