Annotation of /trunk/core/procinfo/procinfo-2.0.304-r5.smage2
Parent Directory | Revision Log
Revision 10218 -
(hide annotations)
(download)
Fri Jan 20 09:38:19 2012 UTC (12 years, 8 months ago) by niro
File size: 1169 byte(s)
Fri Jan 20 09:38:19 2012 UTC (12 years, 8 months ago) by niro
File size: 1169 byte(s)
-no check target in Makefile
1 | niro | 9749 | # $Id$ |
2 | |||
3 | PNAME="procinfo" | ||
4 | PVER="2.0.304" | ||
5 | PBUILD="r5" | ||
6 | |||
7 | niro | 10217 | PCAT="app-admin" |
8 | niro | 9749 | |
9 | DESCRIPTION="procinfo-ng: utilities to prettyprint /proc/*." | ||
10 | HOMEPAGE="http://procinfo-ng.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= sys-libs/ncurses-5.9 | ||
13 | >= dev-lang/perl-5.14 | ||
14 | >= sys-libs/libstdc++-4.6" | ||
15 | |||
16 | SRCFILE="${PNAME}-ng-${PVER}.tar.bz2" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-ng-${PVER}" | ||
18 | |||
19 | # the old procinfo tools | ||
20 | OLD_PROCINFO_SRCFILE="${PNAME}-18.tar.gz" | ||
21 | OLD_PROCINFO_SRCDIR="${BUILDDIR}/${PNAME}-18" | ||
22 | |||
23 | sminclude mbuild mtools | ||
24 | niro | 10218 | msetfeature "!check" |
25 | niro | 9749 | |
26 | SRC_URI=( | ||
27 | sourceforge://${PNAME}-ng/${SRCFILE} | ||
28 | ftp://ftp.cistron.nl/pub/people/00-OLD/svm/${OLD_PROCINFO_SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | mirror://${PNAME}/${OLD_PROCINFO_SRCFILE} | ||
31 | ) | ||
32 | |||
33 | UP2DATE="updatecmd_sourceforge ${PNAME}-ng" | ||
34 | |||
35 | src_prepare() | ||
36 | { | ||
37 | munpack ${SRCFILE} || die | ||
38 | munpack ${OLD_PROCINFO_SRCFILE} || die | ||
39 | } | ||
40 | |||
41 | src_install() | ||
42 | { | ||
43 | cd ${SRCDIR} | ||
44 | mmake DESTDIR=${BINDIR} install || die | ||
45 | |||
46 | # install missing tools from old procinfo package | ||
47 | minstallexec ${OLD_PROCINFO_SRCDIR}/lsdev.pl /usr/bin/lsdev || die | ||
48 | minstallexec ${OLD_PROCINFO_SRCDIR}/socklist.pl /usr/bin/socklist || die | ||
49 | minstallman ${OLD_PROCINFO_SRCDIR}/\*.8 || die | ||
50 | |||
51 | minstalldocs *.txt || die | ||
52 | } |