Magellan Linux

Contents of /trunk/core/procps/procps-3.3.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13473 - (show annotations) (download)
Tue Oct 9 14:58:04 2012 UTC (11 years, 8 months ago) by niro
File size: 1065 byte(s)
-fixed broken Makefile
1 # $Id$
2
3 PNAME="procps"
4 PVER="3.3.3"
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 # do not use updatecmd_sourceforge; there is nothing
27 UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
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 || die
53
54 mmake || die
55 }
56