aboutsummaryrefslogtreecommitdiff
path: root/package/freeradius-client/freeradius-client.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/freeradius-client/freeradius-client.mk')
-rw-r--r--package/freeradius-client/freeradius-client.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/freeradius-client/freeradius-client.mk b/package/freeradius-client/freeradius-client.mk
new file mode 100644
index 0000000000..00913c7b19
--- /dev/null
+++ b/package/freeradius-client/freeradius-client.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# freeradius-client
+#
+################################################################################
+
+FREERADIUS_CLIENT_VERSION = 1.1.7
+FREERADIUS_CLIENT_SITE = ftp://ftp.freeradius.org/pub/freeradius/
+FREERADIUS_CLIENT_LICENSE = BSD-2c
+FREERADIUS_CLIENT_LICENSE_FILES = COPYRIGHT
+FREERADIUS_CLIENT_INSTALL_STAGING = YES
+
+FREERADIUS_CLIENT_DEPENDENCIES = host-pkgconf
+
+ifeq ($(BR2_PACKAGE_NETTLE),y)
+FREERADIUS_CLIENT_DEPENDENCIES += nettle
+FREERADIUS_CLIENT_CONF_OPTS += --with-nettle=yes
+else
+FREERADIUS_CLIENT_CONF_OPTS += --with-nettle=no
+endif
+
+$(eval $(autotools-package))