Ignore:
Timestamp:
2009-10-05T21:58:54+02:00 (7 years ago)
Author:
nico
Message:

[packages] rrdcollect: update to v0.2.4, link against rrdtool-1.0.x, cleanup (closes: #3914)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/rrdcollect/Makefile

    r15247 r17926  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=rrdcollect 
    11 PKG_VERSION:=0.2.3 
    12 PKG_RELEASE:=3 
     11PKG_VERSION:=0.2.4 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=@SF/rrdcollect 
    16 PKG_MD5SUM:=5e4305c612bc3cccbaf802c275c81a11 
     16PKG_MD5SUM:=fd7ac95195e3e5cbab0677629505d9be 
    1717 
    1818include $(INCLUDE_DIR)/package.mk 
     
    2424endef 
    2525 
     26define Package/rrdcollect/Default/description 
     27 RRDcollect is a daemon which polls ceratin files in /proc/  
     28 directory, gathering data and storing it inside RRDtool's  
     29 database files. Being written in C should be both fast  
     30 and resources-friendly. Supports both scanf(3)-style  
     31 pattern matches and perl compatible regular expressions.        
     32endef 
     33 
    2634define Package/rrdcollect 
    27   $(call Package/rrdcollect/Default) 
    28   DEPENDS:=+librrd 
     35$(call Package/rrdcollect/Default) 
     36  DEPENDS:=+librrd1 
    2937  TITLE:=Round-Robin Database (RRD) collecting daemon 
    3038  MENU:=1 
     
    3240 
    3341define Package/rrdcollect/description 
    34 = 
    35         RRDcollect is a daemon which polls ceratin files in /proc/  
    36         directory, gathering data and storing it inside RRDtool's  
    37         database files. Being written in C should be both fast  
    38         and resources-friendly. Supports both scanf(3)-style  
    39         pattern matches and perl compatible regular expressions.         
    40         This package contains the RRD collecting daemon. 
     42$(call Package/rrdcollect/Default/description) 
     43 This package contains the RRD collecting daemon. 
    4144endef 
    4245 
    4346define Package/rrdcollect-example 
    44   $(call Package/rrdcollect/Default) 
     47$(call Package/rrdcollect/Default) 
    4548  DEPENDS:=rrdcollect 
    4649  TITLE:=Example setup for RRD collecting daemon above 
     
    4851 
    4952define Package/rrdcollect-example/description 
    50 = 
    51         RRDcollect is a daemon which polls ceratin files in /proc/  
    52         directory, gathering data and storing it inside RRDtool's  
    53         database files. Being written in C should be both fast  
    54         and resources-friendly. Supports both scanf(3)-style  
    55         pattern matches and perl compatible regular expressions.         
    56         This package contains examples for the RRD collecting daemon. 
     53$(call Package/rrdcollect/Default/description) 
     54 This package contains examples for the RRD collecting daemon. 
    5755endef 
    5856 
     
    6260endef 
    6361 
    64 define Build/Configure 
    65         $(call Build/Configure/Default, \ 
    66                 --enable-shared \ 
    67                 --disable-static \ 
    68                 --disable-rpath \ 
    69                 --enable-exec \ 
    70                 --without-rrdtool \ 
    71                 --with-librrd \ 
    72                 --without-libpcre \ 
    73                 --without-libpcap \ 
    74                 , \ 
    75                 CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \ 
    76                 LIBS="-lz -lfreetype -lpng -lart_lgpl_2" \ 
    77         ) 
    78 endef 
     62CONFIGURE_ARGS+= \ 
     63        --enable-shared \ 
     64        --disable-static \ 
     65        --disable-rpath \ 
     66        --enable-exec \ 
     67        --without-rrdtool \ 
     68        --with-librrd="$(STAGING_DIR)/usr/lib/rrdtool-1.0" \ 
     69        --without-libpcre \ 
     70        --without-libpcap \ 
     71 
     72CONFIGURE_VARS+= \ 
     73        CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \ 
    7974 
    8075define Build/Compile     
Note: See TracChangeset for help on using the changeset viewer.