2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:36:12 +01:00
|
|
|
#
|
|
|
|
# mcookie
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:36:12 +01:00
|
|
|
|
2011-09-29 21:57:50 +02:00
|
|
|
# Source included in Buildroot
|
|
|
|
MCOOKIE_SOURCE =
|
2013-05-09 07:51:02 +02:00
|
|
|
MCOOKIE_LICENSE = Public Domain
|
2008-03-06 19:36:12 +01:00
|
|
|
|
2011-09-29 21:57:50 +02:00
|
|
|
define MCOOKIE_EXTRACT_CMDS
|
|
|
|
cp package/x11r7/mcookie/mcookie.c $(@D)/
|
|
|
|
endef
|
2008-03-06 19:36:12 +01:00
|
|
|
|
2011-09-29 21:57:50 +02:00
|
|
|
define MCOOKIE_BUILD_CMDS
|
|
|
|
(cd $(@D); $(TARGET_CC) -Wall -Os -s mcookie.c -o mcookie)
|
|
|
|
endef
|
2008-03-06 19:36:12 +01:00
|
|
|
|
2011-09-29 21:57:50 +02:00
|
|
|
define MCOOKIE_INSTALL_TARGET_CMDS
|
|
|
|
install -m 0755 -D $(@D)/mcookie $(TARGET_DIR)/usr/bin/mcookie
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|