changeset 1777:71f6faee4918

rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 23 Apr 2011 18:15:09 +0200
parents fbc25f95c2e9
children e2cd7fa6c8c5
files src/gtksourceviewmm.mk src/gtksourceviewmm2.mk
diffstat 2 files changed, 33 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtksourceviewmm.mk	Sat Apr 23 17:18:37 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
-
-# GtkSourceViewmm
-PKG             := gtksourceviewmm
-$(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 2.10.1
-$(PKG)_CHECKSUM := 7f6fb046427054d85c791a4b1fc0f742a3313c8a
-$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE  := http://projects.gnome.org/gtksourceviewmm/
-$(PKG)_URL      := http://ftp.gnome.org/pub/gnome/sources/gtksourceviewmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
-$(PKG)_DEPS     := gcc gtkmm2 gtksourceview
-
-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
-
-define $(PKG)_BUILD
-    # wine confuses the cross-compiling detection, so set it explicitly
-    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
-    cd '$(1)' && ./configure \
-        --host='$(TARGET)' \
-        --prefix='$(PREFIX)/$(TARGET)' \
-        --disable-shared \
-        MAKE=$(MAKE)
-    $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
-endef
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gtksourceviewmm2.mk	Sat Apr 23 18:15:09 2011 +0200
@@ -0,0 +1,33 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# GtkSourceViewmm
+PKG             := gtksourceviewmm2
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 2.10.1
+$(PKG)_CHECKSUM := 7f6fb046427054d85c791a4b1fc0f742a3313c8a
+$(PKG)_SUBDIR   := gtksourceviewmm-$($(PKG)_VERSION)
+$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.gz
+$(PKG)_WEBSITE  := http://projects.gnome.org/gtksourceviewmm/
+$(PKG)_URL      := http://ftp.gnome.org/pub/gnome/sources/gtksourceviewmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
+$(PKG)_DEPS     := gcc gtkmm2 gtksourceview
+
+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]\.' | \
+    grep '^2\.' | \
+    head -1
+endef
+
+define $(PKG)_BUILD
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
+    cd '$(1)' && ./configure \
+        --host='$(TARGET)' \
+        --prefix='$(PREFIX)/$(TARGET)' \
+        --disable-shared \
+        MAKE=$(MAKE)
+    $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef