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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
3
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
4 PKG := poco
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
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
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
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
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
18 define $(PKG)_BUILD
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
20 --config=MinGW-CrossEnv \
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
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
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
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
23ed773796dc new package: poco
Finny Thomas <finny.thomas@gmail.com>
parents:
diff changeset
29 endef