comparison src/gtksourceview.mk @ 1229:e8400e05db49

update gtksourceview and ignore development versions
author Tony Theodore <tonyt@logyst.com>
date Thu, 30 Sep 2010 20:32:40 +1000
parents f485e93f9b65
children a7a7ac4d979d
comparison
equal deleted inserted replaced
1228:f485e93f9b65 1229:e8400e05db49
2 # See doc/index.html for further information. 2 # See doc/index.html for further information.
3 3
4 # GTKSourceView 4 # GTKSourceView
5 PKG := gtksourceview 5 PKG := gtksourceview
6 $(PKG)_IGNORE := 6 $(PKG)_IGNORE :=
7 $(PKG)_VERSION := 2.10.3 7 $(PKG)_VERSION := 2.10.5
8 $(PKG)_CHECKSUM := 318a495315b1b6e67d7a5ef2ea68060cb68b511a 8 $(PKG)_CHECKSUM := 5081dc7a081954d0af73852c22e874a746bda30e
9 $(PKG)_SUBDIR := gtksourceview-$($(PKG)_VERSION) 9 $(PKG)_SUBDIR := gtksourceview-$($(PKG)_VERSION)
10 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2 10 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2
11 $(PKG)_WEBSITE := http://projects.gnome.org/gtksourceview/ 11 $(PKG)_WEBSITE := http://projects.gnome.org/gtksourceview/
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) 12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
13 $(PKG)_DEPS := gcc gtk libxml2 13 $(PKG)_DEPS := gcc gtk libxml2
15 define $(PKG)_UPDATE 15 define $(PKG)_UPDATE
16 wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \ 16 wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \
17 grep '<a href=' | \ 17 grep '<a href=' | \
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=GTKSOURCEVIEW_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \ 18 $(SED) -n "s,.*<a href='[^']*/tag/?id=GTKSOURCEVIEW_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
19 $(SED) 's,_,.,g' | \ 19 $(SED) 's,_,.,g' | \
20 grep -v '^2\.9' | \
20 head -1 21 head -1
21 endef 22 endef
22 23
23 define $(PKG)_BUILD 24 define $(PKG)_BUILD
24 cd '$(1)' && ./configure \ 25 cd '$(1)' && ./configure \