void-packages/srcpkgs/rrdtool/template
2015-02-13 00:58:29 +01:00

53 lines
1.4 KiB
Text

# Template file for 'rrdtool'
pkgname=rrdtool
version=1.4.9
revision=1
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"
short_desc="Data logging and graphing system for time series data."
maintainer="Enno Boland <eb@s01.de>"
license="GPL-2"
homepage="http://oss.oetiker.ch/rrdtool"
distfiles="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.9.tar.gz"
checksum=3e2826e0d60aaf85313da35b3c0d3a926748fe482b4ada766a325a83b60125cc
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"
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
}
}