packages: add md5deep, a program to compute, match, and audit hashsets (closes: ...
[openwrt/svn-archive/archive.git] / utils / md5deep / Makefile
1 #
2 # Copyright (C) 2011 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:=md5deep
11 PKG_VERSION:=3.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=d103b738721c54a9bf535470b63d49dc
17
18 PKG_FIXUP:=autoreconf
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/md5deep
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=A program to compute, match and audit hashsets
27 URL:=http://md5deep.sourceforge.net/
28 endef
29
30 define Package/md5deep/description
31 md5deep is a set of programs to compute MD5, SHA-1, SHA-256, Tiger, or
32 Whirlpool message digests on an arbitrary number of files.
33 endef
34
35 define Package/md5deep/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(CP) $(PKG_INSTALL_DIR)/usr/bin/{hash,md5,sha1,sha256,tiger,whirlpool}deep $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,md5deep))