Contents of /trunk/core/procps/procps-3.3.9-r1.smage2
Parent Directory
|
Revision Log
Revision 20531 -
(show annotations)
(download)
Mon Jan 27 11:30:03 2014 UTC (10 years, 4 months ago) by niro
File size: 1068 byte(s)
Mon Jan 27 11:30:03 2014 UTC (10 years, 4 months ago) by niro
File size: 1068 byte(s)
-fixed src_check
1 | # $Id$ |
2 | |
3 | PNAME="procps" |
4 | PVER="3.3.9" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="Standard informational utilities and process-handling tools -ps top tload snice vmstat." |
10 | HOMEPAGE="http://gitorious.org/procps" |
11 | |
12 | DEPEND=">= sys-libs/ncurses-5.9 |
13 | >= sys-libs/libsystemd-login-208" |
14 | PROVIDE="virtual/procps" |
15 | |
16 | # using procps-ng |
17 | SRCFILE="${PNAME}-ng-${PVER}.tar.xz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-ng-${PVER}" |
19 | |
20 | sminclude multilib |
21 | |
22 | SRC_URI=( |
23 | sourceforge://${PNAME}-ng/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2TARBALL="${PNAME}-ng" |
28 | UP2DATE="updatecmd_sourceforge ${PNAME}-ng Production xz" |
29 | |
30 | src_check() |
31 | { |
32 | all-abis "sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp" || die |
33 | mmake -j1 -k check || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | # kill is provided by coreutils |
39 | # horrible broken Makefile |
40 | mconfigure \ |
41 | --prefix=/ \ |
42 | --bindir=/usr/bin \ |
43 | --sbindir=/usr/sbin \ |
44 | --includedir=/usr/include \ |
45 | --docdir=/usr/share/doc/${PNAME}-${PVER} \ |
46 | --disable-rpath \ |
47 | --disable-w-from \ |
48 | --disable-kill \ |
49 | --with-systemd \ |
50 | --enable-watch8bit \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |