summaryrefslogtreecommitdiff
path: root/package/nut
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-19 10:49:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-19 10:49:49 +0200
commit7907e3ee7302ac3fd428989a07b0df74f0c52853 (patch)
treee6de18488a687707667927065724372b40510d65 /package/nut
parentb70fdbfbf1139605c22083b647337f2b16f62fc3 (diff)
parent61355d1f054c15673adeb62d32dfd4563f89c165 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/nut')
-rw-r--r--package/nut/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/nut/Makefile b/package/nut/Makefile
index e06a5784f..a239af2cc 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -8,17 +8,14 @@ PKG_VERSION:= 2.4.1
PKG_RELEASE:= 1
PKG_MD5SUM:= 609ebaf2123fc7171d25a6c742dd7d66
PKG_DESCR:= Network UPS Tools
-PKG_SECTION:= sys
+PKG_SECTION:= net/misc
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
@@ -91,7 +91,7 @@ CONFIGURE_ENV+= CPPFLAGS="${TCPPFLAGS} ${TLDFLAGS}"
MAKE_FLAGS+= SSL_CFLAGS="${TCPPFLAGS}" SSL_LDFLAGS="${TLDFLAGS} -lssl -lcrypto"
endif
-ALL_TARGET:= all
+ALL_TARGET:= all
INSTALL_TARGET:= install
ifneq (${ADK_PACKAGE_NUT_USB},)
@@ -108,7 +108,7 @@ post-install:
${INSTALL_DIR} ${IDIR_NUT}/usr/lib
${INSTALL_BIN} ${WRKINST}/usr/sbin/ups{d,mon,sched} \
${IDIR_NUT}/usr/sbin/
- ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_NUT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_NUT}/usr/lib
${INSTALL_BIN} ${WRKINST}/usr/bin/{${INSTALL_DRIVERS}} \
${IDIR_NUT}/usr/bin/
${INSTALL_BIN} ${WRKINST}/usr/bin/ups{c,cmd,drvctl,log,rw} \