Mercurial > mxe-octave
annotate src/libcroco.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | b5321bdec505 |
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. |
810 | 3 |
4 PKG := libcroco | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 4b0dd540a47f2492b1ac7cd7e3ec63c2ef4c9c2a | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
810
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
810 | 9 $(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/libcroco/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc glib libxml2 | |
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://git.gnome.org/browse/libcroco/refs/tags' | \ |
810 | 14 $(SED) -n 's,.*<a[^>]*>LIBCROCO_\([0-9][0-9_]*\)<.*,\1,p' | \ |
15 $(SED) 's,_,.,g' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
22 --disable-shared \ | |
23 --prefix='$(PREFIX)/$(TARGET)' \ | |
24 --disable-gtk-doc | |
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
26 endef |