tools/mm-macros: update to 0.9.8
[openwrt/openwrt.git] / tools / mm-macros / Makefile
1 #
2 # Copyright (C) 2010-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mm-macros
11 PKG_VERSION:=0.9.8
12
13 PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/mm-common/0.9 \
14 http://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/sources/mm-common/0.9/
15 PKG_SOURCE:=mm-common-$(PKG_VERSION).tar.xz
16 PKG_MD5SUM:=00fd5c6850cd5fecc2e02b04d0dd1637
17
18 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mm-common-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 define Host/Install
23 $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
24 $(INSTALL_DATA) $(HOST_BUILD_DIR)/macros/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
25 endef
26
27 define Host/Clean
28 -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
29 $(call Host/Clean/Default)
30 endef
31
32 $(eval $(call HostBuild))