Mercurial > mxe-octave
annotate src/freetype.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | b5321bdec505 |
children | aa9b01174b60 |
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 := |
2273 | 6 $(PKG)_CHECKSUM := 5cb80ab9d369c4e81a2221bcf45adcea2c996b9b |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
7 $(PKG)_SUBDIR := freetype-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
8 $(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
|
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freetype/freetype2/$($(PKG)_VERSION)/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
10 $(PKG)_DEPS := gcc zlib |
152
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.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/freetype/files/freetype2/' | \ |
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
|
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
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
|
15 head -1 |
152
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 cd '$(1)' && GNUMAKE=$(MAKE) ./configure \ |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 --host='$(TARGET)' \ |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 --disable-shared \ |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --prefix='$(PREFIX)/$(TARGET)' |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 endef |