blob: a5bbcabb1d0c580231e3bbe6e5a3866fe8a8598a (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnofract4d/gnofract4d-3.11.ebuild,v 1.1 2009/05/10 17:51:55 ssuominen Exp $
EAPI=1
inherit distutils fdo-mime multilib python
DESCRIPTION="a program for drawing beautiful mathematically-based images known as fractals."
HOMEPAGE="http://gnofract4d.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2:2
media-libs/libpng
media-libs/jpeg
>=dev-python/pygtk-2
>=gnome-base/gconf-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_install() {
distutils_src_install
rm -rf "${D}"/usr/share/doc/${PN}
}
pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/fract*
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
pkg_postrm() {
python_mod_cleanup
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
|