summaryrefslogtreecommitdiff
blob: 981a79c56a01819346bad213772eb86e66a1f19b (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pikdev/pikdev-0.9.2.1.ebuild,v 1.5 2007/04/12 22:55:51 opfer Exp $

inherit kde versionator

MY_P=${PN}-$(replace_version_separator 3 '-' )
DESCRIPTION="Graphical IDE for PIC-based application development"
HOMEPAGE="http://pikdev.free.fr/"
SRC_URI="http://pikdev.free.fr/${MY_P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}/${MY_P}"

RDEPEND="dev-embedded/gputils"

need-kde 3

src_unpack() {
	kde_src_unpack
	cd "${S}"
	# Do not install .desktop file, it's misplaced and useless
	sed -i -e "s:install-shelldesktopDATA install-shellrcDATA:install-shellrcDATA:" src/Makefile.in
}

src_install() {
	kde_src_install all
	make_desktop_entry pikdev PiKdev /usr/share/icons/hicolor/32x32/apps/pikdev.png
}