2008-10-09 00:50:03 +03:00
|
|
|
#
|
2007-12-25 02:27:32 +02: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:=automake
|
2010-12-06 14:11:47 +02:00
|
|
|
PKG_VERSION:=1.11.1
|
2007-12-25 02:27:32 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=@GNU/automake
|
2010-12-06 14:11:47 +02:00
|
|
|
PKG_MD5SUM:=c2972c4d9b3e29c03d5f2af86249876f
|
2007-12-25 02:27:32 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Configure
|
|
|
|
$(call Host/Configure/Default,\
|
2007-12-25 02:27:32 +02:00
|
|
|
--datarootdir=$(STAGING_DIR_HOST)/share \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Compile
|
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)
|
2007-12-25 02:27:32 +02:00
|
|
|
endef
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Install
|
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) install
|
2008-10-09 00:50:03 +03:00
|
|
|
mv $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal.real
|
|
|
|
$(INSTALL_BIN) ./files/aclocal $(STAGING_DIR_HOST)/bin
|
|
|
|
ln -f $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.9
|
2009-11-24 23:17:20 +02:00
|
|
|
ln -f $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.10
|
2007-12-25 02:27:32 +02:00
|
|
|
endef
|
|
|
|
|
2009-02-22 06:37:20 +02:00
|
|
|
define Host/Clean
|
2009-05-08 23:44:47 +03:00
|
|
|
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
2009-02-22 06:37:20 +02:00
|
|
|
$(call Host/Clean/Default)
|
2007-12-25 02:27:32 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|