blob: c0f5834209c4b088647c0a0b577bc8d4f976b384 [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/ddccontrol-db/ddccontrol-db-20061014.ebuild,v 1.7 2010/01/29 06:03:04 jer Exp $
DESCRIPTION="DDCControl monitor database"
HOMEPAGE="http://ddccontrol.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN/-db}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="nls"
RDEPEND="nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-perl/XML-Parser"
src_compile() {
econf $(use_enable nls) || die "econf failed"
# Touch db/options.xml.h, so it is not rebuilt
touch db/options.xml.h
emake # doesn't really build anything, but there for safety
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README
}