/[gentoo-x86]/media-gfx/imagemagick/imagemagick-5.4.4-r2.ebuild
Gentoo

Contents of /media-gfx/imagemagick/imagemagick-5.4.4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jun 29 14:38:12 2002 UTC (16 years, 3 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
version bump

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Maintainer: Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-5.4.4-r2.ebuild,v 1.4 2002/04/29 08:47:19 bangert Exp $
5
6 MY_PN=ImageMagick
7 MY_P=${MY_PN}-${PV}-4
8 S=${WORKDIR}/${MY_PN}-${PV}
9 DESCRIPTION="A collection of tools and libraries for many image formats"
10 SRC_URI="http://imagemagick.sourceforge.net/http/${MY_P}.tar.gz"
11 HOMEPAGE="http://www.imagemagick.org/"
12
13
14 DEPEND="X? ( virtual/x11
15 >=app-text/dgs-0.5.9.1 )
16 >=sys-apps/bzip2-1
17 >=sys-libs/zlib-1.1.3
18 >=media-libs/freetype-2.0
19 >=media-libs/jpeg-6b
20 >=media-libs/tiff-3.5.5
21 media-libs/libpng
22 gs? ( >=app-text/ghostscript-6.50 )
23 lcms? ( >=media-libs/lcms-1.06 )
24 perl? ( >=sys-devel/perl-5 )
25 xml2? ( >=dev-libs/libxml2-2.4.10 )"
26
27
28 src_compile() {
29 libtoolize --copy --force
30
31 local myconf=""
32 use perl || myconf="--without-perl"
33 use lcms || myconf="${myconf} --without-lcms"
34 use xml2 || myconf="${myconf} --without-xml"
35 use X || myconf="${myconf} --with-x=no"
36
37 # Netscape is still used ? More people should have Mozilla
38 cp configure configure.orig
39 sed -e 's:netscape:mozilla:g' configure.orig > configure
40
41 ./configure --prefix=/usr \
42 --mandir=/usr/share/man \
43 --enable-shared \
44 --enable-static \
45 --enable-lzw \
46 --with-ttf \
47 --without-fpx \
48 --without-gslib \
49 --without-hdf \
50 --without-jbig \
51 --without-wmf \
52 --with-threads \
53 --build=${CHOST} \
54 ${myconf} || die "bad configure"
55
56 emake || die "compile problem"
57 }
58
59 src_install() {
60
61 make prefix=${D}/usr \
62 PREFIX=${D}/usr \
63 INSTALLPRIVLIB=${D}/usr/lib/perl5 \
64 INSTALLSCRIPT=${D}/usr/bin \
65 INSTALLSITELIB=${D}/usr/lib/perl5/site_perl \
66 INSTALLBIN=${D}/usr/bin \
67 INSTALLMAN1DIR=${D}/usr/share/man/man1 \
68 INSTALLMAN3DIR=${D}/usr/share/man/man3 \
69 mandir=${D}/usr/share/man \
70 MagickSharePath=${D}/usr/share/ImageMagick/ \
71 pkgdocdir=${D}/usr/share/doc/${PF}/html \
72 install || die "install problem"
73
74 rm -f ${D}/usr/share/ImageMagick/*.txt
75
76 dodoc Copyright.txt PLATFORMS.txt QuickStart.txt README.txt TODO.txt
77 }

  ViewVC Help
Powered by ViewVC 1.1.20