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.
7 include $(TOPDIR)/rules.mk
12 PKG_SOURCE:=util-macros-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://cgit.freedesktop.org/xorg/util/macros/snapshot/
14 PKG_MD5SUM:=2bb2645cfc2cc6768dd46f9406cab1d7
16 HOST_BUILD_DIR:=$(BUILD_DIR)/util-macros-$(PKG_VERSION)
18 include $(INCLUDE_DIR)/host-build.mk
21 ( cd $(HOST_BUILD_DIR); ./autogen.sh )
25 $(INSTALL_DIR) $(STAGING_DIR)/host/share/aclocal
26 $(INSTALL_DATA) $(HOST_BUILD_DIR)/xorg-macros.m4 $(STAGING_DIR)/host/share/aclocal/
30 -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
31 $(call Host/Clean/Default)
34 $(eval $(call HostBuild))