annotate sys-libs/libstatgrab/libstatgrab-0.16.ebuild @ 3:e15b399580ab

mercurial 1.0 is in portage
author holger@hoho.dyndns.org
date Tue, 25 Mar 2008 20:51:38 +0100
parents 7985ba427c7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
1 # Copyright 1999-2004 Gentoo Foundation
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libstatgrab/libstatgrab-0.11.ebuild,v 1.1 2004/12/07 13:55:38 dragonheart Exp $
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
4
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
5 DESCRIPTION="Provides cross platform access to statistics about the system on which it's run."
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
6 HOMEPAGE="http://www.i-scream.org/libstatgrab/"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
7 SRC_URI="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
8
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
9 LICENSE="|| ( GPL-2 LGPL-2.1 )"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
10 SLOT=0
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
11 KEYWORDS="~x86 ~ppc"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
12 IUSE=""
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
13 RDEPEND=">=sys-libs/ncurses-5.4-r1
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
14 virtual/libc"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
15
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
16 DEPEND="${RDEPEND}
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
17 sys-apps/gawk
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
18 sys-apps/grep
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
19 sys-devel/gcc
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
20 dev-util/pkgconfig"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
21
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
22 src_compile() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
23 econf --disable-setgid-binaries --disable-setuid-binaries \
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
24 --disable-deprecated --with-ncurses || die "econf failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
25 emake || die "emake failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
26 }
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
27
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
28 src_install() {
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
29 emake DESTDIR=${D} install || die "einstall failed"
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
30 dodoc ChangeLog PLATFORMS NEWS AUTHORS README
7985ba427c7d initial import from svn
holger@wizards.de
parents:
diff changeset
31 }