summaryrefslogtreecommitdiff
blob: fe623b345ea2136fc634ab5937b7ac3dc43caac0 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit qt4 git

EGIT_REPO_URI="git://git.altlinux.org/people/cas/packages/cuneiform-qt.git"

DESCRIPTION="Qt interface for Cuneiform"
HOMEPAGE="http://www.altlinux.org/Cuneiform-Qt"

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

DEPEND=">=x11-libs/qt-gui-4.4
	app-text/cuneiform"
RDEPEND="${DEPEND}"

src_compile () {
	cd "${S}/cuneiform-qt"
	sed 's:/share/apps/cuneiform-qt/:/share/cuneiform-qt/:' -i cuneiform-qt.pro || die "Cannot patch cuneiform-qt.pro"
	PREFIX="/usr" eqmake4 || die "Cannot run qmake"
	emake || die "Cannot run make"
}

src_install() {
	cd "${S}/cuneiform-qt"
	dodoc AUTHORS README TODO || die "Cannot install docs"
	INSTALL_ROOT="${D}" emake install || die "Cannot install"
}