blob: 8eda03aa54e3c249aa8c758e7430aeee7b527762 (
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
38
39
40
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit qt4
KEYWORDS="~x86"
MY_PN="${PN}-src"
DESCRIPTION="Monkey Studio is a cross platform Qt 4 IDE"
HOMEPAGE="http://www.sourceforge.net/projects/monkeystudio"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.zip"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc"
DEPEND="$(qt4_min_version 4)"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_PN}-${PV}
src_unpack() {
unpack ${A}
sed -i \
-e 's#/build/#build/#g' \
"${S}/monkey.pro" || die "build-dir fix failed"
}
src_compile() {
qmake || die "qmake failed"
emake || die "emake failed"
}
src_install() {
dodoc {Readme,ToDo,WishList,Informations,Changes,Bugs}.txt
dobin binary/monkey_x11
dosym monkey_x11 /usr/bin/monkeystudio
use doc && dohtml -r docqt4ds/english/html/*
}
|