[Packages] devio:
[openwrt/svn-archive/archive.git] / utils / devio / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=devio
12 PKG_VERSION:=1.2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/devio
17 PKG_MD5SUM:=5d332c2bffc0791367bcf3368ba1a0d1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/devio
22 SUBMENU:=disc
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=correctly read (or write) a region of a block device
26 URL:=http://sourceforge.net/projects/devio/
27 endef
28
29 define Package/devio/description
30 A command line program to correctly read (or write) a region of a block device.
31 Primary use is for extracting formatted data from MTD partitions.
32 endef
33
34 define Package/devio/install
35 $(INSTALL_DIR) $(1)/usr/sbin
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/devio $(1)/usr/sbin
37 endef
38
39 $(eval $(call BuildPackage,devio))