summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-01-07 08:56:30 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-01-07 08:56:30 +0000
commitef2167079d3ea48491cc02041e831e4f089c36d6 (patch)
tree6131a44a2d702bf79e971a2797d7018b5ed65028 /app-cdr/qpxtool/qpxtool-0.7.0.ebuild
parentmigrated to qt4-r2 eclass (diff)
downloadgentoo-2-ef2167079d3ea48491cc02041e831e4f089c36d6.tar.gz
gentoo-2-ef2167079d3ea48491cc02041e831e4f089c36d6.tar.bz2
gentoo-2-ef2167079d3ea48491cc02041e831e4f089c36d6.zip
migrated to qt4-r2 eclass
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/qpxtool/qpxtool-0.7.0.ebuild')
-rw-r--r--app-cdr/qpxtool/qpxtool-0.7.0.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/app-cdr/qpxtool/qpxtool-0.7.0.ebuild b/app-cdr/qpxtool/qpxtool-0.7.0.ebuild
index fc1ff6afd3c8..c5112908624e 100644
--- a/app-cdr/qpxtool/qpxtool-0.7.0.ebuild
+++ b/app-cdr/qpxtool/qpxtool-0.7.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/qpxtool/qpxtool-0.7.0.ebuild,v 1.2 2009/12/29 20:32:15 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/qpxtool/qpxtool-0.7.0.ebuild,v 1.3 2010/01/07 08:56:30 hwoarang Exp $
EAPI=2
-inherit eutils toolchain-funcs qt4
+inherit eutils toolchain-funcs qt4-r2
DESCRIPTION="CD/DVD quality checking utilities"
HOMEPAGE="http://qpxtool.sourceforge.net/"
@@ -18,6 +18,7 @@ DEPEND="x11-libs/qt-gui:4
media-libs/libpng"
MAKEOPTS="${MAKEOPTS} -j1"
+DOCS="AUTHORS ChangeLog README ReleaseNotes TODO"
src_prepare() {
epatch "${FILESDIR}"/${P}-lrelease.patch
@@ -28,17 +29,12 @@ src_configure() {
./configure --prefix=/usr || die
cd gui
mv -vf Makefile Makefile.orig || die "Backup Makefile for install"
- eqmake4 qpxtool.pro
-}
-
-src_compile() {
- emake || die
+ qt4-r2_src_configure
}
src_install() {
mv -vf gui/Makefile.orig gui/Makefile || die "Restore Makefile for install"
dodir /usr/bin
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog README ReleaseNotes TODO
dohtml status.html
+ qt4-r2_src_install
}