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

Contents of /media-gfx/zgv/zgv-5.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 06:49:29 2003 UTC (16 years, 6 months ago) by brandy
Branch: MAIN
Changes since 1.1: +3 -2 lines
Added sys-apps/gawk as a dependency

1 lanius 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 brandy 1.2 # $Header: /home/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.7.ebuild,v 1.1 2003/10/03 09:19:52 lanius Exp $
4 lanius 1.1
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     SLOT="0"
11     LICENSE="GPL-2"
12     KEYWORDS="~x86"
13    
14     DEPEND=">=media-libs/svgalib-1.4.2
15     >=media-libs/jpeg-6b-r2
16     media-libs/libpng
17     >=media-libs/tiff-3.5.5
18 brandy 1.2 >=sys-libs/zlib-1.1.4
19     sys-apps/gawk"
20 lanius 1.1
21     src_unpack() {
22     unpack ${A}
23    
24     cd ${S}/src
25     cp Makefile Makefile.orig
26     sed -e "s:-O2 -fomit-frame-pointer -finline-functions:${CFLAGS}:" \
27     Makefile.orig > Makefile
28     epatch ${FILESDIR}/${P}-gcc3.patch
29     }
30    
31     src_compile() {
32     emake || die
33     }
34    
35     src_install() {
36     dodir /usr/bin /usr/share/info /usr/share/man/man1
37     make PREFIX=${D}/usr \
38     INFODIR=${D}/usr/share/info \
39     MANDIR=${D}/usr/share/man/man1 \
40     install || die
41    
42     # Fix info files
43     cd ${D}/usr/share/info
44     rm dir*
45     mv zgv zgv.info
46     for i in 1 2 3 4
47     do
48     mv zgv-$i zgv.info-$i
49     done
50     cd ${S}
51    
52     dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
53     }

  ViewVC Help
Powered by ViewVC 1.1.20