CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[crossrootfs.git] / time / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Measures many of the CPU resources that programs use
2# URL: http://www.gnu.org/software/time/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=time
8version=1.7
9release=1
10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
11 resuse.h.patch $name.1)
12
13build() {
14 cd $name-$version
15 patch -p0 -i $SRC/resuse.h.patch
3decfdba 16
6dca1d21
JB
17 ./configure --build=$CHOST \
18 --host=$CTARGET \
19 --prefix=/usr
3decfdba 20
6dca1d21
JB
21 make
22 make prefix=$PKG/usr install
3decfdba 23
6dca1d21
JB
24 rm -rf $PKG/usr/info
25 mkdir -p $PKG/usr/man/man1
26 cp ../$name.1 $PKG/usr/man/man1
27}