mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-07 22:06:25 +08:00

Changelog: - 4.0.45: https://lists.gnu.org/archive/html/info-gnu/2024-09/msg00010.html - 4.0.46: https://lists.gnu.org/archive/html/info-gnu/2024-11/msg00003.html - 4.0.47: https://lists.gnu.org/archive/html/info-gnu/2025-01/msg00010.html - 4.0.48: https://lists.gnu.org/archive/html/info-gnu/2025-02/msg00008.html - 4.0.49: https://lists.gnu.org/archive/html/info-gnu/2025-06/msg00004.html Link: https://github.com/openwrt/openwrt/pull/19561 Signed-off-by: Nick Hainke <vincent@systemli.org>
40 lines
873 B
Makefile
40 lines
873 B
Makefile
#
|
|
# Copyright (C) 2012-2013 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:=mtools
|
|
PKG_VERSION:=4.0.49
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
|
PKG_HASH:=6fe5193583d6e7c59da75e63d7234f76c0b07caf33b103894f46f66a871ffc9f
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
HOST_CONFIGURE_ARGS += --without-x
|
|
|
|
HOST_CONFIGURE_VARS += \
|
|
ac_cv_header_iconv_h=no
|
|
|
|
define Host/Compile
|
|
$(MAKE) -C $(HOST_BUILD_DIR) mcopy mmd
|
|
endef
|
|
|
|
define Host/Install
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/mcopy $(STAGING_DIR_HOST)/bin/
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/mmd $(STAGING_DIR_HOST)/bin/
|
|
endef
|
|
|
|
define Host/Clean
|
|
rm -f $(STAGING_DIR_HOST)/bin/mcopy
|
|
rm -f $(STAGING_DIR_HOST)/bin/mmd
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|