2010-12-22 12:22:10 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
|
|
# Contributor: Tom <tomgparchaur@gmail.com>
|
|
|
|
pkgname=cacti-spine
|
2011-10-12 15:53:22 +02:00
|
|
|
pkgver=0.8.7h
|
|
|
|
pkgrel=1
|
2010-12-22 12:22:10 +01:00
|
|
|
pkgdesc="Faster poller for Cacti."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://cacti.net/spine_info.php"
|
|
|
|
license=('GPL')
|
2011-10-12 15:53:22 +02:00
|
|
|
depends=('libmysqlclient' 'net-snmp' "cacti=${pkgver}")
|
2010-12-22 12:22:10 +01:00
|
|
|
backup=('etc/spine.conf')
|
|
|
|
source=("http://www.cacti.net/downloads/spine/${pkgname}-${pkgver}.tar.gz")
|
2011-10-12 15:53:22 +02:00
|
|
|
md5sums=('89a7ecac0c6482a84337e970c17ddd81')
|
2010-12-22 12:22:10 +01:00
|
|
|
|
|
|
|
build() {
|
2011-02-25 18:34:01 +01:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-12-22 12:22:10 +01:00
|
|
|
/usr/bin/aclocal
|
|
|
|
/usr/bin/libtoolize --force --copy
|
|
|
|
/usr/bin/autoheader
|
|
|
|
/usr/bin/autoconf
|
|
|
|
/usr/bin/automake --add-missing --copy --force-missing
|
|
|
|
/bin/chmod +x ./configure
|
2011-02-25 18:34:01 +01:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
mv "${pkgdir}"/etc/spine.conf.dist "${pkgdir}"/etc/spine.conf
|
2010-12-22 12:22:10 +01:00
|
|
|
}
|
|
|
|
|