Mercurial > mxe-octave
changeset 1019:43e934a84821
new package: libgee (by Matias De la Puente)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 31 May 2010 11:49:58 +0000 |
parents | cd266012d558 |
children | 38bd5aef58a0 |
files | src/libgee.mk |
diffstat | 1 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libgee.mk Mon May 31 11:49:58 2010 +0000 @@ -0,0 +1,30 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# libgee +PKG := libgee +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.5.0 +$(PKG)_CHECKSUM := 78d7fbd0668d01bc23e9772211b4885ae7e479cd +$(PKG)_SUBDIR := libgee-$($(PKG)_VERSION) +$(PKG)_FILE := libgee-$($(PKG)_VERSION).tar.bz2 +$(PKG)_WEBSITE := http://live.gnome.org/Libgee +$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgee/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) +$(PKG)_DEPS := gcc glib + +define $(PKG)_UPDATE + wget -q -O- 'http://git.gnome.org/browse/libgee/refs/tags' | \ + grep '<a href=' | \ + $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGEE_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \ + $(SED) 's,_,.,g' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef