# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/qpxtool/qpxtool-0.5.4.ebuild,v 1.1 2006/07/17 23:56:19 vapier Exp $ inherit kde-functions qt3 eutils DESCRIPTION="cd/dvd quality checker for a variety of drives" HOMEPAGE="http://qpxtool.sourceforge.net/" SRC_URI="mirror://sourceforge/qpxtool/qpxtool-0.6.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="=x11-libs/qt-3* =dev-util/scons-0.96.92" S=${WORKDIR}/${PN}-0.6 src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/set-qt3-paths.patch epatch "${FILESDIR}"/cd-silent-mode-speed-limit.patch } src_compile() { addwrite /usr/lib:/usr/local/lib emake || die "emake failed" } src_install() { dobin bin/qpxtool || die "dobin qpxtool failed" dobin bin/pxcontrol || die "dobin pxcontrol failed" dobin bin/pioquiet || die "dobin pioquiet failed" dodoc {AUTHORS,ChangeLog,README,TODO} }