[package] update nano to 2.2.1 (#6357)
[packages.git] / utils / mtd-utils / Makefile
1
2 # Copyright (C) 2009 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:=mtd-utils
11 PKG_VERSION:=20090227
12 PKG_RELEASE:=1
13 PKG_INSTALL:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=git://git.infradead.org/mtd-utils.git
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_VERSION:=a2d010f8fca904fffa3c6e5a5d148cc96a37a08a
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/mtd-utils
24   SECTION:=utils
25   CATEGORY:=Utilities
26   TITLE:=Utilities for flash info/debug
27   URL:=http://www.linux-mtd.infradead.org/
28   DEPENDS:=+zlib +liblzo +libuuid
29 endef
30
31 define Package/mtd-utils/description
32   Utilities for manipulating memory technology devices.
33 endef
34
35 MAKE_FLAGS += \
36         DESTDIR="$(PKG_INSTALL_DIR)" \
37         BUILDDIR="$(PKG_BUILD_DIR)" \
38         WITHOUT_XATTR=1
39
40 define Package/mtd-utils/install
41         $(INSTALL_DIR) $(1)/usr/sbin
42         $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,mtd-utils))