summaryrefslogtreecommitdiff
path: root/package/nut/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/nut/Makefile
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
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