summaryrefslogtreecommitdiff
path: root/package/nut
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-22 13:46:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-22 13:46:25 +0200
commit47e110abbf0d3142d737e753833d0d6239965b2a (patch)
tree84308904e286e4ad1136dd447175eaa7ec19ae09 /package/nut
parent7695ce447acb41050295fd205e14ba55c378cdd2 (diff)
fix package names and package flavour dependencies
ipkg does not allow package names with uppercase, so revert some of phil changes. dependency handling of package flavours were broken, because of a chicken and egg problem. implement a new variable (PKGFS_XXX) containing flavour dependent package dependencies.
Diffstat (limited to 'package/nut')
-rw-r--r--package/nut/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/nut/Makefile b/package/nut/Makefile
index e06a5784f..aae2f2b49 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -10,15 +10,12 @@ PKG_MD5SUM:= 609ebaf2123fc7171d25a6c742dd7d66
PKG_DESCR:= Network UPS Tools
PKG_SECTION:= sys
ifneq (${ADK_PACKAGE_NUT_SSL},)
-PKG_DEPENDS+= libopenssl
PKG_BUILDDEP+= openssl
endif
ifneq (${ADK_PACKAGE_NUT_USB},)
-PKG_DEPENDS+= libusb
PKG_BUILDDEP+= libusb
endif
ifneq (${ADK_PACKAGE_NUT_SNMP},)
-PKG_DEPENDS+= libnetsnmp
PKG_BUILDDEP+= net-snmp
endif
PKG_URL:= http://www.networkupstools.org
@@ -26,8 +23,11 @@ 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
PKGFD_USB:= enable USB support
+PKGFS_USB:= libusb
include ${TOPDIR}/mk/package.mk