Mercurial > mxe-octave
annotate src/xmlwrapp.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | 47558e958113 |
children | bcc26ffe9a0f |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1499
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := xmlwrapp |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
5 $(PKG)_IGNORE := |
2393 | 6 $(PKG)_CHECKSUM := 7bd66ecc1204b296580a499fd929d77b79e6e85a |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1120
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1120
diff
changeset
|
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
2393 | 10 $(PKG)_DEPS := gcc boost libxml2 libxslt |
145
53f68558e406
translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
53f68558e406
translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2393
diff
changeset
|
13 $(WGET) -q -O- 'http://sourceforge.net/projects/xmlwrapp/files/xmlwrapp/' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1120
diff
changeset
|
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1120
diff
changeset
|
15 head -1 |
145
53f68558e406
translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
53f68558e406
translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
53f68558e406
translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
254
f200927554c5
simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
253
diff
changeset
|
19 cd '$(1)' && ./configure \ |
f200927554c5
simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
253
diff
changeset
|
20 --host='$(TARGET)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
21 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
254
f200927554c5
simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
253
diff
changeset
|
23 PKG_CONFIG='$(TARGET)-pkg-config' |
f200927554c5
simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
253
diff
changeset
|
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= |
145
53f68558e406
translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |