2008-08-27 23:18:53 +03:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=autoconf
|
2011-02-26 22:13:15 +02:00
|
|
|
PKG_VERSION:=2.68
|
2008-08-27 23:18:53 +03:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=@GNU/autoconf
|
2011-02-26 22:13:15 +02:00
|
|
|
PKG_MD5SUM:=864d785215aa60d627c91fcb21b05b07
|
2008-08-27 23:18:53 +03:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Configure
|
|
|
|
$(call Host/Configure/Default,\
|
2008-08-27 23:18:53 +03:00
|
|
|
--datarootdir=$(STAGING_DIR_HOST)/share \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Compile
|
|
|
|
export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
|
2008-08-27 23:18:53 +03:00
|
|
|
endef
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Install
|
|
|
|
export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
|
2008-08-27 23:18:53 +03:00
|
|
|
endef
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Clean
|
2009-05-08 23:44:47 +03:00
|
|
|
-export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
2009-02-22 06:37:20 +02:00
|
|
|
$(call Host/Clean/Default)
|
2008-08-27 23:18:53 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|