1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUP = Applications/Databases
33 PKG_URL = http://oss.oetiker.ch/rrdtool/
34 PKG_LICENSE = GPLv2+ with exceptions
35 PKG_SUMMARY = Round Robin Database Tool to store and display time-series data.
37 PKG_BUILD_DEPS+= cairo-devel gcc-c++ gettext groff libtool libxml2-devel \
38 pango-devel pkg-config python-devel
40 define PKG_DESCRIPTION
41 RRD is the Acronym for Round Robin Database. RRD is a system to \
42 store and display time-series data. It stores the data in a \
43 very compact way that will not expand over time, and it presents \
44 useful graphs by processing the data to enforce a certain data \
48 PKG_TARBALL = $(THISAPP).tar.gz
50 PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs
52 CONFIGURE_OPTIONS += \
61 define STAGE_PREPARE_CMDS
63 cd $(DIR_APP) && sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
66 define STAGE_INSTALL_CMDS
68 rm -rvf $(BUILDROOT)/usr/share/rrdtool/examples
70 # Remove locale dir because no locales were installed
71 rm -rvf $(BUILDROOT)/usr/share/locale