void-packages/srcpkgs/latencytop/template
2016-06-19 13:19:48 -04:00

22 lines
600 B
Bash

# Template file for 'latencytop'
pkgname=latencytop
version=0.5
revision=4
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="gtk+-devel ncurses-devel"
short_desc="Measuring and fixing Linux latency"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.latencytop.org"
distfiles="${DEBIAN_SITE}/main/l/$pkgname/${pkgname}_${version}.orig.tar.gz"
checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
vmkdir usr/bin
make DESTDIR=$PKGDESTDIR SBINDIR=/usr/bin install
}