diff options
author | Martin Gerhardy <martin.gerhardy@gmail.com> | 2010-09-30 10:38:20 (GMT) |
---|---|---|
committer | Martin Gerhardy <martin.gerhardy@gmail.com> | 2010-09-30 10:38:20 (GMT) |
commit | f4311597c7b67cb368100cdbdc99eb6c44785a2e (patch) | |
tree | 5e2f9d922b62e7c441ae754d9ec1d8e438e3b4d1 /src/gtksourceviewmm.mk | |
parent | 66fb95c82b6570858ee0bd5d4841a626cf4ccad5 (diff) | |
download | mxe-f4311597c7b67cb368100cdbdc99eb6c44785a2e.zip mxe-f4311597c7b67cb368100cdbdc99eb6c44785a2e.tar.gz mxe-f4311597c7b67cb368100cdbdc99eb6c44785a2e.tar.bz2 |
new package gtksourceviewmm
Diffstat (limited to 'src/gtksourceviewmm.mk')
-rw-r--r-- | src/gtksourceviewmm.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gtksourceviewmm.mk b/src/gtksourceviewmm.mk new file mode 100644 index 0000000..328c45f --- /dev/null +++ b/src/gtksourceviewmm.mk @@ -0,0 +1,30 @@ +# 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/gtksourceview/ +$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceviewmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) +$(PKG)_DEPS := gcc 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" | \ + 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) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |