annotate src/freetype.mk @ 4601:dc3eb553f5e9

update UPDATE rule for sourceforge projects with version directories * src/cppunit.mk, src/cunit.mk, src/expat.mk, src/freeimage.mk, src/freetype.mk, src/gnuplot.mk, src/graphicsmagick.mk, src/hunspell.mk, src/id3lib.mk, src/lcms.mk, src/libircclient.mk, src/liblo.mk, src/libmad.mk, src/libmng.mk, src/libmodplug.mk, src/libusb.mk, src/matio.mk, src/pcre.mk, src/pdcurses.mk, src/pfstools.mk, src/plotmm.mk, src/qjson.mk, src/qwt.mk, src/qwtplot3d.mk, src/sdl_pango.mk, src/sox.mk, src/tinyxml.mk, src/xmlwrapp.mk: update UPDATE rule for sourceforge projects with version directories * src/llvm.mk: update use wget not WGE so get uncompressed file)
author John D
date Mon, 29 Jan 2018 11:57:20 -0500
parents e8e6e646e17d
children 76ec51949903
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: 2273
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.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
4 PKG := freetype
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
5 $(PKG)_IGNORE :=
4565
e8e6e646e17d freetype:update to v2.8.1
John D
parents: 4515
diff changeset
6 $(PKG)_VERSION := 2.8.1
e8e6e646e17d freetype:update to v2.8.1
John D
parents: 4515
diff changeset
7 $(PKG)_CHECKSUM := 417bb3747c4ac95b6f2652024a53fad45581fa1c
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
8 $(PKG)_SUBDIR := freetype-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
9 $(PKG)_FILE := freetype-$($(PKG)_VERSION).tar.bz2
422
d2f5eb27e051 improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freetype/freetype2/$($(PKG)_VERSION)/$($(PKG)_FILE)
4515
a8c3ca78f7a7 freetype: depend on libpng
John W. Eaton <jwe@octave.org>
parents: 4401
diff changeset
11 $(PKG)_DEPS := libpng zlib
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.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/freetype/files/freetype2/' | \
4601
dc3eb553f5e9 update UPDATE rule for sourceforge projects with version directories
John D
parents: 4565
diff changeset
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \
1033
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 741
diff changeset
16 head -1
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && GNUMAKE=$(MAKE) ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(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: 2610
diff changeset
22 $(ENABLE_SHARED_OR_STATIC) \
3089
a2d273624ad7 [MSVC] enable freetype compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
23 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK)
3676
c4441aff642b freetype: update to 2.5.3
John Donoghue
parents: 3480
diff changeset
24 $(MAKE) -C '$(1)' -j '$(JOBS)'
c4441aff642b freetype: update to 2.5.3
John Donoghue
parents: 3480
diff changeset
25 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
2884
865d650bc946 remove installed .la files for freetype
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
26
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3089
diff changeset
27 rm -f '$(3)$(HOST_LIBDIR)/libfreetype.la'
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 endef