1 ################################################################################
5 ################################################################################
7 # Source included in Buildroot
9 MCOOKIE_LICENSE = Public Domain
11 define MCOOKIE_EXTRACT_CMDS
12 cp package/x11r7/mcookie/mcookie.c $(@D)/
15 define MCOOKIE_BUILD_CMDS
16 (cd $(@D); $(TARGET_CC) -Wall -Os -s mcookie.c -o mcookie)
19 define MCOOKIE_INSTALL_TARGET_CMDS
20 install -m 0755 -D $(@D)/mcookie $(TARGET_DIR)/usr/bin/mcookie
23 $(eval $(generic-package))