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.

48 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2017 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=crconf
  8. PKG_RELEASE:=1
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://git.code.sf.net/p/crconf/code
  11. PKG_SOURCE_DATE:=2018-03-02
  12. PKG_SOURCE_VERSION:=8bd996400d087028ba56b724abc1f5b378eaa77f
  13. PKG_MIRROR_HASH:=454307cb40a8743b53933cbdd4d9367996ffcf1bd2946413d2862cf050df3bca
  14. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  15. PKG_LICENSE:=GPL-2.0-only
  16. PKG_INSTALL:=1
  17. PKG_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/crconf
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=Linux crypto layer configuraton tool
  23. URL:=https://sourceforge.net/projects/crconf
  24. endef
  25. define Package/crconf/description
  26. Linux crypto layer configuraton tool.
  27. Use this to manipulate kernel Crypto API/framework stuff,
  28. like drivers, templates, etc.
  29. Example: https://wiki.strongswan.org/projects/strongswan/wiki/Pcrypt
  30. Most interesting stuff you can find on https://wiki.strongswan.org
  31. endef
  32. MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -I../include"
  33. define Package/crconf/install
  34. $(INSTALL_DIR) $(1)/sbin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/crconf $(1)/sbin
  36. endef
  37. $(eval $(call BuildPackage,crconf))