[packages] crypto-tools: update to v20100325 (#7462)
[openwrt/svn-archive/archive.git] / utils / crypto-tools / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/kernel.mk
9
10 PKG_NAME:=crypto-tools
11 PKG_VERSION:=20100325
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/ocf-linux
16 PKG_MD5SUM:=51e0ef8918a8cf15f78f0631341d826c
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19 PKG_BUILD_DEPENDS:=libopenssl ocf-crypto-headers
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/crypto-tools
24 SECTION:=utils
25 CATEGORY:=Utilities
26 DEPENDS:=+libopenssl
27 TITLE:=OCF-Linux's crypto-tools
28 URL:=http://ocf-linux.sourceforge.net/
29 endef
30
31 define Package/crypto-tools/install
32 $(INSTALL_DIR) $(1)/usr/bin
33 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cryptotest $(1)/usr/bin/
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cryptokeytest $(1)/usr/bin/
35 endef
36
37 $(eval $(call BuildPackage,crypto-tools))