kumquat-buildroot/package/x11r7/mcookie/mcookie.mk
Thomas Petazzoni d0cc879293 mcookie: remove SOURCE variable
Now that the package infrastructure doesn't attempt to download a package
that has an empty version string, there's no need to define the SOURCE
variable in the mcookie package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-03 12:58:51 +02:00

22 lines
514 B
Makefile

################################################################################
#
# mcookie
#
################################################################################
MCOOKIE_LICENSE = Public Domain
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))