Mercurial > mxe-octave
annotate src/freetype.mk @ 302:6098a4a72b60
update version of packages freetype, glib, gtk, pango, pdflib_lite and wxwidgets
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 23 Mar 2009 01:30:44 +0100 |
parents | b94424e6c37f |
children | 85ffa9259036 |
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 |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 PKG := freetype |
302
6098a4a72b60
update version of packages freetype, glib, gtk, pango, pdflib_lite and wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
4 $(PKG)_VERSION := 2.3.9 |
152
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_SUBDIR := freetype-$($(PKG)_VERSION) |
adbea260efc3
translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_FILE := freetype-$($(PKG)_VERSION).tar.bz2 |
265
5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents:
207
diff
changeset
|
7 $(PKG)_WEBSITE := http://freetype.sourceforge.net/ |
152
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-' | \ |
266
b94424e6c37f
improved the regexes for package version recognition
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
14 $(SED) -n 's,.*freetype-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
152
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 |