CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[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
4# Arch Maintainer: CRUX ARM System Team
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 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr
19 make
20 make prefix=$PKG/usr install
21 rm -rf $PKG/usr/info
22 mkdir -p $PKG/usr/man/man1
23 cp ../$name.1 $PKG/usr/man/man1
24}