2012-06-04 22:32:15 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# nanocom
|
|
|
|
#
|
|
|
|
#############################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-06-04 22:32:15 +02:00
|
|
|
NANOCOM_VERSION = 2.6.1
|
|
|
|
NANOCOM_SOURCE = nanocom.tar.gz
|
2012-08-26 01:52:48 +02:00
|
|
|
NANOCOM_SITE = http://downloads.sourceforge.net/project/nanocom/nanocom/v1.0
|
2012-08-02 09:09:12 +02:00
|
|
|
NANOCOM_LICENSE = GPLv2+
|
|
|
|
NANOCOM_LICENSE_FILES = COPYING
|
2012-06-04 22:32:15 +02:00
|
|
|
|
|
|
|
# N.B. Don't strip any path components during extraction.
|
|
|
|
define NANOCOM_EXTRACT_CMDS
|
|
|
|
gzip -d -c $(DL_DIR)/$(NANOCOM_SOURCE) | tar --strip-components=0 -C $(NANOCOM_DIR) -xf -
|
|
|
|
endef
|
|
|
|
|
|
|
|
define NANOCOM_BUILD_CMDS
|
2012-06-29 16:30:15 +02:00
|
|
|
$(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)
|
2012-06-04 22:32:15 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define NANOCOM_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/nanocom $(TARGET_DIR)/usr/bin/nanocom
|
|
|
|
endef
|
|
|
|
|
|
|
|
define NANOCOM_UNINSTALL_TARGET_CMDS
|
|
|
|
$(RM) $(TARGET_DIR)/usr/bin/nanocom
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|