/[gentoo-x86]/sys-power/acpid/acpid-2.0.16.ebuild
Gentoo

Contents of /sys-power/acpid/acpid-2.0.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Apr 16 05:39:30 2012 UTC (2 years, 2 months ago) by ssuominen
Branch: MAIN
Version bump wrt #410405 by "teidakankan"

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

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.14.ebuild,v 1.3 2012/03/24 17:26:23 phajdan.jr Exp $
4    
5     EAPI=4
6     inherit systemd
7    
8     DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
9     HOMEPAGE="http://tedfelix.com/linux/acpid-netlink.html"
10     SRC_URI="http://tedfelix.com/linux/${P}.tar.xz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14     KEYWORDS="~amd64 ~ia64 -ppc ~x86"
15     IUSE=""
16    
17     src_configure() {
18     econf --docdir=/usr/share/doc/${PF}
19     }
20    
21     src_install() {
22     emake DESTDIR="${D}" install
23    
24     newdoc kacpimon/README README.kacpimon
25     dodoc -r samples
26     rm -f "${D}"/usr/share/doc/${PF}/COPYING
27    
28     exeinto /etc/acpi
29     newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
30     insinto /etc/acpi/events
31     newins "${FILESDIR}"/${PN}-1.0.4-default default
32    
33     newinitd "${FILESDIR}"/${PN}-2.0.11-init.d acpid
34     newconfd "${FILESDIR}"/${PN}-1.0.6-conf.d acpid
35    
36     systemd_dounit "${FILESDIR}"/${PN}.service
37     }
38    
39     pkg_postinst() {
40     elog
41     elog "You may wish to read the Gentoo Linux Power Management Guide,"
42     elog "which can be found online at:"
43     elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
44     elog
45     }

  ViewVC Help
Powered by ViewVC 1.1.20