1
0

Makefile 848 B

12345678910111213141516171819202122232425
  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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= rng-tools
  5. PKG_VERSION:= 2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 63d503191eabed630324c104cc024475
  8. PKG_DESCR:= Daemon to use hardware random number generators.
  9. PKG_SECTION:= crypto
  10. PKG_URL:= http://gkernel.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=gkernel/}
  12. PKG_CFLINE_RNG_TOOLS:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,RNG_TOOLS,rng-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. rng-tools-install:
  16. $(INSTALL_DIR) $(IDIR_RNG_TOOLS)/usr/sbin
  17. $(INSTALL_BIN) $(WRKINST)/usr/sbin/rngd $(IDIR_RNG_TOOLS)/usr/sbin
  18. include ${TOPDIR}/mk/pkg-bottom.mk