]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/rrdtool/rrdtool.nm
Remove legacy build system.
[people/ms/ipfire-3.x.git] / pkgs / rrdtool / rrdtool.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
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. #
10 # #
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. #
15 # #
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/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = rrdtool
28 PKG_VER = 1.4.5
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
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.
36
37 PKG_BUILD_DEPS+= cairo-devel gcc-c++ gettext groff libtool libxml2-devel \
38 pango-devel pkg-config python-devel
39
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 \
45 density.
46 endef
47
48 PKG_TARBALL = $(THISAPP).tar.gz
49
50 PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs
51
52 CONFIGURE_OPTIONS += \
53 --disable-rrdcgi \
54 --disable-perl \
55 --disable-tcl \
56 --disable-ruby \
57 --disable-static \
58 --enable-python \
59 --enable-latin2
60
61 define STAGE_PREPARE_CMDS
62 # Remove rpath
63 cd $(DIR_APP) && sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
64 endef
65
66 define STAGE_INSTALL_CMDS
67 # Remove unused files
68 rm -rvf $(BUILDROOT)/usr/share/rrdtool/examples
69
70 # Remove locale dir because no locales were installed
71 rm -rvf $(BUILDROOT)/usr/share/locale
72 endef