Lines 2-8
Link Here
|
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/media-gfx/imagemagick/imagemagick-6.2.8.0.ebuild,v 1.7 2006/07/15 16:55:48 nixnut Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.2.8.0.ebuild,v 1.7 2006/07/15 16:55:48 nixnut Exp $ |
4 |
|
4 |
|
5 |
inherit eutils perl-app multilib |
5 |
inherit eutils perl-app multilib autotools |
6 |
|
6 |
|
7 |
MY_PN=ImageMagick |
7 |
MY_PN=ImageMagick |
8 |
MY_P=${MY_PN}-${PV%.*} |
8 |
MY_P=${MY_PN}-${PV%.*} |
Lines 56-68
Link Here
|
56 |
cd "${S}" |
56 |
cd "${S}" |
57 |
chmod +x config.sub |
57 |
chmod +x config.sub |
58 |
epatch "${FILESDIR}"/${PN}-6.2.5.4-docs.patch |
58 |
epatch "${FILESDIR}"/${PN}-6.2.5.4-docs.patch |
|
|
59 |
epatch "${FILESDIR}"/imagemagick-perl.patch |
60 |
|
61 |
eautoreconf |
59 |
} |
62 |
} |
60 |
|
63 |
|
61 |
src_compile() { |
64 |
src_compile() { |
62 |
econf \ |
65 |
econf \ |
63 |
--with-threads \ |
66 |
--with-threads \ |
64 |
--with-modules \ |
67 |
--with-modules \ |
65 |
--without-perl \ |
68 |
$(use_with perl) \ |
66 |
--with-gs-font-dir=/usr/share/fonts/default/ghostscript \ |
69 |
--with-gs-font-dir=/usr/share/fonts/default/ghostscript \ |
67 |
--with-windows-font-dir=/usr/share/fonts/corefonts \ |
70 |
--with-windows-font-dir=/usr/share/fonts/corefonts \ |
68 |
$(use_with !nocxx magick-plus-plus) \ |
71 |
$(use_with !nocxx magick-plus-plus) \ |