Mercurial > mxe-octave
annotate src/msitools.mk @ 3561:ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 08 Mar 2014 17:40:00 -0500 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
3137
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 # This file is part of MXE. |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 # See index.html for further information. |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 PKG := msitools |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3137
diff
changeset
|
6 $(PKG)_VERSION := 0.92 |
3137
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := 695933981b679f71a5aed21d14d2fb54ae0e7102 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 $(PKG)_DEPS := gcab glib libgsf libxml2 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 $(PKG)_PREFIX := '$(HOST_PREFIX)' |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
3561
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
17 echo $($(PKG)_VERSION) |
3137
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 endef |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 ifeq ($(MXE_SYSTEM),msvc) |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 $(PKG)_CONFIGURE_EXTRA_OPTIONS := \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 UUID_CFLAGS=-I. \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 UUID_LIBS=-lrpcrt4 \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 WIXL_CFLAGS="`PKG_CONFIG_PATH=$(HOST_LIBDIR)/pkgconfig $(MXE_PKG_CONFIG) --cflags gio-2.0 libgcab-1.0 libxml-2.0`" \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 WIXL_LIBS="`PKG_CONFIG_PATH=$(HOST_LIBDIR)/pkgconfig $(MXE_PKG_CONFIG) --libs gio-2.0 libgcab-1.0 libxml-2.0` -lrpcrt4" |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 $(PKG)_PREFIX := $(shell cd $(HOST_PREFIX) && pwd -W) |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 endif |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 define $(PKG)_BUILD |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
30 cd '$(1)' && './configure' \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
31 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
32 $(ENABLE_SHARED_OR_STATIC) \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
33 --prefix='$($(PKG)_PREFIX)' \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
34 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
35 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
36 $($(PKG)_CONFIGURE_EXTRA_OPTIONS) \ |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
37 && $(CONFIGURE_POST_HOOK) |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
38 |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
39 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
40 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= |
98d994cfc408
Add msitools (and MSVC-specific patches)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
41 endef |