Mercurial > mxe-octave
annotate src/fribidi.mk @ 2709:39355c49f6bc
update package fribidi
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 30 Aug 2012 11:34:32 +0200 |
parents | 848bc901b232 |
children | 47558e958113 |
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. |
812 | 3 |
4 PKG := fribidi | |
5 $(PKG)_IGNORE := | |
2709 | 6 $(PKG)_CHECKSUM := 23d1adf1e929a3fb159345d509918ad109e925ad |
812 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2709 | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
812 | 9 $(PKG)_URL := http://fribidi.org/download/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc glib | |
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://fribidi.org/download/?C=M;O=D' | \ |
812 | 14 $(SED) -n 's,.*<a href="fribidi-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
15 head -1 | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
813
46b1eb76c87d
bugfixes for package fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
812
diff
changeset
|
19 $(SED) -i 's,__declspec(dllimport),,' '$(1)/lib/fribidi-common.h' |
812 | 20 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | |
2663
848bc901b232
package fribidi: compatibility with new glib
Mark Brand <mabrand@mabrand.nl>
parents:
2525
diff
changeset
|
22 --build="`config.guess`" \ |
812 | 23 --disable-shared \ |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --disable-debug \ | |
26 --disable-deprecated \ | |
27 --enable-charsets \ | |
28 --with-glib | |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= dist_man_MANS= | |
30 endef |