diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-20 11:34:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-20 11:34:47 +0000 |
commit | ee897f54a61cccc2240dc43fa96272819223cd5b (patch) | |
tree | 1aa2ec9cde6e9c463edd0ec3f1971b46c34ecb9b /tools/mm-macros | |
parent | dfe43f6c35dc46038dcc288f8c614c6b7c61e99c (diff) | |
download | master-187ad058-ee897f54a61cccc2240dc43fa96272819223cd5b.tar.gz master-187ad058-ee897f54a61cccc2240dc43fa96272819223cd5b.tar.bz2 master-187ad058-ee897f54a61cccc2240dc43fa96272819223cd5b.zip |
tools: add back and update mm-macros, it is required for libsigc++
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44905 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mm-macros')
-rw-r--r-- | tools/mm-macros/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/mm-macros/Makefile b/tools/mm-macros/Makefile new file mode 100644 index 0000000000..94ce0de6a4 --- /dev/null +++ b/tools/mm-macros/Makefile @@ -0,0 +1,31 @@ +# +# Copyright (C) 2010-2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=mm-macros +PKG_VERSION:=0.9.7 + +PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/mm-common/0.9 +PKG_SOURCE:=mm-common-$(PKG_VERSION).tar.xz +PKG_MD5SUM:=a8b7c11db81a72168bf38d88d97df686 + +HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mm-common-$(PKG_VERSION) + +include $(INCLUDE_DIR)/host-build.mk + +define Host/Install + $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal + $(INSTALL_DATA) $(HOST_BUILD_DIR)/macros/*.m4 $(STAGING_DIR_HOST)/share/aclocal/ +endef + +define Host/Clean + -$(MAKE) -C $(HOST_BUILD_DIR) uninstall + $(call Host/Clean/Default) +endef + +$(eval $(call HostBuild)) |