Mercurial > mxe-octave
annotate src/pthread-stubs.mk @ 5425:7ba6499a66d4
Proj requires the sqlite binary, tiff and curl libs
* src/sqlite.mk: install exe
* src/proj.mk: add requirment for curl and tiff
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 22 May 2020 10:09:13 -0400 |
parents | de2eedecd6ba |
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 |