annotate src/freetype.mk @ 152:adbea260efc3

translated package: freetype
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 08 Nov 2008 21:15:51 +0100
parents
children e3f4909ed0d5
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 # http://freetype.sourceforge.net/
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := freetype
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_VERSION := 2.3.5
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_SUBDIR := freetype-$($(PKG)_VERSION)
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_FILE := freetype-$($(PKG)_VERSION).tar.bz2
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/freetype/$($(PKG)_FILE)
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_DEPS := gcc zlib
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 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
13 grep 'freetype-' | \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*freetype-\([2-9][^>]*\)\.tar.*,\1,p' | \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
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