kumquat-buildroot/package/nuttcp/nuttcp.mk
Arnout Vandecappelle (Essensium/Mind) e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00

26 lines
604 B
Makefile

#############################################################
#
# nuttcp
#
#############################################################
NUTTCP_VERSION = 6.1.2
NUTTCP_SITE = http://www.lcp.nrl.navy.mil/nuttcp/
NUTTCP_SOURCE = nuttcp-$(NUTTCP_VERSION).tar.bz2
define NUTTCP_BUILD_CMDS
$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
-C $(@D) all
endef
define NUTTCP_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/nuttcp-$(NUTTCP_VERSION) \
$(TARGET_DIR)/usr/bin/nuttcp
endef
define NUTTCP_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/nuttcp
endef
$(eval $(generic-package))