2015-02-13 00:57:22 +01:00
|
|
|
# Template file for 'rrdtool'
|
|
|
|
pkgname=rrdtool
|
2015-08-11 14:57:29 +02:00
|
|
|
version=1.5.4
|
|
|
|
revision=1
|
2015-02-13 00:57:22 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config groff intltool"
|
|
|
|
makedepends="libxml2-devel pango-devel python-devel ruby-devel LuaJIT-devel perl"
|
|
|
|
depends="dejavu-fonts-ttf"
|
2015-04-18 10:20:15 +02:00
|
|
|
short_desc="Data logging and graphing system for time series data"
|
2015-08-09 19:08:42 +02:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2015-02-13 00:57:22 +01:00
|
|
|
license="GPL-2"
|
2015-04-18 10:20:15 +02:00
|
|
|
homepage="http://oss.oetiker.ch/${pkgname}"
|
|
|
|
distfiles="http://oss.oetiker.ch/${pkgname}/pub/${pkgname}-${version}.tar.gz"
|
2015-08-11 14:57:29 +02:00
|
|
|
checksum=3feea3da87c02128a27083f1c7b2cb797ef673e946564c0ce008c1c25a5c3f99
|
2015-02-13 00:57:22 +01:00
|
|
|
configure_args="--enable-perl --enable-perl-site-install
|
|
|
|
--with-perl-options=INSTALLDIRS=vendor --enable-ruby
|
|
|
|
--enable-ruby-site-install --enable-python --enable-lua
|
|
|
|
--enable-lua-site-install --enable-tcl --disable-libwrap"
|
|
|
|
|
|
|
|
python-rrdtool_package() {
|
|
|
|
short_desc+=" - python bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python2.7
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
perl-rrdtool_package() {
|
|
|
|
short_desc+=" - perl bindings"
|
2015-06-22 20:15:54 +02:00
|
|
|
shlib_requires="libperl.so.5.22"
|
2015-02-13 00:57:22 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/perl5
|
|
|
|
vmove usr/share/perl5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ruby-rrdtool_package() {
|
|
|
|
short_desc+=" - ruby bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/ruby
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rrdtool-devel_package() {
|
|
|
|
depends="rrdtool>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|