Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= easy-rsa
  5. PKG_VERSION:= 3.0.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 3e41c0dfebe04332cdc07f13bf48a69e25dfc31d059e94071a9cfb9f3bba6f9a
  8. PKG_DESCR:= x509 ca scripts
  9. PKG_SECTION:= app/crypto
  10. PKG_DEPENDS:= libressl-util
  11. PKG_URL:= https://github.com/OpenVPN/easy-rsa
  12. PKG_SITES:= https://github.com/OpenVPN/easy-rsa/archive/
  13. PKG_CFLINE_EASY_RSA:= depends on ADK_BROKEN
  14. DISTFILES:= v${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,EASY_RSA,easy-rsa,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. BUILD_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. easy-rsa-install:
  21. ${INSTALL_DIR} $(IDIR_EASY_RSA)/usr/sbin
  22. $(CP) $(WRKBUILD)/easyrsa3/openssl-1.0.cnf \
  23. $(IDIR_EASY_RSA)/usr/sbin
  24. $(CP) $(WRKBUILD)/easyrsa3/easyrsa \
  25. $(IDIR_EASY_RSA)/usr/sbin
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk