blob: 63c67d6fc166d6df08377bd2bb1bb77c01f3dd48 (
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
48
49
50
51
52
53
54
55
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/oregano-0.50.1.ebuild,v 1.1 2006/07/26 13:59:55 gustavoz Exp $
inherit eutils fdo-mime
DESCRIPTION="Oregano is an application for schematic capture and simulation of electrical circuits."
SRC_URI="http://gforge.lug.fi.uba.ar/frs/download.php/82/${P}.tar.gz"
HOMEPAGE="http://oregano.gforge.lug.fi.uba.ar/"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=dev-libs/libxml2-2.6.20
>=app-text/scrollkeeper-0.3.14
>=x11-libs/gtk+-2.8
>=gnome-base/libglade-2.5
>=gnome-base/libgnome-2.12
>=gnome-base/libgnomeui-2.12
>=gnome-base/libgnomecanvas-2.12
>=gnome-base/libgnomeprint-2.12
>=gnome-base/libgnomeprintui-2.12
>=x11-libs/cairo-1.0.0
>=x11-libs/gtksourceview-1.2
>=dev-util/scons-0.96.1"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-dont-run-update-mime-database.patch
}
src_compile() {
scons --cache-disable \
PREFIX=/usr \
|| die "scons make failed"
}
src_install() {
scons --cache-disable DESTDIR=${D} PREFIX=/usr install \
|| die "scons install failed"
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
}
pkg_postinst() {
fdo-mime_desktop_database_update
einfo
einfo "You'll need to emerge your prefered simulation backend"
einfo "such as spice, ng-spice-rework or gnucap for simulation"
einfo "to work."
einfo
ebeep 5
epause 3
}
|