2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-source.
tar.gz
16 PKG_SOURCE_URL
:=http
://home.comcast.net
/~SCSIguy
/SCSI_FAQ
/RMiller_Tools
/ftp
/$(PKG_NAME
)/
17 PKG_MD5SUM
:=5776233a2d301a50b314306538257a45
20 zcat
$(DL_DIR
)/$(PKG_SOURCE
) | \
21 $(TAR
) -C
$(PKG_BUILD_DIR
) --strip-components
2 $(TAR_OPTIONS
);
23 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=A generic data
test program
29 URL
:=http
://www.scsifaq.org
/RMiller_Tools
/index.html
33 define Package
/dt
/description
34 dt is a generic data
test program used to verify proper operation of peripherals
,
35 file systems
, device drivers
, or any data stream supported by the operating system.
36 In its
' simplest mode of operation, dt writes and then verifys its' default data pattern
,
37 then displays performance statisics and other
test parameters before exiting.
38 Since verification of data is performed
, dt can be thought of
as a generic diagnostic tool.
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) -f Makefile.linux \
44 CFLAGS
="$(TARGET_CFLAGS) -DFIFO -DMMAP -DTTY -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \
48 define Package
/dt
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dt
$(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,dt
))