summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-01-01 05:30:07 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-01-01 05:30:07 +0000
commiteda2aaa78131155a104a713163e3e5a8d8a6d6f2 (patch)
tree27ac6aed98ca09108b42a7fadc08bbef9fbcab32 /media-gfx
parentRemoved old version. (diff)
downloadgentoo-2-eda2aaa78131155a104a713163e3e5a8d8a6d6f2.tar.gz
gentoo-2-eda2aaa78131155a104a713163e3e5a8d8a6d6f2.tar.bz2
gentoo-2-eda2aaa78131155a104a713163e3e5a8d8a6d6f2.zip
Fixed to build with no gtk+-1.2 installed, bug #240439.
(Portage version: 2.1.6.4/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/surf/ChangeLog9
-rw-r--r--media-gfx/surf/surf-1.0.5-r2.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/media-gfx/surf/ChangeLog b/media-gfx/surf/ChangeLog
index ceeed5c65e9c..97ba74ffd7ef 100644
--- a/media-gfx/surf/ChangeLog
+++ b/media-gfx/surf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/surf
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/ChangeLog,v 1.7 2008/07/09 21:41:27 loki_val Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/ChangeLog,v 1.8 2009/01/01 05:30:07 matsuu Exp $
+
+*surf-1.0.5-r2 (01 Jan 2009)
+
+ 01 Jan 2009; MATSUU Takuto <matsuu@gentoo.org> +surf-1.0.5-r2.ebuild:
+ Fixed to build with no gtk+-1.2 installed, bug #240439.
*surf-1.0.5-r1 (09 Jul 2008)
diff --git a/media-gfx/surf/surf-1.0.5-r2.ebuild b/media-gfx/surf/surf-1.0.5-r2.ebuild
new file mode 100644
index 000000000000..b24af3442c52
--- /dev/null
+++ b/media-gfx/surf/surf-1.0.5-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/surf-1.0.5-r2.ebuild,v 1.1 2009/01/01 05:30:07 matsuu Exp $
+
+inherit autotools base eutils
+
+DESCRIPTION="a tool to visualize algebraic curves and algebraic surfaces"
+HOMEPAGE="http://surf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/surf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE="gtk"
+
+RDEPEND="gtk? ( =x11-libs/gtk+-1.2* )
+ >=dev-libs/gmp-2
+ sys-libs/zlib
+ media-libs/tiff
+ media-libs/jpeg"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/flex-2.5"
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc43.patch"
+ "${FILESDIR}/${P}-configurefixup.patch"
+)
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"
+ eautoconf
+}
+
+src_compile() {
+ econf $(use_enable gtk gui) || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-man || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ for d in examples/*
+ do
+ docinto ${d}
+ dodoc ${d}/*
+ done
+ prepalldocs
+}