summaryrefslogtreecommitdiff
blob: fc41937eb0535f80a1781229d5025e3e5c581fe6 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/smeg/smeg-0.7.5.ebuild,v 1.2 2005/06/07 22:28:38 lanius Exp $

DESCRIPTION="Simple Menu Editor for Gnome, written in Python"
HOMEPAGE="http://www.realistanew.com/projects/smeg/"
SRC_URI="http://dev.realistanew.com/smeg/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="gnome"

DEPEND=">=dev-lang/python-2.4
	>=dev-python/pyxdg-0.14
	gnome? ( >=gnome-base/gnome-menus-2.10.1 )"

src_compile() {
	einfo "No compilation necessary"
}

src_install() {
	python setup.py install --prefix=${D}/usr || die
	insinto /usr/share/applications
	doins smeg-kde.desktop
	doins smeg.desktop
}