Initial commit wrt #163148 by Henning Schild.
authorSamuli Suominen <ssuominen@gentoo.org>
Thu, 8 Jul 2010 14:00:40 +0000 (14:00 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Thu, 8 Jul 2010 14:00:40 +0000 (14:00 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

sys-power/yacpi/ChangeLog [new file with mode: 0644]
sys-power/yacpi/Manifest [new file with mode: 0644]
sys-power/yacpi/metadata.xml [new file with mode: 0644]
sys-power/yacpi/yacpi-3.0.1.ebuild [new file with mode: 0644]

diff --git a/sys-power/yacpi/ChangeLog b/sys-power/yacpi/ChangeLog
new file mode 100644 (file)
index 0000000..67c2715
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for sys-power/yacpi
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/yacpi/ChangeLog,v 1.1 2010/07/08 14:00:40 ssuominen Exp $
+
+*yacpi-3.0.1 (08 Jul 2010)
+
+  08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> +yacpi-3.0.1.ebuild:
+  Initial commit wrt #163148 by Henning Schild.
+
diff --git a/sys-power/yacpi/Manifest b/sys-power/yacpi/Manifest
new file mode 100644 (file)
index 0000000..78683e8
--- /dev/null
@@ -0,0 +1,4 @@
+DIST yacpi-3.0.1.tar.gz 14508 RMD160 a92255055646db65f2828937153e4e7f8ea20d00 SHA1 4282cbdd546586e101c096d9fbf1445c31b62df8 SHA256 65148a7394d898edc64bcf9f866fe2e47dfdd1cb62c581623084d12946d56fae
+EBUILD yacpi-3.0.1.ebuild 852 RMD160 dff9c90b5b11622da8e49ea124dc74ad821a1467 SHA1 3aba354e9268617b1d3d3fb2e8bca76d86a0a3c9 SHA256 1d67802277a01597189b31cd78f14d19cb6b40612abfc5fa2af29d63b1681a32
+MISC ChangeLog 358 RMD160 e54e74babf249a6fea33445bedb59d518e1c169f SHA1 843605badcf1db425c3e9a039328697fbdbb7c50 SHA256 85acbe3cca8a36ccc027197f8382dfdd8140740fa1a7371e85287f03d0cae4e3
+MISC metadata.xml 265 RMD160 4e29caf7c07cb5748b7addd9099b2b7ce2261279 SHA1 7a0a54dad257757dab7c227301e18d89dba1ca14 SHA256 1758e0b339fd8e23c32c9c4427822ad5101f0924bf3cdacd5df1c20d28d60ea5
diff --git a/sys-power/yacpi/metadata.xml b/sys-power/yacpi/metadata.xml
new file mode 100644 (file)
index 0000000..209f844
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>mobile</herd>
+  <maintainer>
+    <email>ssuominen@gentoo.org</email>
+    <name>Samuli Suominen</name>
+  </maintainer>
+</pkgmetadata>
diff --git a/sys-power/yacpi/yacpi-3.0.1.ebuild b/sys-power/yacpi/yacpi-3.0.1.ebuild
new file mode 100644 (file)
index 0000000..b4b950d
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/yacpi/yacpi-3.0.1.ebuild,v 1.1 2010/07/08 14:00:40 ssuominen Exp $
+
+EAPI=3
+inherit toolchain-funcs
+
+DESCRIPTION="Yet Another Configuration and Power Interface"
+HOMEPAGE="http://www.ngolde.de/yacpi.html"
+SRC_URI="http://www.ngolde.de/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/libacpi
+       sys-libs/ncurses"
+
+src_prepare() {
+       sed -i \
+               -e 's:= -O2 -Wall -g:+= -Wall:' \
+               -e 's:${CC} -Wall:${CC} ${LDFLAGS} ${CFLAGS}:' \
+               -e '/strip/d' \
+               -e 's:COPYING::' \
+               Makefile || die
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+       emake \
+               prefix="${D}/usr" \
+               DOCPATH="${D}/usr/share/doc/${PF}" \
+               install || die
+
+       prepalldocs
+}