buildrootschalter/package/iostat/iostat.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

34 lines
779 B
Makefile

#############################################################
#
# iostat
#
#############################################################
IOSTAT_VERSION = 2.2
IOSTAT_SITE = http://www.linuxinsight.com/files
IOSTAT_LICENSE = GPL
IOSTAT_LICENSE_FILES = LICENSE
iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE)
define IOSTAT_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define IOSTAT_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
define IOSTAT_INSTALL_TARGET_CMDS
$(INSTALL) -D $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
$(INSTALL) -D $(IOSTAT_DIR)/iostat.8 \
$(TARGET_DIR)/usr/share/man/man8/iostat.8
endef
define IOSTAT_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/iostat
rm -f $(TARGET_DIR)/usr/share/man/man8/iostat.8
endef
$(eval $(generic-package))