summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-07-29 22:01:07 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-07-29 22:01:07 +0000
commitd94932ff0c0dcc92f5f67f8831b205574310b63b (patch)
tree3450f3a520d322a798ec8d686b19bb05d40114fb /app-laptop/ibam
parentVersion bump (diff)
downloadhistorical-d94932ff0c0dcc92f5f67f8831b205574310b63b.tar.gz
historical-d94932ff0c0dcc92f5f67f8831b205574310b63b.tar.bz2
historical-d94932ff0c0dcc92f5f67f8831b205574310b63b.zip
Version bump. Per bugs #231785 and #275624.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'app-laptop/ibam')
-rw-r--r--app-laptop/ibam/ChangeLog10
-rw-r--r--app-laptop/ibam/Manifest16
-rw-r--r--app-laptop/ibam/ibam-0.5.2.ebuild52
-rw-r--r--app-laptop/ibam/metadata.xml5
4 files changed, 78 insertions, 5 deletions
diff --git a/app-laptop/ibam/ChangeLog b/app-laptop/ibam/ChangeLog
index 24e2430bb0d9..e325fc8eea0f 100644
--- a/app-laptop/ibam/ChangeLog
+++ b/app-laptop/ibam/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-laptop/ibam
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ChangeLog,v 1.5 2007/03/04 20:05:22 peper Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ChangeLog,v 1.6 2009/07/29 22:01:07 scarabeus Exp $
+
+*ibam-0.5.2 (29 Jul 2009)
+
+ 29 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +ibam-0.5.2.ebuild,
+ metadata.xml:
+ Version bump. Per bugs #231785 and #275624.
04 Mar 2007; Piotr Jaroszyński <peper@gentoo.org> ibam-0.4.ebuild:
Fix incomplete media-gfx/gnuplot -> sci-visualization/gnuplot move.
diff --git a/app-laptop/ibam/Manifest b/app-laptop/ibam/Manifest
index 1e659f88467d..ca739f20a130 100644
--- a/app-laptop/ibam/Manifest
+++ b/app-laptop/ibam/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST ibam-0.4.tar.gz 18913 RMD160 b834e1deae6989a23d2130810f8dcb9e9cb71616 SHA1 cab718518acb0b945078479d3c8540bb09892ccc SHA256 962b55ef610ffd5f954938188f3275e4c2c673e79015361718b83a3469be155b
+DIST ibam-0.5.2.tar.gz 22149 RMD160 c9a662abad521b4604c875ff3403d52f6aafc1d7 SHA1 79321ff80f4cf3a2b8b92522b5b652aaaefd09c1 SHA256 d668f23088e48be537dbf3ab63f1a8f6f9acb32031b1f6ba6fb185e9e6079d91
EBUILD ibam-0.4.ebuild 844 RMD160 639e30ddee2da5d7fdd01dda61b21e43b54ad184 SHA1 3d70f29637f29aa8fe0f6e1dce062967015b3489 SHA256 d87235d1cefbc6a2ad2c4faa8cfa7ae6fdeed57ce24d2642a4ca4f892a511632
-MISC ChangeLog 772 RMD160 ef50e1f71ad8d0efbb64fba612ce31f0a4a1c7de SHA1 cef49acb27a57fa5d835f784a2ba6b39fa3bf5f8 SHA256 f728479326eedc66d301d11b4defeb1f3c398792e36d3e84b02ebfdcfa544d69
-MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f
+EBUILD ibam-0.5.2.ebuild 1184 RMD160 920627d6d026e3f2b9afd4754cbe644cfb8226bb SHA1 561804d0b0f337ad62b2365ff8036893a58b67de SHA256 62402dbc8512551d298eb7aaab0387199747ea85fbadfa9819e4365b48645261
+MISC ChangeLog 941 RMD160 8b02b4d41cbbdf3844283d3d7e72e105c06fc11c SHA1 1b9eb604c67fe0e9f80b9e22f228d6b4485f6299 SHA256 6ce5c94ddfdffc259b2cffa07e09947a1a978de5799ead68fa5d9abc2a0f39f5
+MISC metadata.xml 249 RMD160 8e04b6b64876b3561df5a52d024986c36201916b SHA1 e947ac2259f4d344c91643adc614dbc39f707fa5 SHA256 197f0b2a7a62cad0ab840b016160b31b1665775cc5d6f1302c4823bc58f883ef
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkpwxqoACgkQHB6c3gNBRYeV5wCfVSu/677kUPqjUF5yx0Lil2hr
+0g0An2StLZ729+YJuNoM382eC+bmB/Mk
+=0jdM
+-----END PGP SIGNATURE-----
diff --git a/app-laptop/ibam/ibam-0.5.2.ebuild b/app-laptop/ibam/ibam-0.5.2.ebuild
new file mode 100644
index 000000000000..1719dd61fdd8
--- /dev/null
+++ b/app-laptop/ibam/ibam-0.5.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ibam-0.5.2.ebuild,v 1.1 2009/07/29 22:01:07 scarabeus Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Intelligent Battery Monitor"
+HOMEPAGE="http://ibam.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="gkrellm"
+
+DEPEND="gkrellm? ( app-admin/gkrellm )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:^CFLAGS=-O3:CFLAGS=${CFLAGS}:" \
+ -e "s:^CC=g++:CC=$(tc-getCXX):" \
+ "${S}"/Makefile \
+ || die "Sed Makefile failed"
+}
+
+src_compile() {
+ emake || die "Making ibam failed"
+ if use gkrellm; then
+ emake krell || die "Making krell failed"
+ fi
+}
+
+src_install() {
+ dobin ibam || die "dobin failed"
+ dodoc CHANGES README REPORT || die "dodoc failed"
+
+ if use gkrellm; then
+ insinto /usr/$(get_libdir)/gkrellm2/plugins
+ doins ibam-krell.so || die "doins gkrellm plugin failed"
+ fi
+}
+
+pkg_postinst() {
+ elog
+ elog "You will need to install sci-visualization/gnuplot if you wish to use"
+ elog "the --plot argument to ibam."
+ elog
+}
diff --git a/app-laptop/ibam/metadata.xml b/app-laptop/ibam/metadata.xml
index b27ff8eb4ed6..53134acb289e 100644
--- a/app-laptop/ibam/metadata.xml
+++ b/app-laptop/ibam/metadata.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>mobile</herd>
+ <herd>mobile</herd>
+ <use>
+ <flag name="gkrellm">Enable building of app-admin/gkrellm module</flag>
+ </use>
</pkgmetadata>