Makefile 905 B

1234567891011121314151617181920212223242526272829
  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:= utils
  10. PKG_URL:= http://gkernel.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=gkernel/}
  12. 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,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. $(INSTALL_DIR) $(IDIR_RNG_TOOLS)/usr/sbin
  20. $(INSTALL_BIN) $(WRKINST)/usr/sbin/rngd $(IDIR_RNG_TOOLS)/usr/sbin
  21. include ${TOPDIR}/mk/pkg-bottom.mk