void-packages/srcpkgs/time/template
2017-11-08 16:04:21 +01:00

18 lines
548 B
Bash

# Template file for 'time'
pkgname=time
version=1.8
revision=1
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=8a2f540155961a35ba9b84aec5e77e3ae36c74cecb4484db455960601b7a2e1b
# Required by wait3(2) with musl
CFLAGS="-D_GNU_SOURCE"
do_install() {
make bindir="${DESTDIR}/usr/bin" infodir="${DESTDIR}/usr/share/info" install
}