CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed major update for Arch-Maintainer's email (all ports)
[crossrootfs.git] / time / Pkgfile
... / ...
CommitLineData
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
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
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
16
17 ./configure --build=$CHOST \
18 --host=$CTARGET \
19 --prefix=/usr
20
21 make
22 make prefix=$PKG/usr install
23
24 rm -rf $PKG/usr/info
25 mkdir -p $PKG/usr/man/man1
26 cp ../$name.1 $PKG/usr/man/man1
27}