summaryrefslogtreecommitdiffstats
path: root/time/Pkgfile
blob: 041d30e6204ff9ea12d4ebc038d53bc5841b08ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
description="Measures many of the CPU resources that programs use."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/time/"
depends=()

name=time
version=1.7
release=1
source=(http://ftp.gnu.org/gnu/time/$name-$version.tar.gz time.1)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--host=$CHOST} \
		${CBUILD:+--build=$CBUILD} \
		--prefix=$prefix;
	make;
	make prefix=$PKG$prefix install;
	#rm -rf $PKG/usr/info;
	mkdir -p $PKG$mandir/man1;
	cp ../$name.1 $PKG$mandir/man1
}