milis/talimatname/genel/time/talimat

31 lines
769 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Diğer programların kullandığı CPU kaynaklarının (örneğin zaman ve bellek gibi) birçoğunu ölçer.
# URL: http://ftp.gnu.org/gnu/time
# Packager: alihan-ozturk28@hotmail.com
# Depends on:
name=time
version=1.7
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i 's/$(ACLOCAL)//' Makefile.in
sed -i 's/lu", ptok ((UL) resp->ru.ru_maxrss)/ld", resp->ru.ru_maxrss/' time.c
./configure \
--prefix=/usr \
--infodir=/usr/share/info
make
install -v -m755 -d $PKG/usr/share/info
install -v -m755 -d $PKG/usr/bin
/usr/bin/install -c -m 644 ./time.info $PKG/usr/share/info/time.info
/usr/bin/install -c time $PKG/usr/bin/`echo time|sed 's,x,x,'`
}