# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Software for continuation and bifurcation problems in ordinary differential equations." HOMEPAGE="http://indy.cs.concordia.ca/auto/" LICENSE="as-is" SRC_URI="mirror://sourceforge/auto2000/${P}.tar.gz" SLOT="0" KEYWORDS="~x86" IUSE="" S=${WORKDIR}/auto/2000 INSTDIR="/opt/auto/2000" DEPEND="dev-lang/python" src_unpack() { unpack ${A} } src_compile() { econf || die "econf failed." emake || die "emake failed." } src_install() { dodir ${INSTDIR} cp -R ${S}/* ${D}${INSTDIR} dodir /etc/env.d echo "AUTO_DIR=${INSTDIR}" > ${D}/etc/env.d/99${PN} echo "PATH=${AUTO_DIR}/cmds:${AUTO_DIR}/bin:" > ${D}/etc/env.d/99${PN} }