mksh: new package
[buildroot-gz.git] / package / mksh / mksh.mk
blob248b43f1916ab195a7cc7563dc966a0c1ffe5811
1 ################################################################################
3 # mksh
5 ################################################################################
7 MKSH_VERSION = R53a
8 MKSH_SOURCE = mksh-$(MKSH_VERSION).tgz
9 MKSH_SITE = https://www.mirbsd.org/MirOS/dist/mir/mksh
10 # For MirOS License see https://www.mirbsd.org/TaC-mksh.txt
11 MKSH_LICENSE = MirOS, ISC
12 MKSH_LICENSE_FILES = mksh.1
14 define MKSH_BUILD_CMDS
15 cd $(@D) && $(TARGET_MAKE_ENV) \
16 TARGET_OS=Linux $(TARGET_CONFIGURE_OPTS) \
17 sh ./Build.sh
18 endef
20 define MKSH_INSTALL_TARGET_CMDS
21 $(INSTALL) -m 0755 -D $(@D)/mksh $(TARGET_DIR)/bin/mksh
22 endef
24 $(eval $(generic-package))