2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13 PKG_SOURCE_URL:=@GNU/automake
14 PKG_MD5SUM:=c11b8100bb311492d8220378fd8bf9e0
16 include $(INCLUDE_DIR)/host-build.mk
19 $(call Host/Configure/Default,\
20 --datarootdir=$(STAGING_DIR_HOST)/share \
25 $(MAKE) -C $(HOST_BUILD_DIR)
29 $(MAKE) -C $(HOST_BUILD_DIR) install
30 mv $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal.real
31 $(INSTALL_BIN) ./files/aclocal $(STAGING_DIR_HOST)/bin
32 ln -f $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.9
36 -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
37 $(call Host/Clean/Default)
40 $(eval $(call HostBuild))