tools: prefer gz or bz2 tarballs
[openwrt/staging/stintel.git] / tools / autoconf / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=autoconf
10 PKG_VERSION:=2.71
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=@GNU/autoconf
14 PKG_HASH:=431075ad0bf529ef13cb41e9042c542381103e80015686222b8a9d4abef42a1c
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 HOST_CONFIGURE_VARS += \
19 EMACS="no" \
20 PERL="/usr/bin/env perl"
21
22 define Host/Compile
23 -$(call Host/Compile/Default,--touch install-man1) # disable building of man pages
24 $(call Host/Compile/Default)
25 endef
26
27 define Host/Uninstall
28 -$(call Host/Compile/Default,uninstall)
29 endef
30
31 $(eval $(call HostBuild))