summaryrefslogtreecommitdiff
path: root/package/x11r7/mcookie/mcookie.mk
blob: b7191a7730362b168f830fda9c2d27d4812c13c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# mcookie
#
#############################################################

# Source included in Buildroot
MCOOKIE_SOURCE =

define MCOOKIE_EXTRACT_CMDS
	cp package/x11r7/mcookie/mcookie.c $(@D)/
endef

define MCOOKIE_BUILD_CMDS
	(cd $(@D); $(TARGET_CC) -Wall -Os -s mcookie.c -o mcookie)
endef

define MCOOKIE_INSTALL_TARGET_CMDS
	install -m 0755 -D $(@D)/mcookie $(TARGET_DIR)/usr/bin/mcookie
endef

$(eval $(generic-package))