2008-08-28 04:18:53 +08:00
|
|
|
#
|
2015-03-24 21:12:52 +08:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2008-08-28 04:18:53 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=autoconf
|
2014-10-09 15:16:22 +08:00
|
|
|
PKG_VERSION:=2.69
|
2008-08-28 04:18:53 +08:00
|
|
|
|
2014-10-09 15:16:22 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2008-08-28 04:18:53 +08:00
|
|
|
PKG_SOURCE_URL:=@GNU/autoconf
|
2016-12-17 00:32:10 +08:00
|
|
|
PKG_HASH:=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
|
2008-08-28 04:18:53 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2015-03-24 21:12:52 +08:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--datarootdir=$(STAGING_DIR_HOST)/share
|
|
|
|
|
|
|
|
HOST_CONFIGURE_VARS += \
|
|
|
|
PERL="/usr/bin/env perl"
|
2008-08-28 04:18:53 +08:00
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Compile
|
|
|
|
export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
|
2008-08-28 04:18:53 +08:00
|
|
|
endef
|
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Install
|
|
|
|
export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
|
2008-08-28 04:18:53 +08:00
|
|
|
endef
|
|
|
|
|
2009-02-22 12:37:20 +08:00
|
|
|
define Host/Clean
|
2009-05-09 04:44:47 +08:00
|
|
|
-export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
2009-02-22 12:37:20 +08:00
|
|
|
$(call Host/Clean/Default)
|
2008-08-28 04:18:53 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|