/[gentoo-x86]/media-gfx/mandelbulber/mandelbulber-1.21.1.ebuild
Gentoo

Contents of /media-gfx/mandelbulber/mandelbulber-1.21.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Feb 8 07:20:50 2014 UTC (4 years, 3 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Version bump, install desktop file (bug #496042).

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6 inherit eutils toolchain-funcs versionator
7
8 MY_P=${PN}$(replace_version_separator 2 '-' ).orig
9
10 DESCRIPTION="Tool to render 3D fractals"
11 HOMEPAGE="http://sites.google.com/site/mandelbulber/home"
12 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 RDEPEND="x11-libs/gtk+:2
20 dev-libs/glib:2
21 >=media-libs/libpng-1.4:0=
22 virtual/jpeg"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/${MY_P}
27
28 src_prepare() {
29 epatch "${FILESDIR}"/${P}-qa.patch
30 }
31
32 src_compile() {
33 emake CXX="$(tc-getCXX)" -C makefiles all
34 }
35
36 src_install() {
37 dobin makefiles/${PN}
38 dodoc README NEWS
39 insinto /usr/share/${PN}
40 doins -r usr/share/*
41 domenu ${PN}.desktop
42 }
43
44 pkg_postinst() {
45 if [[ -z "${REPLACING_VERSIONS}" ]]; then
46 elog "Before you run ${PN} please copy /usr/share/${PN}/* to \${HOME}/.${PN}"
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20