annotate src/pthread-stubs.mk @ 4618:de2eedecd6ba

update broken PKG_UPDATE rules, handle missing update rules * Makefile.in: add handling for packages with no update rule * src/gtk2.mk, src/gtk3.mk, src/libvpx.mk, src/taglib.mk, src/hunspell.mk, src/vala.mk : use github tags for version info * src/llvm.mk: add '?' to update url * src/openscenegraph.mk: update SED rule for version extraction * src/pthread-stubs.mk, src/qt5.mk, src/renderproto.mk, src/sm.mk, src/s2tc.mk, src/util-macros.mk: added dummy PKG_UPDATE rule * src/qscintilla.mk: change search name for version extraction * src/qtbase.mk: use short pkg version in update path * src/suitesparse.mk: update change in main url/version url * src/tre.mk: update download page link * src/vmime.mk: update download and update url * src/wget.mk, src/xapian-core.mk: update url, sed rule * src/wt.mk: update to use github download/update * src/src-msys-libcrypt.mk: update sed rule
author John Donoghue
date Fri, 09 Mar 2018 11:46:42 -0500
parents 4f58c4b4dee0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := pthread-stubs
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 0.3
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 7174d6a5f4b158746f020b8fc7a3e3e5438dd233
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libpthread-stubs-$($(PKG)_VERSION)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := libpthread-stubs-$($(PKG)_VERSION).tar.gz
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://xcb.freedesktop.org/dist/$($(PKG)_FILE)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3743
diff changeset
13 define $(PKG)_UPDATE
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3743
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3743
diff changeset
15 echo $($(PKG)_VERSION)
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3743
diff changeset
16 endef
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3743
diff changeset
17
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 else
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 mkdir '$(1)/.build'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 endif