Commit | Line | Data |
---|---|---|
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 | ||
7 | name=time | |
8 | version=1.7 | |
218c70ff | 9 | release=3 |
37b953b2 | 10 | source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.gz \ |
6dca1d21 JB |
11 | resuse.h.patch $name.1) |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
15 | patch -p0 -i $SRC/resuse.h.patch | |
3decfdba | 16 | |
6dca1d21 JB |
17 | ./configure --build=$CHOST \ |
18 | --host=$CTARGET \ | |
218c70ff VM |
19 | --prefix=/usr \ |
20 | --infodir=$PKG/usr/info | |
3decfdba | 21 | |
6dca1d21 JB |
22 | make |
23 | make prefix=$PKG/usr install | |
3decfdba | 24 | |
6dca1d21 | 25 | rm -rf $PKG/usr/info |
218c70ff | 26 | install -D -m 0644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1 |
6dca1d21 | 27 | } |