annotate src/ftgl.mk @ 3256:7fb479d0241c

Update build tools for native mingw * src/build-m4.mk: do nothing for native mingw build * Makefile.in: - add bison, m4 as natve mingw, and python as jit build requirements. - remove build-bison as a mingw build dependancy * index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 26 Sep 2013 21:18:39 -0400
parents 5ef49fb3299d
children 13be64f9f16d
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: 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
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
3
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
4 PKG := ftgl
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
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)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
10 $(PKG)_DEPS := freetype
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
11
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
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
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
16 endef
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
17
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
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
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
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
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
32 endef