/[gentoo-x86]/app-laptop/ibam/ibam-0.4.ebuild
Gentoo

Contents of /app-laptop/ibam/ibam-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jan 23 01:06:46 2012 UTC (8 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
punt old, these have no chances of working

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ibam-0.4.ebuild,v 1.5 2010/01/01 20:56:59 ssuominen Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="Intelligent Battery Monitor"
8 HOMEPAGE="http://ibam.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86"
14
15 IUSE=""
16
17 DEPEND="sys-apps/sed"
18 RDEPEND=""
19
20 src_unpack() {
21 unpack ${A}
22
23 sed -i \
24 -e "s:^CFLAGS=-O3:CFLAGS=${CFLAGS}:" \
25 -e "s:^CC=g++:CC=$(tc-getCXX):" \
26 "${S}"/Makefile || die
27 }
28
29 src_compile() {
30 emake || die "emake failed"
31 }
32
33 src_install() {
34 dobin ibam || die
35
36 dodoc CHANGES README REPORT
37 }
38
39 pkg_postinst() {
40 elog
41 elog "You will need to install sci-visualization/gnuplot if you wish to use"
42 elog "the --plot argument to ibam."
43 elog
44 }

  ViewVC Help
Powered by ViewVC 1.1.20