You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
911 B

  1. #
  2. # Copyright (C) 2009-2014 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. PKG_NAME:=ccrypt
  9. PKG_VERSION:=1.10
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/ccrypt
  13. PKG_MD5SUM:=44ddd763465c254df83f5d38851d04d7
  14. PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
  15. PKG_FIXUP:=autoreconf
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/ccrypt
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=ccrypt is a utility for encrypting and decrypting files and streams
  21. URL:=http://ccrypt.sourceforge.net/
  22. endef
  23. define Package/ccrypt/install
  24. $(INSTALL_DIR) $(1)/usr/bin
  25. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/
  26. ln -s ccrypt $(1)/usr/bin/ccencrypt
  27. ln -s ccrypt $(1)/usr/bin/ccdecrypt
  28. ln -s ccrypt $(1)/usr/bin/ccat
  29. endef
  30. $(eval $(call BuildPackage,ccrypt))