You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1017 B
38 lines
1017 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/ddccontrol/ddccontrol-0.2.ebuild,v 1.5 2012/04/25 16:13:00 jlec Exp $
|
|
|
|
EAPI=1
|
|
|
|
DESCRIPTION="DDCControl allows control of monitor parameters via DDC"
|
|
HOMEPAGE="http://ddccontrol.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="gtk doc nls"
|
|
|
|
RDEPEND="dev-libs/libxml2:2
|
|
gtk? ( >=x11-libs/gtk+-2.4:2 )
|
|
sys-apps/pciutils
|
|
nls? ( sys-devel/gettext )
|
|
>=app-misc/ddccontrol-db-20050813"
|
|
DEPEND="${RDEPEND}
|
|
doc? ( >=app-text/docbook-xsl-stylesheets-1.65.1
|
|
>=dev-libs/libxslt-1.1.6
|
|
app-text/htmltidy )
|
|
sys-kernel/linux-headers"
|
|
|
|
src_compile() {
|
|
econf $(use_enable doc) \
|
|
$(use_enable gtk gnome) \
|
|
$(use_enable nls)
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="${D}" htmldir="/usr/share/doc/${PF}/html" install || die
|
|
dodoc AUTHORS ChangeLog NEWS README TODO
|
|
}
|