# fss-0002

main:
  sed -i -e 's|\-lncursesw|-lncurses|g' -e 's|ncursesw/curses.h|ncurses.h|g' configure
  sed -i -e 's|ncursesw/curses.h|ncurses.h|g' RichString.h RichString.c
  ./configure $CONF --with-proc=/proc --enable-taskstats --enable-unicode
  sed -i -e 's|scripts/MakeHeader.py \$<|echo &|g' Makefile
  make
  make install
  mv -v /bin/{h,}top
  cp -v ${PR}skel.htoprc /etc/skel/.htoprc
  chgrp e_process /bin/top 
  chmod o-rx /bin/top 
