mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
vnstat: make gd dependency optional.
This commit is contained in:
parent
7a39937658
commit
ef74dc9749
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@ version=2.13
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="gd-devel sqlite-devel"
|
makedepends="sqlite-devel $(vopt_if gd gd-devel)"
|
||||||
checkdepends="check-devel"
|
checkdepends="check-devel"
|
||||||
short_desc="Terminal based network traffic monitor"
|
short_desc="Terminal based network traffic monitor"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
|
@ -13,7 +13,9 @@ homepage="https://humdi.net/vnstat/"
|
||||||
changelog="https://humdi.net/vnstat/CHANGES"
|
changelog="https://humdi.net/vnstat/CHANGES"
|
||||||
distfiles="https://humdi.net/vnstat/vnstat-${version}.tar.gz"
|
distfiles="https://humdi.net/vnstat/vnstat-${version}.tar.gz"
|
||||||
checksum=c9fe19312d1ec3ddfbc4672aa951cf9e61ca98dc14cad3d3565f7d9803a6b187
|
checksum=c9fe19312d1ec3ddfbc4672aa951cf9e61ca98dc14cad3d3565f7d9803a6b187
|
||||||
|
build_options="gd"
|
||||||
|
build_options_default="gd"
|
||||||
|
desc_option_gd="Enable support for image output"
|
||||||
conf_files="/etc/vnstat.conf"
|
conf_files="/etc/vnstat.conf"
|
||||||
make_dirs="/var/lib/vnstat 0755 root root"
|
make_dirs="/var/lib/vnstat 0755 root root"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue