annotate src/freetype.mk @ 306:85ffa9259036

validate downloads using SHA-1 checksums
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 05 Apr 2009 14:00:17 +0200
parents 6098a4a72b60
children 413750a629be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # freetype
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
3 PKG := freetype
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
4 $(PKG)_VERSION := 2.3.9
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
5 $(PKG)_CHECKSUM := db08969cb5053879ff9e973fe6dd2c52c7ea2d4e
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
6 $(PKG)_SUBDIR := freetype-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
7 $(PKG)_FILE := freetype-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
8 $(PKG)_WEBSITE := http://freetype.sourceforge.net/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/freetype/$($(PKG)_FILE)
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
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=3157&package_id=3121' | \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 grep 'freetype-' | \
266
b94424e6c37f improved the regexes for package version recognition
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
15 $(SED) -n 's,.*freetype-\([0-9][^>]*\)\.tar.*,\1,p' | \
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
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 \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)'
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 endef