# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 S=${WORKDIR}/${P} DESCRIPTION="Open Babel interconverts file formats used in molecular modeling." SRC_URI="http://belnet.dl.sourceforge.net/sourceforge/openbabel/${P}.tar.gz" HOMEPAGE="http://openbabel.sourceforge.net/" KEYWORDS="~x86" SLOT="0" LICENSE="GPL-2" IUSE="" #Doesn't really seem to depend on anything (?) DEPEND="virtual/glibc" PROVIDE="app-sci/openbabel" #src_unpack() { # # tar xvfz # cd ${S} #Patch the Makefile for gentoo-isms # patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die # patch -p0 < ${FILESDIR}/${P}-gcc32.diff || die # #} src_compile() { ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info || die "configure failed" emake || die } src_install () { make DESTDIR=${D} install || die dohtml doc/FAQ.html doc/Migration.html doc/dioxin.png dodoc README \ doc/README.dioxin.pov \ doc/README.povray \ doc/babel31.inc \ doc/dioxin.inc \ doc/dioxin.mol2 \ doc/dioxin.pov doman doc/babel.1 }