Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= raddump
  5. PKG_VERSION:= 0.3.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f2d5c80164a5064d25e112f3ead9952d86200b022da584bddbc4afea948cb970
  8. PKG_DESCR:= interprets captured radius packets
  9. PKG_SECTION:= net/radius
  10. PKG_DEPENDS:= libpcap
  11. PKG_BUILDDEP:= libpcap
  12. PKG_URL:= http://sourceforge.net/projects/raddump
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=raddump/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_CHOICES_RADDUMP:= WITH_LIBRESSL WITH_OPENSSL
  16. PKGCD_WITH_LIBRESSL:= use libressl for crypto
  17. PKGCB_WITH_LIBRESSL:= libressl
  18. PKGCS_WITH_LIBRESSL:= libressl
  19. PKGCD_WITH_OPENSSL:= use openssl for crypto
  20. PKGCB_WITH_OPENSSL:= openssl
  21. PKGCS_WITH_OPENSSL:= libopenssl
  22. include ${ADK_TOPDIR}/mk/package.mk
  23. $(eval $(call PKG_template,RADDUMP,raddump,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  24. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
  25. raddump-install:
  26. ${INSTALL_DIR} ${IDIR_RADDUMP}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/raddump ${IDIR_RADDUMP}/usr/bin
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk