Magellan Linux

Contents of /trunk/core/procinfo/procinfo-18-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 858 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/procinfo/procinfo-18-r8.smage2,v 1.1 2008/02/11 23:08:38 niro Exp $
2
3 PNAME="procinfo"
4 PVER="18"
5 PBUILD="r8"
6
7 PCATEGORIE="app-admin"
8 STATE="unstable"
9
10 DESCRIPTION="A utility to prettyprint /proc/*."
11 HOMEPAGE="ftp://ftp.cistron.nl/pub/people/svm/"
12
13 DEPEND=">= sys-libs/ncurses-5.6"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 SRC_URI=(
19 ftp://ftp.cistron.nl/pub/people/00-OLD/svm/${SRCFILE}
20 mirror://${PNAME}/${SRCFILE}
21 )
22
23 UP2DATE="updatecmd ftp://ftp.cistron.nl/pub/people/00-OLD/svm | grep ${PNAME}- | lasttarball gz"
24
25 src_prepare()
26 {
27 munpack ${SRCFILE} || die
28 cd ${SRCDIR}
29
30 # fix man location
31 sed -i 's:$(prefix)/man:$(prefix)/share/man:g' Makefile || die
32 }
33
34 src_compile()
35 {
36 cd ${SRCDIR}
37 mmake LDLIBS=-lncurses CFLAGS="${CFLAGS}" || die
38 }
39
40 src_install()
41 {
42 cd ${SRCDIR}
43 minstall || die
44 }

Properties

Name Value
svn:keywords Id