Mercurial > mxe-octave
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 |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := pthread-stubs | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 0.3 | |
7 $(PKG)_CHECKSUM := 7174d6a5f4b158746f020b8fc7a3e3e5438dd233 | |
8 $(PKG)_SUBDIR := libpthread-stubs-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := libpthread-stubs-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://xcb.freedesktop.org/dist/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
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 | 18 ifeq ($(MXE_WINDOWS_BUILD),yes) |
19 define $(PKG)_BUILD | |
20 endef | |
21 else | |
22 define $(PKG)_BUILD | |
23 mkdir '$(1)/.build' | |
24 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
25 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
27 --prefix='$(HOST_PREFIX)' \ | |
28 && $(CONFIGURE_POST_HOOK) | |
29 | |
30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
31 endef | |
32 endif |