| 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@crux-arm.nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=time |
| 8 | version=1.7 |
| 9 | release=1 |
| 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \ |
| 11 | resuse.h.patch $name.1) |
| 12 | |
| 13 | build() { |
| 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 | } |