void-packages/srcpkgs/blktrace/template
2018-10-07 05:48:05 -03:00

20 lines
676 B
Bash

# Template file for 'blktrace'
pkgname=blktrace
version=1.2.0
revision=2
build_style=gnu-makefile
make_install_args="prefix=/usr mandir=/usr/share/man"
makedepends="libaio-devel"
short_desc="Userspace utilities for tracing Linux block layer I/O"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://brick.kernel.dk/"
distfiles="http://brick.kernel.dk/snaps/${pkgname}-${version}.tar.bz2"
checksum=26961888f7308f5e1343b16c44a59d2ab190e12ae17b1841e4a4e304bd3a3f45
broken="
btreplay.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status"
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile */Makefile
}