summaryrefslogtreecommitdiff
path: root/package/nut
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-19 22:53:46 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:35:02 +0100
commit1c8d49e1ee453e44af6c57f10e8b929d5ccdd3a2 (patch)
treead61904908c100a16ef60192fbe0676a79a2d877 /package/nut
parent72ea86f8f4d9a00ca5f509eba515b38968924172 (diff)
create package/Depends.mk dynamically; add PKG_BUILDDEP to all Makefiles
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package/nut')
-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