Makefile 1020 B

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