summaryrefslogtreecommitdiff
blob: 9f81d59fbfd1d579c75dc26265c89fa2d05447cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/acpi4asus-0.27.ebuild,v 1.1 2004/03/08 05:14:59 latexer Exp $

DESCRIPTION="Acpi daemon to control ASUS Laptop Hotkeys"
HOMEPAGE="http://sourceforge.net/projects/acpi4asus"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

src_compile() {
	make -C asus_acpid || die
	make -C asus_acpid man || die
}

src_install() {
	dobin asus_acpid/asus_acpid
	doman asus_acpid/asus_acpid.8.gz

	dodoc README Changelog

	dodir /usr/share/${PN}/samples
	insinto /usr/share/${PN}/samples
	doins samples/*.{sh,pl}

	dodir /usr/share/${PN}/samples/events
	insinto /usr/share/${PN}/samples/events
	doins samples/events/*
}

pkg_postinst() {
	einfo
	einfo "Don't forget to create your ~/.asus_acpi,"
	einfo "see /ush/share/docs/${P}/README for details"
	ewarn "You mast have 'ASUS/Medion Laptop Extras' kernel modules"
	einfo
}