tools: prefer gz or bz2 tarballs
[openwrt/openwrt.git] / tools / m4 / Makefile
1 #
2 # Copyright (C) 2008-2013 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:=m4
10 PKG_CPE_ID:=cpe:/a:gnu:m4
11 PKG_VERSION:=1.4.19
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
15 PKG_HASH:=3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70
16
17 HOST_BUILD_PARALLEL:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOST_CONFIGURE_VARS += gl_cv_func_strstr_linear=no
22
23 define Host/Uninstall
24 -$(call Host/Compile/Default,uninstall)
25 endef
26
27 $(eval $(call HostBuild))