# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/babel/babel-1.6.ebuild,v 1.7 2011/06/25 18:08:12 jlec Exp $ inherit eutils DESCRIPTION="Interconvert file formats used in molecular modeling" SRC_URI="http://smog.com/chem/babel/files/${P}.tar.Z" HOMEPAGE="http://smog.com/chem/babel/" KEYWORDS="~amd64 ppc x86" SLOT="0" LICENSE="as-is" IUSE="" #Doesn't really seem to depend on anything (?) DEPEND="!sci-chemistry/openbabel" RDEPEND="${DEPEND}" src_unpack() { unpack ${P}.tar.Z cd "${S}" #Patch the Makefile for gentoo-isms epatch \ "${FILESDIR}"/${P}-gentoo.diff\ "${FILESDIR}"/${P}-gcc32.diff } src_compile() { emake || die } src_install () { emake DESTDIR="${D}"/usr/bin install || die insinto /usr/share/${PN} doins "${S}"/*.lis doenvd "${FILESDIR}"/10babel dodoc README.1ST }