[package] update acpupsd to 3.14.7 (#2157), enable usb support (#5877)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 25 Nov 2009 14:22:43 +0000 (14:22 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 25 Nov 2009 14:22:43 +0000 (14:22 +0000)
SVN-Revision: 18536

net/apcupsd/Makefile
net/apcupsd/patches/100-dont_nuke_prepared.patch [deleted file]

index c0c99d1..ae32e25 100644 (file)
@@ -8,19 +8,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=apcupsd
-PKG_VERSION:=3.14.2
+PKG_VERSION:=3.14.7
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/apcupsd
-PKG_MD5SUM:=fd8785e7607d20cefa68dc20e44eebc4
+PKG_MD5SUM:=bb2f8e4fc6b2f5d7b3e236eb57b81640
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/apcupsd
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libpthread
+  DEPENDS:=+libpthread +libusb
   TITLE:=UPS control software
   URL:=http://www.apcupsd.org/
 endef
@@ -30,6 +30,7 @@ define Build/Configure
        $(call Build/Configure/Default, \
                --with-distname=unknown \
                --sysconfdir=/etc/apcupsd \
+               --enable-usb \
        )
 endef
 
diff --git a/net/apcupsd/patches/100-dont_nuke_prepared.patch b/net/apcupsd/patches/100-dont_nuke_prepared.patch
deleted file mode 100644 (file)
index 4fdabc3..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- apcupsd-3.14.2/Makefile.in-orig    2008-11-29 00:54:14.000000000 -0800
-+++ apcupsd-3.14.2/Makefile.in 2008-11-29 00:59:59.000000000 -0800
-@@ -372,7 +372,7 @@
-       (cd examples; $(MAKE) clean)
- clean: example_clean targetclean
--      find . -type f -size 0 -exec $(RMF) {} \;
-+      find . -type f -size 0 ! -name '.prepared_*' -exec $(RMF) {} \;
- example_distclean: example_clean
-       (cd examples; $(MAKE) distclean)