/[gentoo-x86]/media-gfx/gnofract4d/gnofract4d-3.13.ebuild
Gentoo

Contents of /media-gfx/gnofract4d/gnofract4d-3.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat May 5 07:00:19 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gnofract4d/gnofract4d-3.13.ebuild,v 1.4 2011/03/04 22:30:04 arfrever Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2:2.6"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
10
11 inherit distutils eutils fdo-mime
12
13 DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
14 HOMEPAGE="http://gnofract4d.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
16
17 LICENSE="BSD"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE=""
21
22 RDEPEND="x11-libs/gtk+:2
23 >=media-libs/libpng-1.4
24 virtual/jpeg
25 >=dev-python/pygtk-2
26 >=gnome-base/gconf-2"
27 DEPEND="${RDEPEND}
28 virtual/pkgconfig"
29
30 PYTHON_MODNAME="fract4d fractutils fract4dgui"
31
32 src_prepare() {
33 epatch "${FILESDIR}"/${PN}-3.12-libpng14.patch
34 distutils_src_prepare
35 }
36
37 src_install() {
38 distutils_src_install
39 rm -rf "${D}"/usr/share/doc/${PN}
40 }
41
42 pkg_postinst() {
43 distutils_pkg_postinst
44 fdo-mime_desktop_database_update
45 fdo-mime_mime_database_update
46 }
47
48 pkg_postrm() {
49 distutils_pkg_postrm
50 fdo-mime_desktop_database_update
51 fdo-mime_mime_database_update
52 }

  ViewVC Help
Powered by ViewVC 1.1.20