tools: add dummy scripts for help2man and makeinfo
[openwrt/svn-archive/archive.git] / tools / mtools / Makefile
1 #
2 # Copyright (C) 2012-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:=mtools
10 PKG_VERSION:=4.0.18
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14 PKG_MD5SUM:=17b9f525c1ae3583a478338deb7fbc19
15 PKG_CAT:=zcat
16
17 HOST_BUILD_PARALLEL:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOST_CONFIGURE_VARS += \
22 ac_cv_header_iconv_h=no
23
24 HOST_LDFLAGS += $(HOST_STATIC_LINKING)
25
26 define Host/Compile
27 $(MAKE) -C $(HOST_BUILD_DIR) mcopy
28 endef
29
30 define Host/Install
31 $(INSTALL_BIN) $(HOST_BUILD_DIR)/mcopy $(STAGING_DIR_HOST)/bin/
32 endef
33
34 define Host/Clean
35 rm -f $(STAGING_DIR_HOST)/bin/mcopy
36 endef
37
38 $(eval $(call HostBuild))