Branch oldpackages for 14.07
[14.07/packages.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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=devio
11 PKG_VERSION:=1.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/devio
16 PKG_MD5SUM:=5d332c2bffc0791367bcf3368ba1a0d1
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/devio
21   SUBMENU:=disc
22   SECTION:=utils
23   CATEGORY:=Utilities
24   TITLE:=correctly read (or write) a region of a block device
25   URL:=http://sourceforge.net/projects/devio/
26 endef
27
28 define Package/devio/description
29         A command line program to correctly read (or write) a region of a block device.
30         Primary use is for extracting formatted data from MTD partitions.
31 endef
32
33 define Package/devio/install
34         $(INSTALL_DIR) $(1)/usr/sbin
35         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/devio $(1)/usr/sbin
36 endef
37
38 $(eval $(call BuildPackage,devio))