################################################################################
#
# blktrace
#
################################################################################

BLKTRACE_VERSION = 1.3.0
BLKTRACE_SOURCE = blktrace-$(BLKTRACE_VERSION).tar.bz2
BLKTRACE_SITE = http://brick.kernel.dk/snaps
BLKTRACE_DEPENDENCIES = libaio
BLKTRACE_LICENSE = GPL-2.0+
BLKTRACE_LICENSE_FILES = COPYING
BLKTRACE_CPE_ID_VALID = YES

define BLKTRACE_BUILD_CMDS
	$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef

define BLKTRACE_INSTALL_TARGET_CMDS
	$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
		DESTDIR=$(TARGET_DIR) prefix=/usr
endef

$(eval $(generic-package))
