Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
DESCRIPTION="Math Graphics Library" |
9 |
DESCRIPTION="Math Graphics Library" |
10 |
HOMEPAGE="http://mathgl.sourceforge.net/" |
10 |
HOMEPAGE="http://mathgl.sourceforge.net/" |
11 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" |
11 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz mirror://sourceforge/${PN}/STIX_font.tgz" |
12 |
|
12 |
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
Lines 39-49
Link Here
|
39 |
fi |
39 |
fi |
40 |
} |
40 |
} |
41 |
|
41 |
|
|
|
42 |
src_unpack() { |
43 |
unpack ${A} |
44 |
mkdir "${S}"/fonts |
45 |
cd "${S}"/fonts |
46 |
unpack STIX_font.tgz |
47 |
} |
48 |
|
49 |
|
42 |
src_prepare() { |
50 |
src_prepare() { |
43 |
# bug #267061 |
51 |
# bug #267061 |
44 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
52 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
45 |
# bug 274282 |
53 |
epatch "${FILESDIR}"/${P}-hdf5.patch |
46 |
epatch "${FILESDIR}"/${P}-gcc44.patch |
|
|
47 |
|
54 |
|
48 |
# correct location of numpy/arrayobject.h |
55 |
# correct location of numpy/arrayobject.h |
49 |
if use python; then |
56 |
if use python; then |