2008-11-18 20:57:34 +00:00
|
|
|
#
|
2010-07-04 21:19:24 +00:00
|
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
2008-11-18 20:57:34 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=crypto-tools
|
2010-07-04 21:19:24 +00:00
|
|
|
PKG_VERSION:=20100325
|
2008-11-18 20:57:34 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/ocf-linux
|
2010-07-04 21:19:24 +00:00
|
|
|
PKG_MD5SUM:=51e0ef8918a8cf15f78f0631341d826c
|
2008-11-18 20:57:34 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
2008-12-09 00:26:38 +00:00
|
|
|
PKG_BUILD_DEPENDS:=libopenssl ocf-crypto-headers
|
2008-11-18 20:57:34 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/crypto-tools
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libopenssl
|
|
|
|
TITLE:=OCF-Linux's crypto-tools
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://ocf-linux.sourceforge.net/
|
2008-11-18 20:57:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/crypto-tools/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cryptotest $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cryptokeytest $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,crypto-tools))
|