Files @ 794dc86717e2
Branch filter:

Location: portage-overlay.git/app-laptop/smartdimmer/smartdimmer-0.1.ebuild

794dc86717e2 793 B application/vnd.gentoo.ebuild Show Annotation Show as Raw Download as Raw
chain
initial commit of main tree
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_P="${PN}-${PV}"
S=${WORKDIR}/${PN}
DESCRIPTION="Smartdimmer"
HOMEPAGE="http://www.acc.umu.se/~erikw/program/"
SRC_URI="http://www.acc.umu.se/~erikw/program/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"


RDEPEND="virtual/libc"

DEPEND="${RDEPEND}
	sys-devel/autoconf"

src_unpack() {
	unpack ${A}
	cd ${S}
}

src_compile() {
	./configure --prefix=/usr || die "Configure failed"
	make all || die "Make failed"
}

src_install() {
	dodir /usr/bin
	einstall || die
	dodoc README
}

pkg_postinst() {
	einfo "To enable the smartdimmer at boot edit /etc/conf.d/local.start"
	einfo "See http://forums.gentoo.org/viewtopic-t-361872.html for news"
}