void-packages/srcpkgs/time/template
2015-10-28 17:12:38 +01:00

18 lines
548 B
Bash

# Template file for 'time'
pkgname=time
version=1.7
revision=7
build_style=gnu-configure
short_desc="The GNU time program for measuring cpu resource usage"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://directory.fsf.org/project/time"
license="GPL-2"
distfiles="$GNU_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum=e37ea79a253bf85a85ada2f7c632c14e481a5fd262a362f6f4fd58e68601496d
# Required by wait3(2) with musl
CFLAGS="-D_GNU_SOURCE"
do_install() {
make bindir="${DESTDIR}/usr/bin" infodir="${DESTDIR}/usr/share/info" install
}