/[gentoo-x86]/app-sci/yacas/yacas-1.0.54.ebuild
Gentoo

Contents of /app-sci/yacas/yacas-1.0.54.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Sep 6 13:24:31 2004 UTC (10 years ago) by phosphan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Declaring .56 stable, removing older versions.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/yacas/yacas-1.0.54.ebuild,v 1.4 2004/07/01 11:55:20 eradicator Exp $
4
5 IUSE=""
6
7 DESCRIPTION="very powerful general purpose Computer Algebra System"
8 HOMEPAGE="http://yacas.sourceforge.net/"
9 SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="x86"
14
15 DEPEND="virtual/libc
16 >=sys-apps/sed-4"
17
18 src_compile() {
19 econf || die "./configure failed"
20 emake || die
21
22 # only build gui, if we use x
23 # proteus is untested and does not compile this way,
24 # needs an installed (and merged) yacas to compile.
25 #if use X ; then
26 # cd proteus
27 # emake depend -f makefile.linux || die
28 # emake -f makefile.linux || die
29 # cd ..
30 #fi
31 }
32
33 src_install() {
34 # a very strange Makefile's, that do not honor standard wrappings :(
35 find -name Makefile |xargs sed -i -e "s:datadir = /usr/share:datadir = ${D}/usr/share:"
36 cd manmake
37 sed -i -e "s:htmldir = :htmldir = ${D}:" -e "s:psdir = :psdir = ${D}:" Makefile
38 cd ${S}
39
40 DESTDIR=${D} make install-strip || die
41
42 # see above notice
43 #if ( use X ); then
44 # cd proteus
45 # emake install-strip -f makefile.linux || die
46 # cd ..
47 #fi
48
49 dodoc AUTHORS INSTALL NEWS README TODO
50 mv ${D}/usr/share/${PN}/documentation ${D}/usr/share/doc/${PF}/html
51 rmdir ${D}/usr/include/
52 }

  ViewVC Help
Powered by ViewVC 1.1.20