Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= freeradius-client
  5. PKG_VERSION:= 1.1.6
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 478bfb7ec00789af150acf6a231bc9b0731d06353c7fe36a8fd6d4d83e42a07f
  8. PKG_DESCR:= radius client
  9. PKG_SECTION:= net/radius
  10. PKG_DEPENDS:= libopenssl libfreeradius-client
  11. PKG_BUILDDEP:= openssl
  12. PKG_URL:= http://www.freeradius.org/
  13. PKG_SITES:= ftp://ftp.freeradius.org/pub/radius/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_SUBPKGS:= FREERADIUS_CLIENT LIBFREERADIUS_CLIENT
  16. PKGSC_LIBFREERADIUS_CLIENT:= libs/net
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,FREERADIUS_CLIENT,freeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBFREERADIUS_CLIENT,libfreeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBFREERADIUS_CLIENT}))
  20. CONFIGURE_ENV+= ac_cv_func_uname=no
  21. freeradius-client-install:
  22. ${INSTALL_DIR} ${IDIR_FREERADIUS_CLIENT}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radiusclient \
  24. ${IDIR_FREERADIUS_CLIENT}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/rad{login,status} \
  26. ${IDIR_FREERADIUS_CLIENT}/usr/sbin
  27. ${CP} ${WRKINST}/etc ${IDIR_FREERADIUS_CLIENT}/
  28. libfreeradius-client-install:
  29. ${INSTALL_DIR} ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
  30. ${CP} ${WRKINST}/usr/lib/libfreeradius-client.so* \
  31. ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk