annotate src/zenity.mk @ 3178:a791ade9c790

add zenity module (and MSVC-specific patch)
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 25 Jul 2013 20:03:53 -0400
parents
children 13be64f9f16d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3178
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
1 # This file is part of MXE.
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
2 # See index.html for further information.
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
3
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
4 PKG := zenity
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
6 $(PKG)_CHECKSUM := af083691820970ef1e79590df35ea5c59a7491f3
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := zenity-$($(PKG)_VERSION)
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
8 $(PKG)_FILE := zenity-$($(PKG)_VERSION).tar.xz
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/zenity/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
10 $(PKG)_DEPS := gtk3 libxml2 itstool
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
11
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
13 $(WGET) -q -O- 'http://git.gnome.org/browse/zenity/refs/tags' | \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
14 grep '<a href=' | \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
15 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
16 grep -v '^3\.9' | \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
17 grep '^3\.' | \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
18 head -1
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
19 endef
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
20
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
21 define $(PKG)_BUILD
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
24 --prefix='$(HOST_PREFIX)' \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
25 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
26 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
27 && $(CONFIGURE_POST_HOOK)
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS=
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS=
a791ade9c790 add zenity module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
30 endef