mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 16:23:25 +08:00
8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
34 lines
817 B
Makefile
34 lines
817 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))
|