2 # Copyright (C) 2006 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
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/devio
17 PKG_MD5SUM
:=5d332c2bffc0791367bcf3368ba1a0d1
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=Correctly write to and read from mtd character
(and other block
) devices
28 A command line program to correctly read
(or write
) a region of a block device.
\\\
29 Primary use is for extracting formatted data from MTD partitions.
30 URL
:=http
://sourceforge.net
/projects
/devio
/
33 define Build
/Configure
34 (cd
$(PKG_BUILD_DIR
) ; \
40 $(call Build
/Compile
/Default
, \
41 CFLAGS
="$(EXTRA_CFLAGS)" \
42 LDFLAGS
="$(EXTRA_LDFLAGS)" \
46 define Package
/devio
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/devio
$(1)/usr
/sbin
51 $(eval
$(call BuildPackage
,devio
))