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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 9 21:41:27 2008 UTC (12 years ago) by loki_val
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fixup for gcc-4.3, bug #230898. Thank you very much to Marek Miller <mlm@shells.pl> for half of the gcc43 patch. Also fixup configure so it actually detects tiffio and gmp headers, which it did not do before. Drop old.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)

1 # Copyright 1999-2007 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.ebuild,v 1.1 2007/05/03 23:33:46 matsuu Exp $
4
5 inherit eutils
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 src_compile() {
26 econf $(use_enable gtk gui) || die
27 emake || die
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" install install-man || die
32
33 dodoc AUTHORS ChangeLog NEWS README TODO
34 for d in examples/*
35 do
36 docinto ${d}
37 dodoc ${d}/*
38 done
39 }

  ViewVC Help
Powered by ViewVC 1.1.20