[packages] darkstat: update to 3.0.713, use PKG_INSTALL and Build/Compile/Default, fix now invalid configure argument, description display and title typo
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20749 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b85460dbb4
commit
fd120c98e5
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2010 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -8,12 +8,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=darkstat
|
PKG_NAME:=darkstat
|
||||||
PKG_VERSION:=3.0.712
|
PKG_VERSION:=3.0.713
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://dmr.ath.cx/net/darkstat
|
PKG_SOURCE_URL:=http://dmr.ath.cx/net/darkstat
|
||||||
PKG_MD5SUM:=b711f64319091d6948a05bc33a4954b3
|
PKG_MD5SUM:=3fd2a4ddb123ad11bb99f1094a6206d9
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -21,14 +23,14 @@ define Package/darkstat
|
|||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libpcap +zlib
|
DEPENDS:=+libpcap +zlib
|
||||||
TITLE:=Network bandwith monitor
|
TITLE:=Network bandwidth monitor
|
||||||
URL:=http://dmr.ath.cx/net/darkstat/
|
URL:=http://dmr.ath.cx/net/darkstat/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/darkstat/description
|
define Package/darkstat/description
|
||||||
darkstat is a packet sniffer that runs as a background process on a
|
darkstat is a packet sniffer that runs as a background process on a cable/DSL
|
||||||
cable/DSL router, gathers all sorts of statistics about network usage,
|
router, gathers all sorts of statistics about network usage, and serves them
|
||||||
and serves them over HTTP.
|
over HTTP.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/darkstat/conffiles
|
define Package/darkstat/conffiles
|
||||||
@ -36,14 +38,12 @@ define Package/darkstat/conffiles
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-chroot-dir /var/empty
|
--with-chroot-dir=/var/empty
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \
|
$(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \
|
||||||
-o $(PKG_BUILD_DIR)/c-ify
|
-o $(PKG_BUILD_DIR)/c-ify
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(call Build/Compile/Default)
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
all install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/darkstat/install
|
define Package/darkstat/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user