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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=http
://pagesperso-orange.fr
/sebastien.godard
/
16 PKG_HASH
:=ef445acea301bbb996e410842f6290a8d049e884d4868cfef7e85dc04b7eee5b
18 PKG_MAINTAINER
:=Marko Ratkaj
<markoratkaj@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_CPE_ID
:=cpe
:/a
:sysstat_project
:sysstat
27 include $(INCLUDE_DIR
)/package.mk
28 include $(INCLUDE_DIR
)/nls.mk
30 define Package
/sysstat
33 TITLE
:=Sysstat performance monitoring tools
34 URL
:=http
://pagesperso-orange.fr
/sebastien.godard
/index.html
35 DEPENDS
:=$(INTL_DEPENDS
)
38 define Package
/sysstat
/description
39 The sysstat utilities are a collection of performance monitoring tools for
40 Linux. These
include sar
, sadf
, mpstat
, iostat
, pidstat and sa tools.
43 define Package
/sysstat
/conffiles
45 /etc
/sysstat
/sysstat.ioconf
50 sa_lib_dir
="/usr/lib/sysstat" \
51 conf_dir
="/etc/sysstat"
54 --disable-documentation \
57 define Package
/sysstat
/install
58 $(INSTALL_DIR
) $(1)/usr
/lib
/sysstat
59 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/sysstat
/{sadc
,sa1
,sa2
} $(1)/usr
/lib
/sysstat
/
60 $(INSTALL_DIR
) $(1)/usr
/bin
61 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/{sar
,sadf
,iostat
,mpstat
,pidstat
} $(1)/usr
/bin
/
62 $(INSTALL_DIR
) $(1)/etc
/sysstat
63 $(INSTALL_CONF
) $(PKG_INSTALL_DIR
)/etc
/sysstat
/sysstat.ioconf
$(1)/etc
/sysstat
/
64 $(INSTALL_DIR
) $(1)/etc
/config
65 $(INSTALL_CONF
) .
/files
/sysstat.config
$(1)/etc
/config
/sysstat
66 $(INSTALL_DIR
) $(1)/etc
/init.d
67 $(INSTALL_BIN
) .
/files
/sysstat.init
$(1)/etc
/init.d
/sysstat
70 $(eval
$(call BuildPackage
,sysstat
))