Mercurial > mxe-octave
annotate src/poco.mk @ 4012:532c19b04f17
dbus: update to v1.9.20
author | John Donoghue |
---|---|
date | Wed, 12 Aug 2015 08:08:49 -0400 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2314
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. |
1804 | 3 |
4 PKG := poco | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.4.4 |
2816 | 7 $(PKG)_CHECKSUM := 22ee6a217eb3f5e0f48c85893af128fe8955eb4f |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/sources/$(PKG)-$(word 1,$(subst p, ,$($(PKG)_VERSION)))/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := |
1804 | 12 |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2438
diff
changeset
|
14 $(WGET) -q -O- 'http://pocoproject.org/download/' | \ |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
15 $(SED) -n 's,.*poco-\([0-9][^>/]*\)\.tar.*,\1,p' | \ |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
16 head -1 |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
17 endef |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
18 |
1804 | 19 define $(PKG)_BUILD |
20 cd '$(1)' && ./configure \ | |
21 --config=MinGW-CrossEnv \ | |
22 --static \ | |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2816
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' |
2438
97fdc3814095
package poco: allow different VENDOR segments of host triplet
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install CROSSENV=$(TARGET) |
1804 | 25 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
26 '$(MXE_CXX)' \ |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
27 -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
28 '$(2).cpp' -o '$(HOST_BINDIR)/test-poco.exe' \ |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
29 -lPocoFoundation |
1804 | 30 endef |