mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
libstatgrab: New package.
This commit is contained in:
committed by
Michael Tremer
parent
cc8ac76307
commit
ce819132f3
35
config/rootfiles/packages/libstatgrab
Normal file
35
config/rootfiles/packages/libstatgrab
Normal file
@@ -0,0 +1,35 @@
|
||||
usr/bin/saidar
|
||||
usr/bin/statgrab
|
||||
#usr/bin/statgrab-make-mrtg-config
|
||||
#usr/bin/statgrab-make-mrtg-index
|
||||
#usr/include/statgrab.h
|
||||
#usr/include/statgrab_deprecated.h
|
||||
#usr/lib/libstatgrab.a
|
||||
#usr/lib/libstatgrab.la
|
||||
#usr/lib/libstatgrab.so
|
||||
usr/lib/libstatgrab.so.6
|
||||
usr/lib/libstatgrab.so.6.2.3
|
||||
#usr/lib/pkgconfig/libstatgrab.pc
|
||||
#usr/share/man/man1/saidar.1
|
||||
#usr/share/man/man1/statgrab-make-mrtg-config.1
|
||||
#usr/share/man/man1/statgrab-make-mrtg-index.1
|
||||
#usr/share/man/man1/statgrab.1
|
||||
#usr/share/man/man3/sg_get_cpu_percents.3
|
||||
#usr/share/man/man3/sg_get_cpu_stats.3
|
||||
#usr/share/man/man3/sg_get_cpu_stats_diff.3
|
||||
#usr/share/man/man3/sg_get_disk_io_stats.3
|
||||
#usr/share/man/man3/sg_get_disk_io_stats_diff.3
|
||||
#usr/share/man/man3/sg_get_fs_stats.3
|
||||
#usr/share/man/man3/sg_get_host_info.3
|
||||
#usr/share/man/man3/sg_get_load_stats.3
|
||||
#usr/share/man/man3/sg_get_mem_stats.3
|
||||
#usr/share/man/man3/sg_get_network_iface_stats.3
|
||||
#usr/share/man/man3/sg_get_network_io_stats.3
|
||||
#usr/share/man/man3/sg_get_network_io_stats_diff.3
|
||||
#usr/share/man/man3/sg_get_page_stats.3
|
||||
#usr/share/man/man3/sg_get_page_stats_diff.3
|
||||
#usr/share/man/man3/sg_get_process_count.3
|
||||
#usr/share/man/man3/sg_get_process_stats.3
|
||||
#usr/share/man/man3/sg_get_swap_stats.3
|
||||
#usr/share/man/man3/sg_get_user_stats.3
|
||||
#usr/share/man/man3/statgrab.3
|
||||
69
lfs/libstatgrab
Normal file
69
lfs/libstatgrab
Normal file
@@ -0,0 +1,69 @@
|
||||
###############################################################################
|
||||
# IPFire.org - An Open Source Firewall Solution #
|
||||
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.17
|
||||
|
||||
THISAPP = libstatgrab-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = libstatgrab
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = ""
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 58385c9392898be3b09ffc5e3ebe8717
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
Reference in New Issue
Block a user