# 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 }