Mercurial > mxe-octave
annotate src/sdl_pango.mk @ 2365:b5321bdec505
Move full package names from src/*.mk into package list (index.html)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 21:41:44 +0200 |
parents | 99516e73b368 |
children | 4d0f3a9da57e |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1499
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. |
752 | 3 |
4 PKG := sdl_pango | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := c30f2941d476d9362850a150d29cb4a93730af68 | |
7 $(PKG)_SUBDIR := SDL_Pango-$($(PKG)_VERSION) | |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
8 $(PKG)_FILE := SDL_Pango-$($(PKG)_VERSION).tar.gz |
752 | 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/sdlpango/SDL_Pango/$($(PKG)_VERSION)/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc sdl pango | |
11 | |
12 define $(PKG)_UPDATE | |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1330
diff
changeset
|
13 wget -q -O- 'http://sourceforge.net/projects/sdlpango/files/SDL_Pango/' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1330
diff
changeset
|
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1330
diff
changeset
|
15 head -1 |
752 | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
1330
cfc07e8ad038
fix line endings in SDL_Pango.pc
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
19 $(SED) -i 's,\r$$,,' '$(1)/SDL_Pango.pc.in' |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
753
diff
changeset
|
20 $(SED) -i 's,^\(Requires:.*\),\1 pangoft2,' '$(1)/SDL_Pango.pc.in' |
752 | 21 cd '$(1)' && ./configure \ |
22 --host='$(TARGET)' \ | |
23 --disable-shared \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ | |
26 --disable-sdltest \ | |
27 PKG_CONFIG='$(TARGET)-pkg-config' | |
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
29 endef |