Annotation of /trunk/core/procps/procps-3.3.15-r1.smage2
Parent Directory | Revision Log
Revision 30956 -
(hide annotations)
(download)
Tue May 22 11:22:29 2018 UTC (6 years, 4 months ago) by niro
File size: 1486 byte(s)
Tue May 22 11:22:29 2018 UTC (6 years, 4 months ago) by niro
File size: 1486 byte(s)
auto added: ver bump to 3.3.15-r1
1 | niro | 30956 | # $Id$ |
2 | |||
3 | PNAME="procps" | ||
4 | PVER="3.3.15" | ||
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-6.0 | ||
13 | >= sys-libs/libsystemd-230" | ||
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 mbuild | ||
21 | msetfeature "!check" # fixme | ||
22 | |||
23 | SRC_URI=( | ||
24 | sourceforge://${PNAME}-ng/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2TARBALL="${PNAME}-ng" | ||
29 | UP2DATE="updatecmd_sourceforge ${PNAME}-ng Production xz" | ||
30 | |||
31 | src_check() | ||
32 | { | ||
33 | all-abis "sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp" || die | ||
34 | mmake -j1 -k check || die | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | # kill is provided by coreutils | ||
40 | # horrible broken Makefile | ||
41 | mconfigure \ | ||
42 | --prefix=/ \ | ||
43 | --bindir=/usr/bin \ | ||
44 | --sbindir=/usr/sbin \ | ||
45 | --includedir=/usr/include \ | ||
46 | --docdir=/usr/share/doc/${PNAME}-${PVER} \ | ||
47 | --disable-rpath \ | ||
48 | --disable-w-from \ | ||
49 | --disable-kill \ | ||
50 | --with-systemd \ | ||
51 | --enable-watch8bit \ | ||
52 | || die | ||
53 | |||
54 | mmake || die | ||
55 | } | ||
56 | |||
57 | preinstall() | ||
58 | { | ||
59 | if [[ ! -z $(magequery -n sysvinit-tools) ]] | ||
60 | then | ||
61 | echo -e ${COLRED} | ||
62 | echo -e "Error: sys-apps/sysvinit-tools is installed!!" | ||
63 | echo -e "sysvinit-tools are now provided by procps and util-linux and doesn't need an extra package anymore." | ||
64 | echo -e "Please uninstall sys-apps/sysvinit-tools first!" | ||
65 | echo -e ${COLDEFAULT} | ||
66 | die "sys-apps/sysvinit-tools found!" | ||
67 | fi | ||
68 | } |