mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-24 19:07:16 +00:00
50ae207ad7
Signed-off-by: Filipe Pires <filipe.pires@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
22 lines
777 B
BlitzBasic
22 lines
777 B
BlitzBasic
DESCRIPTION = "vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s)."
|
|
HOMEPAGE = "https://humdi.net/vnstat/"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
SECTION = "net"
|
|
DEPENDS = "gd sqlite3"
|
|
|
|
SRC_URI = "https://github.com/vergoh/vnstat/releases/download/v${PV}/${BPN}-${PV}.tar.gz"
|
|
SRC_URI[sha256sum] = "c9fe19312d1ec3ddfbc4672aa951cf9e61ca98dc14cad3d3565f7d9803a6b187"
|
|
|
|
inherit autotools pkgconfig systemd
|
|
|
|
EXTRA_OECONF = "--disable-extra-paths"
|
|
|
|
do_install:append() {
|
|
install -Dm644 ${S}/examples/systemd/vnstat.service "${D}${systemd_system_unitdir}/vnstat.service"
|
|
}
|
|
|
|
PARALLEL_MAKEINST = ""
|
|
|
|
SYSTEMD_SERVICE:${PN} = "vnstat.service"
|