summaryrefslogtreecommitdiff
path: root/package/nut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/nut/Makefile')
-rw-r--r--package/nut/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/nut/Makefile b/package/nut/Makefile
index 8c0c2c7c6..e01d4dcc0 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -6,6 +6,15 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= nut
PKG_VERSION:= 2.4.1
PKG_RELEASE:= 1
+ifneq (${ADK_PACKAGE_NUT_SSL},)
+PKG_BUILDDEP+= openssl
+endif
+ifneq (${ADK_PACKAGE_NUT_USB},)
+PKG_BUILDDEP+= libusb
+endif
+ifneq (${ADK_PACKAGE_NUT_SNMP},)
+PKG_BUILDDEP+= net-snmp
+endif
PKG_MD5SUM:= 609ebaf2123fc7171d25a6c742dd7d66
PKG_DESCR:= Network UPS Tools
PKG_SECTION:= sys