blob: 1455a20990b4ab33089fb4d101c35a6fcec90353 (
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
41
42
43
44
45
46
47
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit qt4-r2 eutils
DESCRIPTION="Simple graphic IDE for the development of PIC-based applications"
HOMEPAGE="http://pikdev.free.fr/"
SRC_URI="http://pikdev.free.fr/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qt3support:4
dev-qt/qtwebkit:4"
RDEPEND="${DEPEND}
>=dev-embedded/gputils-1.0.0"
S="${WORKDIR}/${P}/src"
src_prepare() {
rm pkp.pro || die 'rm failed' # TODO: support pkp, maybe with a separated package
qt4-r2_src_prepare
}
src_install() {
qt4-r2_src_install
doicon icons/256/pikdev-app-v4.png
make_desktop_entry pikdev 'PIKdev for Qt4' pikdev-app-v4
dosym "${P}" "/usr/bin/${PN}"
}
pkg_postinst() {
elog "Additional packages that you may want to install:"
elog
elog "- dev-embedded/cpik - C compiler for PIC18 devices"
elog "- dev-embedded/pk2cmd - Microchip PicKit2 PIC programmer support"
elog
}
|