diff options
author | 2006-04-19 17:21:23 -0700 | |
---|---|---|
committer | 2006-04-19 17:21:23 -0700 | |
commit | f9f9bd22baf8584b933dce589e4f9cece7d85ad2 (patch) | |
tree | 3eb87b3ed6a0b284f406ecd399ddc50474756a83 /sci-visualization | |
parent | Add info on updating a checkout. (diff) | |
download | dberkholz-f9f9bd22baf8584b933dce589e4f9cece7d85ad2.tar.gz dberkholz-f9f9bd22baf8584b933dce589e4f9cece7d85ad2.tar.bz2 dberkholz-f9f9bd22baf8584b933dce589e4f9cece7d85ad2.zip |
Add scigraphica 2.1 from Gentoo bug #93095.
Add ~ppc keyworded raster3d.
Diffstat (limited to 'sci-visualization')
4 files changed, 107 insertions, 0 deletions
diff --git a/sci-visualization/scigraphica/Manifest b/sci-visualization/scigraphica/Manifest new file mode 100644 index 0000000..dd1759b --- /dev/null +++ b/sci-visualization/scigraphica/Manifest @@ -0,0 +1,9 @@ +MD5 42879ce9fd1eea8caa333d4f5ddab187 files/configure.in.patch 957 +RMD160 b5f88fe5338d318746dca5757cb1273d93347391 files/configure.in.patch 957 +SHA256 ad522dd278aced1bd4b49d55ed0a0d3562ef45ba1b36f77b6262c0ca413b8c5f files/configure.in.patch 957 +MD5 452e979213223b9df25b4d848b5e00a9 files/digest-scigraphica-2.1.0 253 +RMD160 32fafc7e2b4676be6f3ce8982a5df100090608d6 files/digest-scigraphica-2.1.0 253 +SHA256 5efc6df36c9691309bb0eafe654aea1da67fd25a74162c5bf1f4822f4b1ea482 files/digest-scigraphica-2.1.0 253 +MD5 583e8a3010b1c5617f732f5320903056 scigraphica-2.1.0.ebuild 1649 +RMD160 e779b4cb36e8cac97247952102a9f543132bbb40 scigraphica-2.1.0.ebuild 1649 +SHA256 17d85563e9a10184569127837a1ed424cb0e48413314fcd1457172132cf43853 scigraphica-2.1.0.ebuild 1649 diff --git a/sci-visualization/scigraphica/files/configure.in.patch b/sci-visualization/scigraphica/files/configure.in.patch new file mode 100644 index 0000000..99cdd54 --- /dev/null +++ b/sci-visualization/scigraphica/files/configure.in.patch @@ -0,0 +1,33 @@ +--- scigraphica-2.1.0/configure.old 2005-08-17 16:10:28.672972980 +0200 ++++ scigraphica-2.1.0/configure.in 2005-08-17 16:10:35.897710586 +0200 +@@ -73,7 +73,7 @@ + AC_PROG_CC + AC_ISC_POSIX + AC_HEADER_STDC([]) +-AC_PROG_RANLIB ++AC_PROG_LIBTOOL + AC_PROG_MAKE_SET + AM_PROG_LIBTOOL + +@@ -428,9 +428,9 @@ + # + + UNAME=`uname -s -m -r -p` +-GTK_EXTRA_VERSION=`$GTK_EXTRA_CONFIG --version` +-GTK_VERSION=`$GTK_CONFIG --version` +-XML_VERSION=`$XML_CONFIG --version` ++GTK_EXTRA_VERSION=`$PKG_CONFIG --modversion gtkextra-2.0` ++GTK_VERSION=`$PKG_CONFIG --modversion gtk+-2.0` ++XML_VERSION=`$PKG_CONFIG --modversion libxml-2.0` + + # strip duplicate entries in compiler flags + echo "stripping compiler flags" +@@ -472,7 +472,7 @@ + xml-$XML_VERSION python-$PY_VVERSION $array_loc\\n"\ + __DATE__ " " __TIME__ "\\n\ + Compiler flags:$COMPILER_FLAGS\\n\ +-(C) 2000 Adrian E. Feiguin\\n" ++(C) 2000 - 2005 Adrian E. Feiguin\\n" + ) + + AC_DEFINE_UNQUOTED(SCIGRAPHICA_ROOT, "$prefix") diff --git a/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0 b/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0 new file mode 100644 index 0000000..ca96856 --- /dev/null +++ b/sci-visualization/scigraphica/files/digest-scigraphica-2.1.0 @@ -0,0 +1,3 @@ +MD5 80b74b2faa0e2c46361f4de51e73df34 scigraphica-2.1.0.tar.gz 539549 +RMD160 275790299fcceee41a186b4ec03e1a9e3b3eb125 scigraphica-2.1.0.tar.gz 539549 +SHA256 b424310506995507d053573f1995f9cfbbce0a7fdc7dc93effc6dbec54aa15f9 scigraphica-2.1.0.tar.gz 539549 diff --git a/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild b/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild new file mode 100644 index 0000000..82a3292 --- /dev/null +++ b/sci-visualization/scigraphica/scigraphica-2.1.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/scigraphica/scigraphica-0.8.0-r2.ebuild,v 1.2 2005/05/09 18:04:34 dholm Exp $ + +inherit eutils + +DESCRIPTION="Scientific application for data analysis and technical graphics" +SRC_URI="mirror://sourceforge/scigraphica/${P}.tar.gz" +HOMEPAGE="http://scigraphica.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc" + +# We need to block using numeric, otherwise sg won't build, +# pretenting not to find arrayobject.h from the numarray project. +DEPEND=">=x11-libs/gtk+extra-2.1.0 + >=sci-libs/libscigraphica-2.1.0 + >=dev-python/pygtk-2.6.1-r1 + >=dev-python/numarray-1.3.1 + >=dev-libs/libxml2-2.4.10 + >=media-libs/imlib-1.9.7 + >=intltool-0.27.2" +# !dev-python/numeric" + +src_unpack() { + unpack ${A} + cd ${S} + # Get correct version using scigraphica --version + epatch $FILESDIR/configure.in.patch + libtoolize --force || die "libtoolize Failed" + aclocal || die "aclocal Failed" + autoconf || die "autoconf Failed" + autoheader || die "autoheader Failed" + automake || die "automake Failed" +} + +src_compile() { + local myconf="" + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "Configuration Failed" + + emake || die "Make Failed" +} + +src_install() { + make DESTDIR=${D} install || die "Installation Failed" + dodoc AUTHORS ChangeLog FAQ.compile \ + INSTALL NEWS README TODO +} + +pkg_postinst() { + ewarn "Please be shure to rm your old scigraphica" + ewarn "configureation directory." + ewarn "Otherwise sg won't work." + sleep 5 +} |