/[gentoo-x86]/media-gfx/surf/surf-1.0.5-r1.ebuild
Gentoo

Contents of /media-gfx/surf/surf-1.0.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 19 13:59:25 2009 UTC (11 years, 2 months ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old version.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/surf-1.0.5-r1.ebuild,v 1.1 2008/07/09 21:41:27 loki_val Exp $
4
5 inherit eutils base autotools
6
7 DESCRIPTION="a tool to visualize algebraic curves and algebraic surfaces"
8 HOMEPAGE="http://surf.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/surf/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 KEYWORDS="~amd64 ~ppc ~x86"
13 SLOT="0"
14 IUSE="gtk"
15
16 RDEPEND="gtk? ( =x11-libs/gtk+-1.2* )
17 >=dev-libs/gmp-2
18 sys-libs/zlib
19 media-libs/tiff
20 media-libs/jpeg"
21
22 DEPEND="${RDEPEND}
23 >=sys-devel/flex-2.5"
24
25 PATCHES=( "${FILESDIR}/${P}-gcc43.patch"
26 "${FILESDIR}/${P}-configurefixup.patch" )
27
28 src_unpack() {
29 base_src_unpack
30 cd "${S}"
31 eautoreconf
32 }
33
34 src_compile() {
35 econf $(use_enable gtk gui) || die
36 emake || die
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install install-man || die
41
42 dodoc AUTHORS ChangeLog NEWS README TODO
43 for d in examples/*
44 do
45 docinto ${d}
46 dodoc ${d}/*
47 done
48 prepalldocs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20