Lines 1-6
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/texlive-2005.ebuild,v 1.4 2007/01/28 06:10:10 genone Exp $ |
3 |
# TexLive-2007 ebuild by Fabian Wolf <fabian.wolf@informatik.uni-ulm.de> |
|
|
4 |
# based on texlive-2005.ebuild |
4 |
|
5 |
|
5 |
inherit eutils flag-o-matic toolchain-funcs versionator virtualx |
6 |
inherit eutils flag-o-matic toolchain-funcs versionator virtualx |
6 |
|
7 |
|
Lines 11-27
Link Here
|
11 |
SLOT="0" |
12 |
SLOT="0" |
12 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
13 |
|
14 |
|
14 |
SRC_URI="http://dev.gentoo.org/~ehmsen/texlive/${P}-src.tar.bz2 |
15 |
SRC_URI="http://134.60.104.12/gentoo/${P}-src.tar.gz |
15 |
http://dev.gentoo.org/~ehmsen/texlive/${P}-texmf-dist.tar.bz2 |
16 |
http://134.60.104.12/gentoo/${P}-texmf-dist.tar.gz |
16 |
http://dev.gentoo.org/~ehmsen/texlive/${P}-texmf.tar.bz2" |
17 |
http://134.60.104.12/gentoo/${P}-texmf.tar.gz" |
17 |
|
18 |
|
18 |
KEYWORDS="~amd64 ~x86" |
19 |
KEYWORDS="~amd64 ~x86" |
19 |
IUSE="X doc tk Xaw3d lesstif motif neXt" |
20 |
IUSE="X doc Xaw3d lesstif motif neXt png zlib" |
20 |
|
21 |
|
21 |
# This is less than an ideal name |
22 |
# There's not yet a tex virtual - however: no virtual/tetex either |
22 |
PROVIDE="virtual/tetex" |
23 |
PROVIDE="virtual/tex" |
23 |
|
24 |
|
24 |
# I hope to kick this very soon |
|
|
25 |
BLOCKS="!dev-tex/memoir |
25 |
BLOCKS="!dev-tex/memoir |
26 |
!dev-tex/lineno |
26 |
!dev-tex/lineno |
27 |
!dev-tex/SIunits |
27 |
!dev-tex/SIunits |
Lines 69-75
Link Here
|
69 |
RDEPEND="${DEPEND} |
69 |
RDEPEND="${DEPEND} |
70 |
${BLOCKS} |
70 |
${BLOCKS} |
71 |
>=dev-lang/perl-5.2 |
71 |
>=dev-lang/perl-5.2 |
72 |
tk? ( dev-perl/perl-tk ) |
|
|
73 |
dev-util/dialog" |
72 |
dev-util/dialog" |
74 |
|
73 |
|
75 |
src_unpack() { |
74 |
src_unpack() { |
Lines 81-93
Link Here
|
81 |
unpack ${P}-texmf-dist.tar.bz2 || die "unpack texmf-dist" |
80 |
unpack ${P}-texmf-dist.tar.bz2 || die "unpack texmf-dist" |
82 |
|
81 |
|
83 |
epatch "${FILESDIR}/${PV}/${P}-use-system-libtool.patch" || die |
82 |
epatch "${FILESDIR}/${PV}/${P}-use-system-libtool.patch" || die |
84 |
epatch "${FILESDIR}/${PV}/${P}-amd64-xdvik-wp.patch" || die |
|
|
85 |
epatch "${FILESDIR}/${PV}/${P}-mptest.patch" || die |
86 |
epatch "${FILESDIR}/${PV}/${P}-fmtutil-in.patch" || die |
87 |
epatch "${FILESDIR}/${PV}/${P}-xpdf-vulnerabilities.patch" || die |
88 |
epatch "${FILESDIR}/${PV}/${P}-pdftosrc-install.patch" || die |
89 |
epatch "${FILESDIR}/${PV}/${P}-create-empty-files.patch" || die |
90 |
epatch "${FILESDIR}/${PV}/${P}-gentoo-texmf-site.patch" || die |
91 |
|
83 |
|
92 |
sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" \ |
84 |
sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" \ |
93 |
Makefile.in || die "sed" |
85 |
Makefile.in || die "sed" |
Lines 121-136
Link Here
|
121 |
my_conf="${my_conf} --without-xdvik --without-oxdvik" |
113 |
my_conf="${my_conf} --without-xdvik --without-oxdvik" |
122 |
fi |
114 |
fi |
123 |
|
115 |
|
|
|
116 |
if use zlib ; then |
117 |
my_conf="${my_conf} --with-system-zlib" |
118 |
fi |
119 |
|
120 |
if use png ; then |
121 |
my_conf="${my_conf} --with-system-pnglib" |
122 |
fi |
123 |
|
124 |
econf --bindir=/usr/bin \ |
124 |
econf --bindir=/usr/bin \ |
125 |
--datadir=${S} \ |
125 |
--datadir=${S} \ |
126 |
--with-system-wwwlib \ |
|
|
127 |
--with-libwww-include=/usr/include/w3c-libwww \ |
128 |
--with-system-ncurses \ |
126 |
--with-system-ncurses \ |
129 |
--with-system-pnglib \ |
127 |
--with-system-freetype2 \ |
|
|
128 |
--with-freetype2-include=/usr/include \ |
130 |
--without-texinfo \ |
129 |
--without-texinfo \ |
131 |
--without-dialog \ |
130 |
--without-dialog \ |
132 |
--without-texi2html \ |
131 |
--without-texi2html \ |
133 |
--with-system-zlib \ |
|
|
134 |
--disable-multiplatform \ |
132 |
--disable-multiplatform \ |
135 |
--with-epsfwin \ |
133 |
--with-epsfwin \ |
136 |
--with-mftalkwin \ |
134 |
--with-mftalkwin \ |
Lines 152-158
Link Here
|
152 |
done |
150 |
done |
153 |
fi |
151 |
fi |
154 |
|
152 |
|
155 |
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" texmf=${TEXMF_PATH:-/usr/share/texmf} || die "make" |
153 |
emake -j1 texmf=${TEXMF_PATH:-/usr/share/texmf} || die "make" |
156 |
} |
154 |
} |
157 |
|
155 |
|
158 |
src_test() { |
156 |
src_test() { |