kumquat-buildroot/package/nanocom/nanocom.mk
Luca Ceresoli 6c0188d7a5 nanocom: use <PKG>_STRIP_COMPONENTS
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-12 00:51:24 +02:00

23 lines
650 B
Makefile

################################################################################
#
# nanocom
#
################################################################################
NANOCOM_VERSION = 1.0
NANOCOM_SOURCE = nanocom.tar.gz
NANOCOM_SITE = http://downloads.sourceforge.net/project/nanocom/nanocom/v$(NANOCOM_VERSION)
NANOCOM_STRIP_COMPONENTS = 0
NANOCOM_LICENSE = GPLv2+
NANOCOM_LICENSE_FILES = COPYING
define NANOCOM_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)
endef
define NANOCOM_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/nanocom $(TARGET_DIR)/usr/bin/nanocom
endef
$(eval $(generic-package))