packages/utils/ccrypt/Makefile
matteo ad0e2bc6fb new package ccrypt
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-15 09:34:05 +00:00

36 lines
834 B
Makefile

#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ccrypt
PKG_VERSION:=1.8
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ccrypt
PKG_MD5SUM:=c8be3f35b8dddf3310ca043cd9817620
include $(INCLUDE_DIR)/package.mk
define Package/ccrypt
SECTION:=utils
CATEGORY:=Utilities
TITLE:=ccrypt is a utility for encrypting and decrypting files and streams
URL:=http://ccrypt.sourceforge.net/
endef
define Package/ccrypt/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/
ln -s ccrypt $(1)/usr/bin/ccencrypt
ln -s ccrypt $(1)/usr/bin/ccdecrypt
ln -s ccrypt $(1)/usr/bin/ccat
endef
$(eval $(call BuildPackage,ccrypt))