1# 
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=autoconf
10PKG_VERSION:=2.68
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13PKG_SOURCE_URL:=@GNU/autoconf
14PKG_MD5SUM:=864d785215aa60d627c91fcb21b05b07
15
16include $(INCLUDE_DIR)/host-build.mk
17
18define Host/Configure
19	$(call Host/Configure/Default,\
20		--datarootdir=$(STAGING_DIR_HOST)/share \
21	)
22endef
23
24define Host/Compile
25	export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
26endef
27
28define Host/Install
29	export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
30endef
31
32define Host/Clean
33	-export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
34	$(call Host/Clean/Default)
35endef
36
37$(eval $(call HostBuild))
38