summaryrefslogtreecommitdiff
blob: 82d4a3bbb7ad18290f783629a9eac48bedce8fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/qpxtool/qpxtool-0.6.1.ebuild,v 1.3 2007/10/08 20:22:39 coldwind Exp $

inherit kde-functions qt3 multilib eutils

DESCRIPTION="cd/dvd quality checker for a variety of drives"
HOMEPAGE="http://qpxtool.sourceforge.net/"
SRC_URI="mirror://sourceforge/qpxtool/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="=x11-libs/qt-3*"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i \
		-e '/^PREFIX/s:/usr/local:/usr:' \
		-e "/^LIBDIR/s:/lib:/$(get_libdir):" \
		Makefile || die
}

src_install() {
	emake install DESTDIR="${D}" || die
	newicon qpxtool-gui/img/q.xpm ${PN}.xpm
	make_desktop_entry ${PN} Qpxtool ${PN}.xpm "Utility;Qt;DiscBurning"
	dodoc AUTHORS ChangeLog README TODO
}