summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-11-28 18:04:11 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-11-28 18:04:11 (GMT)
commit3eefa5f812e2fb3d1d8fa0ec1544e66f85feec54 (patch)
treefd9bd19045362b57484c9ab6730f1a4b70f63c08 /src
parent297f37c6e09fe18e21e62d9231dc9b72ad201f43 (diff)
downloadmxe-3eefa5f812e2fb3d1d8fa0ec1544e66f85feec54.zip
mxe-3eefa5f812e2fb3d1d8fa0ec1544e66f85feec54.tar.gz
mxe-3eefa5f812e2fb3d1d8fa0ec1544e66f85feec54.tar.bz2
improved version recognition of packages: gtksourceview gtksourceviewmm
Diffstat (limited to 'src')
-rw-r--r--src/gtksourceview.mk2
-rw-r--r--src/gtksourceviewmm.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gtksourceview.mk b/src/gtksourceview.mk
index ae83eff..d8937f7 100644
--- a/src/gtksourceview.mk
+++ b/src/gtksourceview.mk
@@ -16,7 +16,7 @@ define $(PKG)_UPDATE
wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \
$(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \
$(SED) 's,_,.,g' | \
- grep -v '^2\.9' | \
+ grep -v '^2\.9[0-9]\.' | \
head -1
endef
diff --git a/src/gtksourceviewmm.mk b/src/gtksourceviewmm.mk
index 708bb36..3eb1c34 100644
--- a/src/gtksourceviewmm.mk
+++ b/src/gtksourceviewmm.mk
@@ -16,6 +16,7 @@ define $(PKG)_UPDATE
wget -q -O- 'http://git.gnome.org/cgit/gtksourceviewmm/refs/tags' | \
grep '<a href=' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=gtksourceviewmm-\\([0-9][^']*\\)'.*,\\1,p" | \
+ grep -v '^2\.9[0-9]\.' | \
head -1
endef