blob: b50cc98ccab6a26024ef9eeb704b92519daa0555 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# This file is part of MXE.
# See index.html for further information.
PKG := fribidi
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.19.6
$(PKG)_CHECKSUM := 5a6ff82fdee31d27053c39e03223666ac1cb7a6a
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := http://fribidi.org/download/$($(PKG)_FILE)
$(PKG)_DEPS := gcc glib
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://fribidi.org/download/?C=M;O=D' | \
$(SED) -n 's,.*<a href="fribidi-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
$(SED) -i 's,__declspec(dllimport),,' '$(1)/lib/fribidi-common.h'
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-debug \
--disable-deprecated \
--enable-charsets \
--with-glib
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= dist_man_MANS=
endef
|