annotate src/ftgl.mk @ 6161:8fcac4d6d983 release

of-queueing: Fix syntax error with Octave 7 (bug #62314). * src/of-queueing-1-octave7.patch: Add new file. * dist-files.mk: Include new patch.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 14 Apr 2022 19:27:13 +0200
parents 13be64f9f16d
children
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 :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.1.3~rc5
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 8508f26c84001d7bc949246affa03744fa1fd22e
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1421
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1421
diff changeset
9 $(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
10 $(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
11 $(PKG)_DEPS := freetype
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
12
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(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
15 $(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
16 head -1
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
17 endef
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
18
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
19 define $(PKG)_BUILD
1421
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
20 cd '$(1)' && aclocal -I m4
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
21 cd '$(1)' && $(LIBTOOLIZE)
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
22 cd '$(1)' && automake --gnu
1419
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
23 cd '$(1)' && autoconf
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
24 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
25 $(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
26 $(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
27 --prefix='$(HOST_PREFIX)' \
1421
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
28 --without-x \
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
29 --disable-freetypetest \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
30 --with-ft-prefix='$(HOST_PREFIX)'
1421
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
31 $(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
32 $(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
33 endef