Mercurial > mxe-octave
annotate src/poco.mk @ 2365:b5321bdec505
Move full package names from src/*.mk into package list (index.html)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 21:41:44 +0200 |
parents | 99516e73b368 |
children | 97fdc3814095 |
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 := | |
2314
f04ef4f56cf0
update packages proj, poco
Tony Theodore <tonyt@logyst.com>
parents:
1805
diff
changeset
|
6 $(PKG)_CHECKSUM := 9e1ef31d369c67eef2d3ce1ca8f2b6ac5cc38ec4 |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
8 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/sources/$(PKG)-$(word 1,$(subst p, ,$($(PKG)_VERSION)))/$($(PKG)_FILE) |
1804 | 10 $(PKG)_DEPS := gcc |
11 | |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
12 define $(PKG)_UPDATE |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
13 wget -q -O- 'http://pocoproject.org/download/' | \ |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
14 $(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
|
15 head -1 |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
16 endef |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
17 |
1804 | 18 define $(PKG)_BUILD |
19 cd '$(1)' && ./configure \ | |
20 --config=MinGW-CrossEnv \ | |
21 --static \ | |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
22 --prefix='$(PREFIX)/$(TARGET)' |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
23 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
1804 | 24 |
1805
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
25 '$(TARGET)-g++' \ |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
26 -W -Wall -Werror -ansi -pedantic \ |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
27 '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-poco.exe' \ |
8b83f56d4334
corrections and improvements for package poco
Volker Grabsch <vog@notjusthosting.com>
parents:
1804
diff
changeset
|
28 -lPocoFoundation |
1804 | 29 endef |