Mercurial > mxe-octave
annotate src/gc.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | c71330d27be9 |
children | 4133f788e558 |
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 | 3 |
4 PKG := gc | |
5 $(PKG)_IGNORE := | |
2516 | 6 $(PKG)_CHECKSUM := 43c5f2704479dc8d8010fb2c73fa269bf3151d5b |
870 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc | |
11 | |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2516
diff
changeset
|
13 $(WGET) -q -O- 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/?C=M;O=D' | \ |
870 | 14 grep '<a href="gc-' | \ |
15 $(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \ | |
16 grep -v 'alpha' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 cd '$(1)' && ./configure \ | |
22 --host='$(TARGET)' \ | |
2516 | 23 --build="`config.guess`" \ |
870 | 24 --prefix='$(PREFIX)/$(TARGET)' \ |
25 --disable-shared \ | |
26 --enable-threads=win32 \ | |
27 --enable-cplusplus | |
28 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
29 $(MAKE) -C '$(1)' -j 1 install | |
30 endef |