blob: 560ba0d13907e6b99cda86343ac54835203c1b43 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/qelectrotech-0.22.ebuild,v 1.3 2010/06/22 11:19:42 hwoarang Exp $
EAPI="2"
inherit qt4-r2
MY_P="${PN}-${PV}-src"
DESCRIPTION="Qt4 application to design electric diagrams"
HOMEPAGE="http://www.qt-apps.org/content/show.php?content=90198"
SRC_URI="http://download.tuxfamily.org/qet/tags/20100313/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug doc"
RDEPEND="x11-libs/qt-gui:4
x11-libs/qt-svg:4"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
S="${WORKDIR}"/${MY_P}
DOCS="CREDIT ChangeLog README"
PATCHES=( "${FILESDIR}/${PN}-0.2-fix-paths.patch" )
src_install() {
qt4-r2_src_install
if use doc; then
doxygen Doxyfile
dohtml -r doc/html/* || die "dohtml failed"
fi
}
|