# Distributed under the terms of the GNU General Public License, v2 or later # Author: Tobias Florek P=${PN}-1.0.52rev1 S=${WORKDIR}/${P} DESCRIPTION="YACAS is a very powerful, general purpose Computer Algebra System." HOMEPAGE="http://yacas.sourceforge.net/" SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz" DEPEND="virtual/glibc" RDEPEND="${DEPEND}" src_unpack() { unpack ${P}.tar.gz cd ${S} } src_compile() { cd ${S} ./configure \ --prefix=/usr \ --sysconfdir=/etc || die configuring failed # --enable-gmp || die make || die # only build gui, if we use x # proteus is untested and does not compile this way, # needs an installed (and merged) yacas to compile. # if use X ; then # cd proteus # emake depend -f makefile.linux || die # emake -f makefile.linux || die # cd .. # fi } src_install () { emake DESTDIR=${D} install-strip || die # see above notice # if ( use X ); then # cd proteus # emake install-strip -f makefile.linux || die # cd .. # fi dohtml -r doc dodoc AUTHORS INSTALL NEWS README TODO }