annotate src/fribidi.mk @ 2333:f653602a0500

Rebrand to new project name MXE
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 28 Mar 2012 15:46:58 +0200
parents 9e587ca588dc
children f48c5b085a38
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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.
812
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # FriBidi
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := fribidi
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 0.19.2
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 3889469d96dbca3d8522231672e14cca77de4d5e
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 813
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
812
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://fribidi.org/
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://fribidi.org/download/$($(PKG)_FILE)
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc glib
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://fribidi.org/download/?C=M;O=D' | \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*<a href="fribidi-\([0-9][^"]*\)\.tar.*,\1,p' | \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
813
46b1eb76c87d bugfixes for package fribidi
Volker Grabsch <vog@notjusthosting.com>
parents: 812
diff changeset
22 $(SED) -i 's,__declspec(dllimport),,' '$(1)/lib/fribidi-common.h'
812
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-debug \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-deprecated \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --enable-charsets \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --with-glib
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= dist_man_MANS=
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 endef