Mercurial > mxe-octave
annotate src/libass.mk @ 2855:47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Nov 2012 16:11:45 -0500 |
parents | 05e2ba2637c1 |
children | 100e618349f7 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2005
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. |
1723 | 3 |
4 PKG := libass | |
5 $(PKG)_IGNORE := | |
2827 | 6 $(PKG)_CHECKSUM := 6ebc6c4762c95c5abb96db33289b81780a4fbda6 |
1723 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1880
94df9b4e71ae
upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz
Mark Brand <mabrand@mabrand.nl>
parents:
1728
diff
changeset
|
8 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.xz |
1723 | 9 $(PKG)_URL := http://libass.googlecode.com/files/$($(PKG)_FILE) |
2005
e7a3e0bb410a
added missing dependency to package libass
Mark Brand <mabrand@mabrand.nl>
parents:
2003
diff
changeset
|
10 $(PKG)_DEPS := gcc freetype fontconfig fribidi |
1723 | 11 |
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://code.google.com/p/libass/downloads/list?sort=-uploaded' | \ |
1727
94cfb780a095
bugfix for update recognition of package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1725
diff
changeset
|
14 $(SED) -n 's,.*libass-\([0-9][^<]*\)\.tar.*,\1,p' | \ |
1723 | 15 head -1 |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
20 --host='$(TARGET)' \ | |
2827 | 21 --build="`config.guess`" \ |
1723 | 22 --prefix='$(PREFIX)/$(TARGET)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2827
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
1725
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
24 --disable-enca \ |
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
25 --enable-fontconfig |
1723 | 26 $(MAKE) -C '$(1)' -j '$(JOBS)' |
27 $(MAKE) -C '$(1)' -j 1 install | |
28 | |
29 '$(TARGET)-gcc' \ | |
30 -W -Wall -Werror -ansi -pedantic \ | |
31 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libass.exe' \ | |
32 `'$(TARGET)-pkg-config' libass --cflags --libs` | |
33 endef |