kumquat-buildroot/package/lcdapi/lcdapi.mk
Simon Dawson f96a6e2fb8 lcdapi: new package
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-27 23:31:15 +02:00

42 lines
1.1 KiB
Makefile

#############################################################
#
# lcdapi
#
#############################################################
LCDAPI_VERSION = v0.3
LCDAPI_SITE = http://github.com/spdawson/lcdapi/tarball/$(LCDAPI_VERSION)
LCDAPI_LICENSE = LGPLv2.1+
LCDAPI_LICENSE_FILES = COPYING
LCDAPI_INSTALL_STAGING = YES
define LCDAPI_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define LCDAPI_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
DESTDIR="$(STAGING_DIR)" install
endef
define LCDAPI_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
DESTDIR="$(TARGET_DIR)" install
endef
define LCDAPI_UNINSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
DESTDIR="$(STAGING_DIR)" uninstall
endef
define LCDAPI_UNINSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
DESTDIR="$(TARGET_DIR)" uninstall
endef
define LCDAPI_CLEAN_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) clean
endef
$(eval $(generic-package))