rrdtool: Update to 1.4.7.

This commit is contained in:
Michael Tremer
2012-08-24 15:27:05 +02:00
parent 68a3ec7d6a
commit 4077128d17
2 changed files with 136 additions and 123 deletions

View File

@@ -24,7 +24,7 @@
include Config
VER = 1.2.30
VER = 1.4.7
THISAPP = rrdtool-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 19b24f7184a8dbf7b48c1bbb565ad9fb
$(DL_FILE)_MD5 = ffe369d8921b4dfdeaaf43812100c38f
install : $(TARGET)
@@ -70,13 +70,16 @@ $(subst %,%_MD5,$(objects)) :
$(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/share/$(THISAPP) \
--exec-prefix=/usr --mandir=/usr/share/man --enable-perl-site-install \
--enable-local-libpng --enable-local-zlib --with-pic --enable-latin2 \
--disable-python --disable-tcl
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--disable-rrdcgi \
--enable-perl \
--enable-perl-site-install \
--disable-tcl \
--disable-ruby \
--disable-python
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
cd $(DIR_APP) && make site-perl-install
-mkdir -p /srv/web/ipfire/html/graphs/
chmod 777 /srv/web/ipfire/html/graphs/
-mkdir -p /var/log/rrd/