[packages] sysstat: update to v9.0.5 (closes: #5952), cleanup
authorNicolas Thill <nico@openwrt.org>
Mon, 5 Oct 2009 12:25:13 +0000 (12:25 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 5 Oct 2009 12:25:13 +0000 (12:25 +0000)
SVN-Revision: 17873

utils/sysstat/Makefile

index bb484f2..e97f24c 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2009 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sysstat
-PKG_VERSION:=9.0.4
+PKG_VERSION:=9.0.5
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://pagesperso-orange.fr/sebastien.godard
-PKG_MD5SUM:=4ecde27986c3745a363a95e34cf897c8
+PKG_MD5SUM:=
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -34,21 +34,18 @@ define Package/sysstat/conffiles
 /etc/sysstat/config
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default, \
-               sa_lib_dir="/usr/lib/sysstat" \
-               sa_dir="/var/log/sysstat" \
-               conf_dir="/etc/sysstat" \
-       )
-endef
+CONFIGURE_ARGS+= \
+       sa_lib_dir="/usr/lib/sysstat" \
+       sa_dir="/var/log/sysstat" \
+       conf_dir="/etc/sysstat" \
 
 define Package/sysstat/install
        $(INSTALL_DIR) $(1)/usr/lib/sysstat
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/{sadc,sa1,sa2} $(1)/usr/lib/sysstat
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/{sadc,sa1,sa2} $(1)/usr/lib/sysstat/
        $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/{sar,sadf,iostat,mpstat,pidstat} $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/{sar,sadf,iostat,mpstat,pidstat} $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/etc/sysstat
-       $(INSTALL_CONF) $(PKG_BUILD_DIR)/sysstat.ioconf $(1)/etc/sysstat
+       $(INSTALL_CONF) $(PKG_BUILD_DIR)/sysstat.ioconf $(1)/etc/sysstat/
        $(INSTALL_CONF) ./files/config $(1)/etc/sysstat/config
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/sysstat.init $(1)/etc/init.d/sysstat