Mercurial > mxe-octave
annotate src/ftgl.mk @ 3013:bcc26ffe9a0f
use variable for --host and --build configure arguments
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 12:40:32 -0400 |
parents | 100e618349f7 |
children | 5ef49fb3299d |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1643
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. |
1417 | 3 |
4 PKG := ftgl | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 8508f26c84001d7bc949246affa03744fa1fd22e | |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1421
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1421
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$(subst ~,-,$($(PKG)_VERSION)).tar.bz2 |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1421
diff
changeset
|
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/FTGL Source/$($(PKG)_VERSION)/$($(PKG)_FILE) |
1419
2aa21a56a1c4
cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1418
diff
changeset
|
10 $(PKG)_DEPS := gcc freetype |
1417 | 11 |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://sourceforge.net/projects/ftgl/files/FTGL Source/' | \ |
1643
6b390c64dafc
bugfix in version recognition of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1642
diff
changeset
|
14 $(SED) -n 's,.*<tr title="\([0-9][^"]*\)".*,\1,p' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1421
diff
changeset
|
15 head -1 |
1417 | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
1421
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
19 cd '$(1)' && aclocal -I m4 |
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
20 cd '$(1)' && $(LIBTOOLIZE) |
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
21 cd '$(1)' && automake --gnu |
1419
2aa21a56a1c4
cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1418
diff
changeset
|
22 cd '$(1)' && autoconf |
2aa21a56a1c4
cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1418
diff
changeset
|
23 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
1421
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
27 --without-x \ |
1417 | 28 --disable-freetypetest \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
29 --with-ft-prefix='$(HOST_PREFIX)' |
1421
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
30 $(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
31 $(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
1417 | 32 endef |