summaryrefslogtreecommitdiff
path: root/package/nut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/nut/Makefile')
-rw-r--r--package/nut/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/package/nut/Makefile b/package/nut/Makefile
index a239af2cc..833f271e7 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -9,25 +9,19 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 609ebaf2123fc7171d25a6c742dd7d66
PKG_DESCR:= Network UPS Tools
PKG_SECTION:= net/misc
-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_URL:= http://www.networkupstools.org
+PKG_URL:= http://www.networkupstools.org/
PKG_SITES:= http://www.networkupstools.org/source/2.4/
PKG_FLAVOURS:= SSL SNMP USB
-PKGFD_SSL:= enable SSL support
-PKGFS_SSL:= libopenssl
PKGFD_SNMP:= enable SNMP support
PKGFS_SNMP:= libnetsnmp
+PKGFB_SNMP:= net-snmp
PKGFD_USB:= enable USB support
PKGFS_USB:= libusb
+PKGFB_USB:= libusb
+PKGFD_SSL:= enable SSL support
+PKGFS_SSL:= libopenssl
+PKGFB_SSL:= openssl
include ${TOPDIR}/mk/package.mk