2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_MAINTAINER
:=Marko Ratkaj
<marko.ratkaj@sartura.hr
>
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
18 PKG_SOURCE_URL
:=http
://perso.orange.fr
/sebastien.godard
/
19 PKG_HASH
:=9a721992e70883c1b9a09d9977501662587b909a014ac0eaa397d30a963acc53
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/sysstat
28 TITLE
:=Sysstat performance monitoring tools
29 URL
:=http
://pagesperso-orange.fr
/sebastien.godard
/index.html
32 define Package
/sysstat
/description
33 The sysstat utilities are a collection of performance monitoring tools for
34 Linux. These
include sar
, sadf
, mpstat
, iostat
, pidstat and sa tools.
37 define Package
/sysstat
/conffiles
38 /etc
/sysstat
/sysstat.ioconf
43 sa_lib_dir
="/usr/lib/sysstat" \
44 sa_dir
="/var/log/sysstat" \
45 conf_dir
="/etc/sysstat"
48 --disable-documentation \
53 define Package
/sysstat
/install
54 $(INSTALL_DIR
) $(1)/usr
/lib
/sysstat
55 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/sysstat
/{sadc
,sa1
,sa2
} $(1)/usr
/lib
/sysstat
/
56 $(INSTALL_DIR
) $(1)/usr
/bin
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/{sar
,sadf
,iostat
,mpstat
,pidstat
} $(1)/usr
/bin
/
58 $(INSTALL_DIR
) $(1)/etc
/sysstat
59 $(INSTALL_CONF
) $(PKG_INSTALL_DIR
)/etc
/sysstat
/sysstat.ioconf
$(1)/etc
/sysstat
/
60 $(INSTALL_DIR
) $(1)/etc
/config
61 $(INSTALL_CONF
) .
/files
/sysstat.config
$(1)/etc
/config
/sysstat
62 $(INSTALL_DIR
) $(1)/etc
/init.d
63 $(INSTALL_BIN
) .
/files
/sysstat.init
$(1)/etc
/init.d
/sysstat
66 $(eval
$(call BuildPackage
,sysstat
))