void-packages/srcpkgs/rrdtool/template
2019-02-09 01:23:40 -02:00

55 lines
1.5 KiB
Bash

# Template file for 'rrdtool'
pkgname=rrdtool
version=1.7.1
revision=1
build_style=gnu-configure
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"
hostmakedepends="pkg-config groff intltool python-setuptools perl-XML-Parser"
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 <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://oss.oetiker.ch/${pkgname}"
distfiles="http://oss.oetiker.ch/${pkgname}/pub/${pkgname}-${version}.tar.gz"
checksum=989b778eda6967aa5192c73abafe43e7b10e6100776971a7e79d249942781aae
nocross=yes
python-rrdtool_package() {
short_desc+=" - python bindings"
pkg_install() {
vmove usr/lib/python2.7
}
}
perl-rrdtool_package() {
short_desc+=" - perl bindings"
shlib_requires="libperl.so.5.28"
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
}
}