source: trunk/tools/xorg-macros/Makefile @ 29293

Last change on this file since 29293 was 29293, checked in by nico, 5 years ago

tools: use host build_dir instead of target build_dir

File size: 768 bytes
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xorg-macros
11PKG_VERSION:=1.11.0
12
13PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/util/
14PKG_SOURCE:=util-macros-$(PKG_VERSION).tar.bz2
15PKG_MD5SUM:=22d5cdff672450cb6902e0d68c200dcb
16
17HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/util-macros-$(PKG_VERSION)
18
19include $(INCLUDE_DIR)/host-build.mk
20
21define Host/Install
22        $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
23        $(INSTALL_DATA) $(HOST_BUILD_DIR)/xorg-macros.m4 $(STAGING_DIR_HOST)/share/aclocal/
24endef
25
26define Host/Clean
27        -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
28        $(call Host/Clean/Default)
29endef
30
31$(eval $(call HostBuild))
Note: See TracBrowser for help on using the repository browser.