# $Id$ PNAME="procps" PVER="3.2.7" PBUILD="r5" PCATEGORIE="sys-apps" STATE="unstable" DESCRIPTION="Standard informational utilities and process-handling tools -ps top tload snice vmstat." HOMEPAGE="http://procps.sourceforge.net/" DEPEND=">= sys-libs/ncurses-5.7" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mtools multilib SRC_URI=( http://procps.sourceforge.net/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/3.2.5-top-sort.patch ) # do not use updatecmd_sourceforge; there is nothing UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die # fix terminal breakage when sorting first column in top mpatch 3.2.5-top-sort.patch || die } src_compile() { mmake m64="" || die } src_install() { # needed directories minstalldir /usr/include/proc || die all-abis make DESTDIR=${BINDIR} lib64='$(mlibdir)' install || die # install missing headers minstallfile proc/\*.h /usr/include/proc || die # docs minstalldocs AUTHORS BUGS COPYING* NEWS README* TODO ps/HACKING sysctl.conf || die }