diff options
author | tulku <tulku@32389bae-6d03-0410-99cf-db05cde120eb> | 2005-12-01 01:21:33 +0000 |
---|---|---|
committer | tulku <tulku@32389bae-6d03-0410-99cf-db05cde120eb> | 2005-12-01 01:21:33 +0000 |
commit | c8504a5528de09fd4209dd678ae3a4e50398cd64 (patch) | |
tree | 67b2bc210eb17daab733fbce50e0853cac9c606f /sci-mathematics/kseg | |
parent | added pyfits-1.0.ebuild (diff) | |
download | sci-c8504a5528de09fd4209dd678ae3a4e50398cd64.tar.gz sci-c8504a5528de09fd4209dd678ae3a4e50398cd64.tar.bz2 sci-c8504a5528de09fd4209dd678ae3a4e50398cd64.zip |
Adding ebuild for kseg
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@27 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-mathematics/kseg')
-rw-r--r-- | sci-mathematics/kseg/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/kseg/Manifest | 5 | ||||
-rw-r--r-- | sci-mathematics/kseg/files/digest-kseg-0.402 | 1 | ||||
-rw-r--r-- | sci-mathematics/kseg/files/kseg-0.402-gentoo.patch | 36 | ||||
-rw-r--r-- | sci-mathematics/kseg/kseg-0.402.ebuild | 33 | ||||
-rw-r--r-- | sci-mathematics/kseg/metadata.xml | 10 |
6 files changed, 94 insertions, 0 deletions
diff --git a/sci-mathematics/kseg/ChangeLog b/sci-mathematics/kseg/ChangeLog new file mode 100644 index 000000000..990eb5bdb --- /dev/null +++ b/sci-mathematics/kseg/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-mathematics/kseg +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*kseg-0.402 (30 Nov 2005) + + 30 Nov 2005; Lucas Chiesa <lucas.chiesa@gmail.com> kseg-0.402.ebuild: + Initial import of kseg. Thanks to Gard Spreemann <spreeman@stud.ntnu.no> + for his work. Closes bug #101341 diff --git a/sci-mathematics/kseg/Manifest b/sci-mathematics/kseg/Manifest new file mode 100644 index 000000000..7ce826255 --- /dev/null +++ b/sci-mathematics/kseg/Manifest @@ -0,0 +1,5 @@ +MD5 5244aa1f248a0092499716098d063212 kseg-0.402.ebuild 844 +MD5 72729b0a032ead44a9f0cdb896333a90 ChangeLog 330 +MD5 62f5dab87718e5c02a5700e85f8577e0 metadata.xml 255 +MD5 34627a44b03b7d79759845d751804d34 files/kseg-0.402-gentoo.patch 1478 +MD5 9f5e1bfb3507fbe41ce730d4978accfa files/digest-kseg-0.402 62 diff --git a/sci-mathematics/kseg/files/digest-kseg-0.402 b/sci-mathematics/kseg/files/digest-kseg-0.402 new file mode 100644 index 000000000..9ce9281b8 --- /dev/null +++ b/sci-mathematics/kseg/files/digest-kseg-0.402 @@ -0,0 +1 @@ +MD5 fd2a02afbfe3fcc53367527a75a340b5 kseg-0.402.tar.gz 626031 diff --git a/sci-mathematics/kseg/files/kseg-0.402-gentoo.patch b/sci-mathematics/kseg/files/kseg-0.402-gentoo.patch new file mode 100644 index 000000000..157efe4b1 --- /dev/null +++ b/sci-mathematics/kseg/files/kseg-0.402-gentoo.patch @@ -0,0 +1,36 @@ +diff -urN kseg-0.402.orig/Makefile kseg-0.402/Makefile +--- kseg-0.402.orig/Makefile 2004-11-24 18:07:27.000000000 +0100 ++++ kseg-0.402/Makefile 2005-08-04 15:33:03.000000000 +0200 +@@ -1,7 +1,7 @@ + # Makefile for KSEG + CC = g++ + QTINCLUDE = -I$(QTDIR)/include +-CCFLAGS = -c -Wall -O2 -fomit-frame-pointer -ffast-math ++CCFLAGS = -c $(CXXFLAGS) + LIBS = -lm -L$(QTDIR)/lib -lqt -lz + MOC = $(QTDIR)/bin/moc + LUPDATE = $(QTDIR)/bin/lupdate +diff -urN kseg-0.402.orig/formula/Makefile kseg-0.402/formula/Makefile +--- kseg-0.402.orig/formula/Makefile 2004-11-24 18:07:28.000000000 +0100 ++++ kseg-0.402/formula/Makefile 2005-08-04 15:33:16.000000000 +0200 +@@ -1,7 +1,7 @@ + # Makefile for formula + CC = g++ + QTINCLUDE = -I$(QTDIR)/include +-CCFLAGS = -c -Wall -O2 -fomit-frame-pointer -ffast-math ++CCFLAGS = -c $(CXXFLAGS) + LIBS = + MOC = $(QTDIR)/bin/moc + +diff -urN kseg-0.402.orig/main.cpp kseg-0.402/main.cpp +--- kseg-0.402.orig/main.cpp 2004-11-24 18:07:27.000000000 +0100 ++++ kseg-0.402/main.cpp 2005-08-04 15:32:48.000000000 +0200 +@@ -37,7 +37,7 @@ + + //set some default properties + KSegProperties::setPropertyDefault("Language", ""); +- KSegProperties::setPropertyDefault("LanguageDir", "."); ++ KSegProperties::setPropertyDefault("LanguageDir", "/usr/share/doc/kseg-0.402/help"); + KSegProperties::setPropertyDefault("SelectType", "BorderSelect"); + KSegProperties::setPropertyDefault("QuickPlayDirectory", "."); + KSegProperties::setPropertyDefault("RecentListSize", "4"); diff --git a/sci-mathematics/kseg/kseg-0.402.ebuild b/sci-mathematics/kseg/kseg-0.402.ebuild new file mode 100644 index 000000000..b83069d6d --- /dev/null +++ b/sci-mathematics/kseg/kseg-0.402.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Interactive geometry program for exploring Euclidean geometry." +HOMEPAGE="http://www.mit.edu/~ibaran/kseg.html" +SRC_URI="http://www.mit.edu/~ibaran/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=x11-libs/qt-3.0.0" + +src_unpack() { + unpack ${A} + cd ${S} + # Fix silly hardcoded help file path and CCFLAGS. + # The help location has to be changed when changing + # version. It is allways /usr/share/doc/${PF}/help + epatch ${FILESDIR}/${PF}-gentoo.patch +} + +src_install() { + exeinto /usr/bin + doexe kseg + dodoc AUTHORS ChangeLog README README.translators VERSION + insinto /usr/share/doc/${PF}/help + doins *.html *.qm + insinto /usr/share/doc/${PF}/examples + doins examples/* +} diff --git a/sci-mathematics/kseg/metadata.xml b/sci-mathematics/kseg/metadata.xml new file mode 100644 index 000000000..03087d5c1 --- /dev/null +++ b/sci-mathematics/kseg/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</maintainer> + <email> lucas.chiesa@gmail.com </email> + <name> Lucas Chiesa </name> +</maintainer> +</pkgmetadata> + |