annotate src/ftgl.mk @ 1421:007b72759805

fixed build rules of package ftgl
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 26 Nov 2010 15:50:52 +0100
parents 530211380434
children 2726fbef533c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
2 # See doc/index.html for further information.
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 # ftgl
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
5 PKG := ftgl
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
1418
d011d84273ff fix upgrade mechanism of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1417
diff changeset
7 $(PKG)_VERSION := 2.1.3-rc5
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 8508f26c84001d7bc949246affa03744fa1fd22e
1420
530211380434 fix $(PKG)_SUBDIR in package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1419
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$(subst -,~,$($(PKG)_VERSION))
530211380434 fix $(PKG)_SUBDIR in package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1419
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
1419
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
11 $(PKG)_WEBSITE := http://sourceforge.net/projects/$(PKG)/
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/FTGL Source/$(subst -,~,$($(PKG)_VERSION))/$($(PKG)_FILE)
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
13 $(PKG)_DEPS := gcc freetype
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
14
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1419
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/ftgl/files/FTGL Source/) | \
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
17 $(SED) -n 's,.*ftgl-\([0-9][^>]*\)\.tar.*,\1,p' | \
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
18 tail -1
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
19 endef
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
20
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
21 define $(PKG)_BUILD
1421
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
22 cd '$(1)' && aclocal -I m4
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
23 cd '$(1)' && $(LIBTOOLIZE)
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
24 cd '$(1)' && automake --gnu
1419
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
25 cd '$(1)' && autoconf
2aa21a56a1c4 cleanup package: ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1418
diff changeset
26 cd '$(1)' && ./configure \
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
27 --host='$(TARGET)' \
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
28 --disable-shared \
1421
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
29 --prefix='$(PREFIX)/$(TARGET)' \
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
30 --without-x \
1417
3a42978c7bc6 new package: ftgl
Stefan Löffler <st.loeffler@gmail.com>
parents:
diff changeset
31 --disable-freetypetest \
1421
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
32 --with-ft-prefix='$(PREFIX)/$(TARGET)'
007b72759805 fixed build rules of package ftgl
Volker Grabsch <vog@notjusthosting.com>
parents: 1420
diff changeset
33 $(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
34 $(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
35 endef