Makefile 873 B

123456789101112131415161718192021222324252627
  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:= rng-tools
  5. PKG_VERSION:= 4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ae89dbfcf08bdfbea19066cfbf599127
  8. PKG_DESCR:= daemon to use hardware random number generators
  9. PKG_SECTION:= app/crypto
  10. PKG_URL:= http://gkernel.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=gkernel/}
  12. # argp.h required
  13. PKG_LIBC_DEPENDS:= glibc
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,RNG_TOOLS,rng-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. rng-tools-install:
  18. $(INSTALL_DIR) $(IDIR_RNG_TOOLS)/usr/sbin
  19. $(INSTALL_BIN) $(WRKINST)/usr/sbin/rngd $(IDIR_RNG_TOOLS)/usr/sbin
  20. include ${ADK_TOPDIR}/mk/pkg-bottom.mk