Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= freeradius-client
  5. PKG_VERSION:= 1.1.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= edd4d904e802ff66d35532be1475cfa7
  8. PKG_DESCR:= RADIUS client
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libopenssl
  11. PKG_BUILDDEP+= openssl
  12. PKG_URL:= http://www.freeradius.org
  13. PKG_SITES:= ftp://ftp.freeradius.org/pub/radius/ \
  14. http://freeradius.portal-to-web.de/ \
  15. ftp://ftp.uk.freeradius.org/pub/radius/
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,FREERADIUS_CLIENT,freeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBFREERADIUS_CLIENT,libfreeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE:= gnu
  20. CONFIGURE_ENV+= ac_cv_func_uname=no
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_FREERADIUS_CLIENT}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radiusclient \
  26. ${IDIR_FREERADIUS_CLIENT}/usr/sbin
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/rad{login,status} \
  28. ${IDIR_FREERADIUS_CLIENT}/usr/sbin
  29. ${CP} ${WRKINST}/etc ${IDIR_FREERADIUS_CLIENT}/
  30. ${INSTALL_DIR} ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
  31. ${CP} ${WRKINST}/usr/lib/libfreeradius-client.so* \
  32. ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
  33. include ${TOPDIR}/mk/pkg-bottom.mk