tools/mm-macros: Update to 1.0.0
[openwrt/staging/chunkeey.git] / tools / mm-macros / Makefile
1 #
2 # Copyright (C) 2010-2016 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:=1.0.0
12
13 PKG_SOURCE_URL:=@GNOME/mm-common/1.0
14 PKG_SOURCE:=mm-common-$(PKG_VERSION).tar.xz
15 PKG_HASH:=b97d9b041e5952486cab620b44ab09f6013a478f43b6699ae899b8a4da189cd4
16
17 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mm-common-$(PKG_VERSION)
18
19 HOST_FIXUP:=autoreconf
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 define Host/Install
24 $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
25 $(INSTALL_DATA) $(HOST_BUILD_DIR)/macros/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
26 endef
27
28 define Host/Clean
29 -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
30 $(call Host/Clean/Default)
31 endef
32
33 $(eval $(call HostBuild))