0
|
1 # Copyright 1999-2004 Gentoo Foundation
|
|
2 # Distributed under the terms of the GNU General Public License v2
|
|
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libstatgrab/libstatgrab-0.11.ebuild,v 1.1 2004/12/07 13:55:38 dragonheart Exp $
|
|
4
|
|
5 DESCRIPTION="Provides cross platform access to statistics about the system on which it's run."
|
|
6 HOMEPAGE="http://www.i-scream.org/libstatgrab/"
|
|
7 SRC_URI="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz"
|
|
8
|
|
9 LICENSE="|| ( GPL-2 LGPL-2.1 )"
|
|
10 SLOT=0
|
|
11 KEYWORDS="~x86 ~ppc"
|
|
12 IUSE=""
|
|
13 RDEPEND=">=sys-libs/ncurses-5.4-r1
|
|
14 virtual/libc"
|
|
15
|
|
16 DEPEND="${RDEPEND}
|
|
17 sys-apps/gawk
|
|
18 sys-apps/grep
|
|
19 sys-devel/gcc
|
|
20 dev-util/pkgconfig"
|
|
21
|
|
22 src_compile() {
|
|
23 econf --disable-setgid-binaries --disable-setuid-binaries \
|
|
24 --disable-deprecated --with-ncurses || die "econf failed"
|
|
25 emake || die "emake failed"
|
|
26 }
|
|
27
|
|
28 src_install() {
|
|
29 emake DESTDIR=${D} install || die "einstall failed"
|
|
30 dodoc ChangeLog PLATFORMS NEWS AUTHORS README
|
|
31 }
|