Mercurial > mxe-octave
view src/dbus.mk @ 2255:1b2a0256b29c
update package dbus
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sat, 25 Feb 2012 15:54:48 +0100 |
parents | f11367e37e86 |
children | f653602a0500 |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # dbus PKG := dbus $(PKG)_IGNORE := $(PKG)_VERSION := 1.5.10 $(PKG)_CHECKSUM := d50f1624197a6f8f14cc8ff1943db7c99ce14cde $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://$(PKG).freedesktop.org/ $(PKG)_URL := http://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc expat define $(PKG)_UPDATE wget -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \ $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ grep -v '^1\.[01234]\.' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --with-xml=expat \ --disable-tests \ --disable-verbose-mode \ --disable-asserts \ --disable-shared \ --enable-static \ --disable-silent-rules $(MAKE) -C '$(1)' -j '$(JOBS)' install endef