Mercurial > mxe-octave
annotate src/ftgl.mk @ 2349:f48c5b085a38
Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 11:07:07 +0200 |
parents | f653602a0500 |
children | 99516e73b368 |
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. |
1417 | 2 # See doc/index.html for further information. |
3 | |
4 # ftgl | |
5 PKG := ftgl | |
6 $(PKG)_IGNORE := | |
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) |
1419
2aa21a56a1c4
cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1418
diff
changeset
|
11 $(PKG)_DEPS := gcc freetype |
1417 | 12 |
13 define $(PKG)_UPDATE | |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1421
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 | 17 endef |
18 | |
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 \ |
1417 | 25 --host='$(TARGET)' \ |
26 --disable-shared \ | |
1421
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
27 --prefix='$(PREFIX)/$(TARGET)' \ |
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
28 --without-x \ |
1417 | 29 --disable-freetypetest \ |
1421
007b72759805
fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents:
1420
diff
changeset
|
30 --with-ft-prefix='$(PREFIX)/$(TARGET)' |
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 | 33 endef |