summaryrefslogtreecommitdiff
blob: 95df534e5755dd3646aabe62df1c95640491c048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Morgan Christiansson <mog@linux.nu>
# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/procinfo-18.ebuild,v 1.2 2002/07/06 18:49:03 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A utility to prettyprint /proc/*"
SRC_URI="ftp://ftp.cistron.nl/pub/people/svm/${P}.tar.gz"
HOMEPAGE="ftp://ftp.cistron.nl/pub/people/svm/"
LICENSE="GPL-2"

DEPEND="virtual/glibc
	sys-libs/ncurses"

RDEPEND="sys-devel/perl"


src_compile() {

    # -ltermcap is default and isn't available in gentoo
    # but -lncurses works just as good
    emake LDLIBS=-lncurses || die
}

src_install () {

    dobin procinfo
    newbin lsdev.pl lsdev
    newbin socklist.pl socklist
    
    doman *.8
    dodoc README CHANGES
}