mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/rrdtool: Updated for version 1.2.19
This commit is contained in:
parent
0e847162d9
commit
baff761238
3 changed files with 12 additions and 5 deletions
|
@ -13,6 +13,8 @@ VERSION=1.2.19
|
|||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PYTHON=$( python -c 'import sys; print sys.version[:3]' )
|
||||
PERL=$( eval "`perl -V:version`"; echo $version )
|
||||
CWD=`pwd`
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -34,13 +36,14 @@ chown -R root:root .
|
|||
chmod -R a-s,u+w,go+r-w .
|
||||
|
||||
# The python library is not added by default in the linking stage
|
||||
sed -i -r 's/^(LIBS = .*)/\0 -lpython2.4/' bindings/python/Makefile.in
|
||||
sed -i -r "s/^(LIBS = .*)/\0 -lpython${PYTHON}/" bindings/python/Makefile.in
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
RRDDOCDIR=/usr/doc/$PRGNAM-$VERSION \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-perl-site-install
|
||||
|
||||
make
|
||||
|
@ -72,8 +75,8 @@ make install DESTDIR=$PKG
|
|||
)
|
||||
|
||||
# And remove the directory leftovers
|
||||
rm -rf $PKG/usr/lib/perl5/5.8.8
|
||||
rm -rf $PKG/usr/lib/perl5/site_perl/5.8.8/i486-linux/auto/RRDp
|
||||
rm -rf $PKG/usr/lib/perl5/${PERL}
|
||||
rm -rf $PKG/usr/lib/perl5/site_perl/${PERL}/i486-linux/auto/RRDp
|
||||
|
||||
# Set correct permissions (mostly on the Perl bindings)
|
||||
( cd $PKG
|
||||
|
|
|
@ -5,4 +5,4 @@ DOWNLOAD="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.19.tar.gz"
|
|||
MD5SUM="df625d12e0585042a398ff946e32e3e7"
|
||||
MAINTAINER="Michael Johnson"
|
||||
EMAIL="youngmug@animeneko.net"
|
||||
APPROVED="danieldk"
|
||||
APPROVED="danieldk,alien"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
rrdtool: rrdtool (RRDTool Logging and Graphing)
|
||||
rrdtool:
|
||||
rrdtool: RRD is the acronym for Round Robin Database. It is a system to
|
||||
|
@ -13,3 +13,7 @@ rrdtool: store and display time-series data (i.e. network bandwidth,
|
|||
rrdtool: machine-room temperature, server load average).
|
||||
rrdtool:
|
||||
rrdtool:
|
||||
rrdtool:
|
||||
rrdtool:
|
||||
rrdtool:
|
||||
rrdtool:
|
||||
|
|
Loading…
Reference in a new issue