Magellan Linux

Contents of /branches/R11-stable/core/procps/procps-3.3.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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