[backfire] tools: merge r29293 (use host build_dir instead of target build_dir)
[openwrt-10.03/.git] / tools / xfce-macros / Makefile
1 #
2 # Copyright (C) 2011 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:=xfce-macros
11 PKG_VERSION:=4.8.0
12
13 PKG_SOURCE_URL:=http://archive.xfce.org/xfce/4.8/src
14 PKG_SOURCE:=xfce4-dev-tools-$(PKG_VERSION).tar.bz2
15 PKG_MD5SUM:=9591299c49d92d00ba47974c42a735fa
16
17 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/xfce4-dev-tools-$(PKG_VERSION)
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Host/Configure
22 endef
23
24 define Host/Compile
25 endef
26
27 define Host/Install
28         $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
29         $(INSTALL_DATA) $(HOST_BUILD_DIR)/m4macros/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
30 endef
31
32 $(eval $(call HostBuild))