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
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.
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
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 PKG := fribidi
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
2709
39355c49f6bc update package fribidi
Mark Brand <mabrand@mabrand.nl>
parents: 2663
diff changeset
6 $(PKG)_CHECKSUM := 23d1adf1e929a3fb159345d509918ad109e925ad
812
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2709
39355c49f6bc update package fribidi
Mark Brand <mabrand@mabrand.nl>
parents: 2663
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
812
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://fribidi.org/download/$($(PKG)_FILE)
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc glib
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*<a href="fribidi-\([0-9][^"]*\)\.tar.*,\1,p' | \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-debug \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-deprecated \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --enable-charsets \
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --with-glib
cc5accf80b3b new package: fribidi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(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
30 endef