Contents of /branches/R11-stable/core/procps/procps-3.3.8-r1.smage2
Parent Directory | Revision Log
Revision 17788 -
(show annotations)
(download)
Wed Jun 26 12:31:49 2013 UTC (10 years, 11 months ago) by niro
File size: 1143 byte(s)
Wed Jun 26 12:31:49 2013 UTC (10 years, 11 months ago) by niro
File size: 1143 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="procps" |
4 | PVER="3.3.8" |
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-202" |
14 | PROVIDE="virtual/procps" |
15 | |
16 | # using procps-ng |
17 | SRCFILE="${PNAME}-ng-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PNAME}" |
19 | |
20 | sminclude multilib |
21 | |
22 | SRC_URI=( |
23 | #http://gitorious.org/procps/procps/archive-tarball/v${PVER} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/trees/ | grep '/trees/v' | sed -n 's:.*/trees/v\(.*\):\1:;$ p'" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | |
33 | # satisfy misc/git-version-gen |
34 | all-abis "echo ${PVER} > .tarball-version" || die |
35 | |
36 | all-abis ./autogen.sh || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | # kill is provided by coreutils |
42 | # horrible broken Makefile |
43 | mconfigure \ |
44 | --prefix=/ \ |
45 | --bindir=/usr/bin \ |
46 | --sbindir=/usr/sbin \ |
47 | --includedir=/usr/include \ |
48 | --docdir=/usr/share/doc/${PNAME}-${PVER} \ |
49 | --disable-rpath \ |
50 | --disable-w-from \ |
51 | --disable-kill \ |
52 | --with-systemd \ |
53 | --enable-watch8bit \ |
54 | || die |
55 | |
56 | mmake || die |
57 | } |
58 |