[packages] utils: add crypto-tools
[openwrt/svn-archive/archive.git] / utils / crypto-tools / Makefile
1 #
2 # Copyright (C) 2008 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:=20080917
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/ocf-linux
16 PKG_MD5SUM:=d20377afefa707fe528b161c2174e874
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19 PKG_BUILD_DEPENDS:=libopenssl
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 endef
29
30 define Build/Configure
31 endef
32
33 define Package/crypto-tools/install
34 $(INSTALL_DIR) $(1)/usr/bin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cryptotest $(1)/usr/bin/
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cryptokeytest $(1)/usr/bin/
37 endef
38
39 $(eval $(call BuildPackage,crypto-tools))