Contents of /branches/magellan-next/core/procps/procps-3.2.8-r6.smage2
Parent Directory | Revision Log
Revision 7555 -
(show annotations)
(download)
Thu May 26 21:10:50 2011 UTC (13 years, 4 months ago) by niro
File size: 1302 byte(s)
Thu May 26 21:10:50 2011 UTC (13 years, 4 months ago) by niro
File size: 1302 byte(s)
auto added: ver bump to 3.2.8-r6
1 | # $Id$ |
2 | |
3 | PNAME="procps" |
4 | PVER="3.2.8" |
5 | PBUILD="r6" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Standard informational utilities and process-handling tools -ps top tload snice vmstat." |
11 | HOMEPAGE="http://procps.sourceforge.net/" |
12 | |
13 | DEPEND=">= sys-libs/ncurses-5.9" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools multilib |
19 | |
20 | SRC_URI=( |
21 | http://procps.sourceforge.net/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/3.2.5-top-sort.patch |
24 | mirror://${PNAME}/${PNAME}-${PVER}-make382-fix.patch |
25 | ) |
26 | |
27 | # do not use updatecmd_sourceforge; there is nothing |
28 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | |
34 | # fix terminal breakage when sorting first column in top |
35 | mpatch 3.2.5-top-sort.patch || die |
36 | |
37 | # fixes compile issues with make-3.8.2 |
38 | # see: http://comments.gmane.org/gmane.comp.gnu.make.bugs/4768 |
39 | mpatch ${PNAME}-${PVER}-make382-fix.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | mmake m64="" || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | # needed directories |
50 | minstalldir /usr/include/proc || die |
51 | |
52 | all-abis make DESTDIR=${BINDIR} lib64='$(mlibdir)' install || die |
53 | |
54 | # install missing headers |
55 | minstallfile proc/\*.h /usr/include/proc || die |
56 | |
57 | # docs |
58 | minstalldocs AUTHORS BUGS COPYING* NEWS README* TODO ps/HACKING sysctl.conf || die |
59 | } |