| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-office/qchartdiary/qchartdiary-0.6.4.1-r1.ebuild,v 1.1 2009/12/26 10:55:11 hwoarang Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
|
| 7 |
inherit qt4-r2
|
| 8 |
|
| 9 |
MY_PN="QChartDiary"
|
| 10 |
|
| 11 |
DESCRIPTION="Free Qt4 diary/agenda application"
|
| 12 |
HOMEPAGE="http://qt-apps.org/content/show.php?content=99294"
|
| 13 |
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.tar.gz"
|
| 14 |
|
| 15 |
LICENSE="GPL-3"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="~amd64 ~x86"
|
| 18 |
IUSE="debug"
|
| 19 |
|
| 20 |
DEPEND="x11-libs/qt-gui:4
|
| 21 |
x11-libs/qt-sql:4"
|
| 22 |
RDEPEND="${DEPEND}"
|
| 23 |
|
| 24 |
S="${WORKDIR}/${MY_PN}"
|
| 25 |
|
| 26 |
DOCS="AUTHORS CHANGELOG README"
|
| 27 |
|
| 28 |
src_prepare() {
|
| 29 |
sed -i "s/doc\/${MY_PN}/doc\/${PF}/" ${MY_PN}.pro \
|
| 30 |
|| die "failed to fix documentation path"
|
| 31 |
qt4-r2_src_prepare
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
qt4-r2_src_install
|
| 36 |
dobin ${MY_PN} || die "dobin failed"
|
| 37 |
}
|