/[gentoo-x86]/media-gfx/zgv/zgv-5.5-r1.ebuild
Gentoo

Contents of /media-gfx/zgv/zgv-5.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jul 23 05:18:07 2002 UTC (17 years, 7 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
repoman'd

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.5-r1.ebuild,v 1.2 2002/07/11 06:30:38 drobbins Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="A svgalib console image viewer."
7 SRC_URI="http://www.svgalib.org/rus/zgv/${P}.tar.gz"
8 HOMEPAGE="http://www.svgalib.org/rus/zgv"
9
10 DEPEND=">=media-libs/svgalib-1.4.2
11 >=media-libs/jpeg-6b-r2
12 media-libs/libpng
13 >=media-libs/tiff-3.5.5
14 >=sys-libs/zlib-1.1.4"
15
16
17 src_unpack() {
18
19 unpack ${A}
20
21 cd ${S}/src
22 cp Makefile Makefile.orig
23 sed -e "s:-O2 -fomit-frame-pointer -finline-functions:${CFLAGS}:" \
24 Makefile.orig > Makefile
25 }
26
27 src_compile() {
28
29 emake || die
30 }
31
32 src_install() {
33
34 dodir /usr/bin /usr/share/info /usr/share/man/man1
35 make PREFIX=${D}/usr \
36 INFODIR=${D}/usr/share/info \
37 MANDIR=${D}/usr/share/man/man1 \
38 install || die
39
40 # Fix info files
41 cd ${D}/usr/share/info
42 rm dir*
43 mv zgv zgv.info
44 for i in 1 2 3 4
45 do
46 mv zgv-$i zgv.info-$i
47 done
48 cd ${S}
49
50 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
51 }

  ViewVC Help
Powered by ViewVC 1.1.20