The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mkpasswd / mkpasswd.mk
1 ################################################################################
2 #
3 # mkpasswd
4 #
5 ################################################################################
6
7 # source included in buildroot, taken from
8 # https://github.com/rfc1036/whois/blob/master/
9 # at revision 5a0f08500fa51608b6d3b73ee338be38c692eadb
10 HOST_MKPASSWD_SOURCE =
11 HOST_MKPASSWD_LICENSE = GPLv2+
12
13 HOST_MKPASSWD_VERSION = buildroot-$(BR2_VERSION)
14
15 define HOST_MKPASSWD_BUILD_CMDS
16         $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
17                 package/mkpasswd/mkpasswd.c package/mkpasswd/utils.c \
18                 -o $(@D)/mkpasswd -lcrypt
19 endef
20
21 define HOST_MKPASSWD_INSTALL_CMDS
22         $(INSTALL) -D -m 755 $(@D)/mkpasswd $(HOST_DIR)/usr/bin/mkpasswd
23 endef
24
25 $(eval $(host-generic-package))
26
27 MKPASSWD = $(HOST_DIR)/usr/bin/mkpasswd