blob: 4b4280518d8111988609ff1ec1daa6f6e925021b (
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
33
34
35
36
37
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/qchartdiary/qchartdiary-0.6.4.1-r2.ebuild,v 1.4 2013/03/02 19:36:46 hwoarang Exp $
EAPI="2"
inherit qt4-r2
MY_PN="QChartDiary"
DESCRIPTION="Free Qt4 diary/agenda application"
HOMEPAGE="http://qt-apps.org/content/show.php?content=99294"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug"
DEPEND="dev-qt/qtgui:4
dev-qt/qtsql:4"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}"
DOCS="AUTHORS CHANGELOG README"
src_prepare() {
sed -i "s/doc\/${MY_PN}/doc\/${PF}/" ${MY_PN}.pro \
|| die "failed to fix documentation path"
qt4-r2_src_prepare
}
src_install() {
qt4-r2_src_install
dobin ${MY_PN} || die "dobin failed"
}
|