You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=freeradius-client
  9. PKG_VERSION:=1.1.7
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=freeradius-client-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=ftp://ftp.freeradius.org/pub/freeradius/
  13. PKG_MD5SUM:=43b4d21715b613dc4fe8ef128467fe78
  14. PKG_INSTALL:=1
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/freeradius-client
  17. SECTION:=libs
  18. CATEGORY:=Libraries
  19. TITLE:=A library for radius clients
  20. URL:=http://freeradius.org/freeradius-client/
  21. MAINTAINER:=Nikos Mavrogiannopoulos <nmav@gnutls.org>
  22. endef
  23. define Package/freeradius-client/decription
  24. FreeRADIUS Client is a framework and library for writing RADIUS
  25. Clients. The library lets you develop a RADIUS-aware application
  26. in less than 50 lines of C code. It is highly portable and runs on
  27. Linux, many BSD variants and Solaris.
  28. endef
  29. define Build/InstallDev
  30. $(INSTALL_DIR) $(1)/usr/include
  31. $(CP) \
  32. $(PKG_INSTALL_DIR)/usr/include/freeradius-client.h \
  33. $(1)/usr/include/
  34. $(INSTALL_DIR) $(1)/usr/lib
  35. $(CP) \
  36. $(PKG_INSTALL_DIR)/usr/lib/libfreeradius-client.{a,so*} \
  37. $(1)/usr/lib/
  38. endef
  39. define Package/freeradius-client/install
  40. $(INSTALL_DIR) $(1)/usr/lib
  41. $(CP) \
  42. $(PKG_INSTALL_DIR)/usr/lib/libfreeradius-client.so.* \
  43. $(1)/usr/lib/
  44. endef
  45. $(eval $(call BuildPackage,freeradius-client))