Mercurial > mxe-octave
annotate src/agg.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | e4c83fa61a5b |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2153
diff
changeset
|
1 # This file is part of MXE. |
2149 | 2 # See doc/index.html for further information. |
3 | |
4 PKG := agg | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 2.5 | |
7 $(PKG)_CHECKSUM := 08f23da64da40b90184a0414369f450115cdb328 | |
8 $(PKG)_SUBDIR := agg-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := agg-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_WEBSITE := http://www.antigrain.com | |
11 $(PKG)_URL := http://www.antigrain.com/$($(PKG)_FILE) | |
2152
63eeef8e03e9
package agg: portability fix and extra dependencies
Tony Theodore <tonyt@logyst.com>
parents:
2150
diff
changeset
|
12 $(PKG)_DEPS := gcc freetype sdl |
2149 | 13 |
14 define $(PKG)_UPDATE | |
15 wget -q -O- 'http://www.antigrain.com/download/index.html' | \ | |
16 $(SED) -n 's,.*<A href="http://www.antigrain.com/agg-\([0-9.]*\).tar.gz".*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
2152
63eeef8e03e9
package agg: portability fix and extra dependencies
Tony Theodore <tonyt@logyst.com>
parents:
2150
diff
changeset
|
21 $(SED) -i 's,aclocal,aclocal -I $(PREFIX)/$(TARGET)/share/aclocal,' '$(1)/autogen.sh' |
63eeef8e03e9
package agg: portability fix and extra dependencies
Tony Theodore <tonyt@logyst.com>
parents:
2150
diff
changeset
|
22 $(SED) -i 's,libtoolize,$(LIBTOOLIZE),' '$(1)/autogen.sh' |
2150 | 23 cd '$(1)' && $(SHELL) ./autogen.sh \ |
2149 | 24 --host='$(TARGET)' \ |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2152
diff
changeset
|
25 --build="`config.guess`" \ |
2149 | 26 --disable-shared \ |
27 --prefix='$(PREFIX)/$(TARGET)' \ | |
28 --without-x | |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
30 endef |