buildroot/package/iostat/iostat.mk
Peter Korsgaard 6ad82a3eb4 iostat: ensure binary gets installed with proper permissions
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-01 23:16:45 +01:00

23 lines
557 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_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
endef
$(eval $(generic-package))