You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/gnofract4d/gnofract4d-3.14.ebuild

47 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnofract4d/gnofract4d-3.14.ebuild,v 1.2 2012/05/05 07:00:19 jdhore Exp $
EAPI=3
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
PYTHON_MODNAME="fract4d fractutils fract4dgui"
inherit distutils eutils fdo-mime
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
>=media-libs/libpng-1.4
virtual/jpeg
>=dev-python/pygtk-2
>=gnome-base/gconf-2"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_install() {
distutils_src_install
rm -rf "${D}"/usr/share/doc/${PN}
}
pkg_postinst() {
distutils_pkg_postinst
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
pkg_postrm() {
distutils_pkg_postrm
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}