void-packages/srcpkgs/smem/template
2020-04-21 18:45:13 -04:00

22 lines
528 B
Bash

# Template file for 'smem'
pkgname=smem
version=1.5
revision=1
depends="python"
short_desc="Memory reporting tool"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://www.selenic.com/smem"
distfiles="https://selenic.com/repo/smem/archive/${version}.tar.bz2"
checksum=950c39ee8b1e051866564b25c36a6113eae2617e597b8302324bb8ee57d82ba6
python_version=2 #unverified
do_build() {
$CC $CFLAGS $LDFLAGS -o smemcap smemcap.c
}
do_install() {
vbin smem
vbin smemcap
vman smem.8
}