annotate src/gc.mk @ 2353:99516e73b368

Move doc/index.html -> index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 12:14:15 +0200
parents f48c5b085a38
children b5321bdec505
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: 870
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.
870
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # gc
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := gc
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := e84cba5d18f4ea5ed4e5fd3f1dc6a46bc190ff6f
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE)
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_DEPS := gcc
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 wget -q -O- 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/?C=M;O=D' | \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 grep '<a href="gc-' | \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep -v 'alpha' | \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --enable-threads=win32 \
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --enable-cplusplus
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)'
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install
f4fe982ce370 new package: gc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef