You are not logged in.

#1 2005-01-04 20:43:42

BlueRaven
Member
Registered: 2004-10-28
Posts: 14

[NEW - bugfixed] rrdtool

Hi all, I prepared a brand new RRDTool package.
It's quite different from Spider.007 one, hope you'll find my modifications useful.
This version fixes a number of bugs in Perl modules directory layout, so if you built your package using the previous one, please rebuild it!
Here is the corrected PKGBUILD:

pkgname=rrdtool
pkgver=1.0.49
pkgrel=1
pkgdesc="RRDTool is a system to store and display time-series data"
depends=('glibc')
makedepends=('findutils')
#backup=()
source=(http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/$pkgname-$pkgver.tar.gz)
url="http://rrdtool.org"
md5sums=('fbe492dbf3d68abb1d86c2322e7ed44a')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-shared --without-tcllib 
    --with-perl-options='PREFIX=/usr DESTDIR=$startdir/pkg'
  make || return 1
  make DESTDIR=$startdir/pkg install

  # Place modules in current site_perl directory, too.
  #
  make DESTDIR=$startdir/pkg site-perl-install

  # Remove duplicate installation in usr/lib/perl and some other
  # unneeded files.
  #
  for D in {contrib,doc,examples,html,lib/perl}; do
    rm -rf $startdir/pkg/usr/$D;
  done

  find $startdir/pkg -name perllocal.pod -exec rm -f {} ;
  find $startdir/pkg -name .packlist -exec rm -f {} ;
  find $startdir/pkg -name ntmake.pl -exec rm -f {} ;
}

Any feedback welcome! ;-)

Offline

Board footer

Powered by FluxBB