removed some unnecessary tools; added swap support to kernel
[openwrt_grafs.git] / tools / mm-macros / Makefile
blob60dcde632861de4fa3779403d78fc06846b091cd
2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=mm-macros
11 PKG_VERSION:=0.9.2
13 PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/mm-common/0.9
14 PKG_SOURCE:=mm-common-$(PKG_VERSION).tar.bz2
15 PKG_MD5SUM:=8cdc5620bd864d1a17e353398e8ec1ab
17 HOST_BUILD_DIR:=$(BUILD_DIR)/mm-common-$(PKG_VERSION)
19 include $(INCLUDE_DIR)/host-build.mk
21 define Host/Install
22 $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
23 $(INSTALL_DATA) $(HOST_BUILD_DIR)/macros/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
24 endef
26 define Host/Clean
27 -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
28 $(call Host/Clean/Default)
29 endef
31 $(eval $(call HostBuild))