--- mathgl-1.8.1.ebuild 2009-08-27 21:18:30.483248620 +0200 +++ mathgl-1.9.0.1.ebuild 2009-08-27 21:17:13.064997063 +0200 @@ -8,7 +8,7 @@ DESCRIPTION="Math Graphics Library" HOMEPAGE="http://mathgl.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz mirror://sourceforge/${PN}/STIX_font.tgz" LICENSE="GPL-2" SLOT="0" @@ -39,11 +39,18 @@ fi } +src_unpack() { + unpack ${A} + mkdir "${S}"/fonts + cd "${S}"/fonts + unpack STIX_font.tgz +} + + src_prepare() { # bug #267061 epatch "${FILESDIR}"/${P}-gcc43.patch - # bug 274282 - epatch "${FILESDIR}"/${P}-gcc44.patch + epatch "${FILESDIR}"/${P}-hdf5.patch # correct location of numpy/arrayobject.h if use python; then