annotate src/atk.mk @ 911:f1d598a04351

avoid beta versions of packages atk and libgsf (by Tony Theodore)
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 26 Apr 2010 17:30:24 +0200
parents 0ed1ba56ce8e
children c346209a12f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 623
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
3
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # ATK
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
5 PKG := atk
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
883
f266c4bf62b0 upgrade packages: atk geos glew glib libpaper pango pcre pixman
Mark Brand <mabrand@mabrand.nl>
parents: 759
diff changeset
7 $(PKG)_VERSION := 1.30.0
f266c4bf62b0 upgrade packages: atk geos glew glib libpaper pango pcre pixman
Mark Brand <mabrand@mabrand.nl>
parents: 759
diff changeset
8 $(PKG)_CHECKSUM := ca9380e956e37275cb0cb72805d20306686fb885
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
9 $(PKG)_SUBDIR := atk-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
10 $(PKG)_FILE := atk-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
11 $(PKG)_WEBSITE := http://www.gtk.org/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/atk/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
13 $(PKG)_DEPS := gcc glib gettext
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
891
0ed1ba56ce8e improved version recognition of packages atk, glib, gtk, libxml2, libxslt and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 883
diff changeset
16 wget -q -O- 'http://git.gnome.org/browse/atk/refs/tags' | \
499
abc655cb4694 improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
17 grep '<a href=' | \
911
f1d598a04351 avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 891
diff changeset
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=ATK_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
499
abc655cb4694 improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
19 $(SED) 's,_,.,g' | \
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
24 $(SED) -i 's,DllMain,static _disabled_DllMain,' '$(1)/atk/atkobject.c'
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 cd '$(1)' && ./configure \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --host='$(TARGET)' \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-shared \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --prefix='$(PREFIX)/$(TARGET)' \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-glibtest \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --disable-gtk-doc
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 endef