blob: 9bba17f60ae1667239d9421890008eeb121aebba (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
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
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"
}
|