# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Program to automatically probe a monitor for information"
HOMEPAGE="http://www.knopper.net"

MY_PV=${PV}-4
SRC_URI="http://developer.linuxtag.net/knoppix/sources/${PN}_${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

IUSE=""

DEPEND="virtual/glibc"
#RDEPEND=""

S=${WORKDIR}/${P}

src_compile() {
	emake || die
}

src_install() {
	# Yes, this is ugly, however it's easier to fix it
	# here than patch the Makefile, which may change
	dodir /usr/sbin
	install ddcxinfo-knoppix ${D}/usr/sbin
	dodoc debian/changelog debian/control debian/copyright README COPYING
	doman debian/ddcxinfo-knoppix.1
}