|
Lines 8-18
Link Here
|
| 8 |
SRC_URI="http://www.research.att.com/sw/tools/graphviz/dist/$P.tgz" |
8 |
SRC_URI="http://www.research.att.com/sw/tools/graphviz/dist/$P.tgz" |
| 9 |
HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" |
9 |
HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" |
| 10 |
|
10 |
|
|
|
11 |
#Can use freetype-1.3 or 2.0, but not both |
| 12 |
DEPEND=">=sys-libs/zlib-1.1.3 |
| 13 |
>=media-libs/libpng-1.0.6 |
| 14 |
>=media-libs/jpeg-6b |
| 15 |
media-libs/freetype |
| 16 |
tcltk? ( =dev-lang/tcltk-8.3* )" |
| 17 |
# tcltk? ( =dev-tcltk/tk-8.3* )" If my tcltk fixes are accepted. |
| 18 |
|
| 11 |
src_compile() { |
19 |
src_compile() { |
| 12 |
./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die |
20 |
|
|
|
21 |
local myconf |
| 22 |
#if no tcltk, this will generate configure warnings, but will |
| 23 |
#compile without tcltk support |
| 24 |
use tcltk || myconf="$myconf --without-tcl --without-tk" |
| 25 |
|
| 26 |
#They seem to have forgot configure when packaging 1.7.15 |
| 27 |
./autogen.sh --infodir=/usr/share/info \ |
| 28 |
--mandir=/usr/share/man \ |
| 29 |
--prefix=/usr \ |
| 30 |
--host=${CHOST} \ |
| 31 |
${myconf} || die |
| 32 |
|
| 13 |
make || die |
33 |
make || die |
|
|
34 |
|
| 14 |
} |
35 |
} |
| 15 |
|
36 |
|
| 16 |
src_install () { |
37 |
src_install () { |
| 17 |
make DESTDIR=${D} install || die |
38 |
|
|
|
39 |
make DESTDIR=${D} install || die |
| 40 |
|
| 41 |
dodoc AUTHORS ChangeLog FAQ.txt INSTALL MINTERMS.txt \ |
| 42 |
NEWS README |
| 43 |
|
| 44 |
insinto /usr/share/doc/${P}/html |
| 45 |
doins LICENSE.html doc/*.html |
| 46 |
|
| 47 |
|
| 48 |
insinto /usr/share/doc/${P}/pdf |
| 49 |
doins doc/*.pdf |
| 50 |
|
| 18 |
} |
51 |
} |