mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
libraries/rrdtool: Updated for version 1.4.7.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
4c212966a1
commit
578d47af5f
2 changed files with 28 additions and 19 deletions
|
@ -2,13 +2,31 @@
|
|||
|
||||
# Slackware build script for RRDTool
|
||||
|
||||
# Originally written by <youngmug@animeneko.net>
|
||||
# Modified by the SlackBuilds.org team.
|
||||
# Versions >= 1.4.2 maintained by Niels Horn <niels.horn@gmail.com>
|
||||
# revision date: 2010/12/31
|
||||
# Copyright 2007-2008 Michael Johnson <youngmug at animeneko dot net>
|
||||
# Copyright 2009-2010,2012 Niels Horn, Rio de Janeiro, RJ, Brazil
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# revision date: 2012/02/22
|
||||
|
||||
PRGNAM=rrdtool
|
||||
VERSION=${VERSION:-1.4.5}
|
||||
VERSION=${VERSION:-1.4.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -31,23 +49,15 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
ARCHQUADLET=""
|
||||
elif [ "$ARCH" = "arm" ]; then
|
||||
SLKCFLAGS="-O2 -march=armv4t"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET="-gnueabi"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -72,8 +82,7 @@ RRDDOCDIR=/usr/doc/$PRGNAM-$VERSION \
|
|||
--mandir=/usr/man \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--disable-static \
|
||||
--with-tcllib=/usr/lib${LIBDIRSUFFIX} \
|
||||
--build=$ARCH-slackware-linux$ARCHQUADLET \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--with-perl-options='INSTALLDIRS=vendor' \
|
||||
--with-ruby-options="sitedir=\${DESTDIR}/usr/lib${LIBDIRSUFFIX}/ruby/vendor_ruby"
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="rrdtool"
|
||||
VERSION="1.4.5"
|
||||
VERSION="1.4.7"
|
||||
HOMEPAGE="http://www.rrdtool.org/"
|
||||
DOWNLOAD="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.5.tar.gz"
|
||||
MD5SUM="4d116dba9a0888d8aaac179e35d3980a"
|
||||
DOWNLOAD="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz"
|
||||
MD5SUM="ffe369d8921b4dfdeaaf43812100c38f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Niels Horn"
|
||||
EMAIL="niels.horn@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue