1 ################################################################################
5 ################################################################################
7 # source included in buildroot, taken from
8 # https://github.com/rfc1036/whois/blob/master/
9 # at revision 5a0f08500fa51608b6d3b73ee338be38c692eadb
10 HOST_MKPASSWD_LICENSE
= GPLv2
+
12 define HOST_MKPASSWD_BUILD_CMDS
13 $(HOSTCC
) $(HOST_CFLAGS
) $(HOST_LDFLAGS
) \
14 package
/mkpasswd
/mkpasswd.c package
/mkpasswd
/utils.c \
15 -o
$(@D
)/mkpasswd
-lcrypt
18 define HOST_MKPASSWD_INSTALL_CMDS
19 $(INSTALL
) -D
-m
755 $(@D
)/mkpasswd
$(HOST_DIR
)/usr
/bin
/mkpasswd
22 $(eval
$(host-generic-package
))
24 MKPASSWD
= $(HOST_DIR
)/usr
/bin
/mkpasswd