/[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.1 - (hide annotations) (download)
Fri Oct 3 09:19:52 2003 UTC (16 years, 6 months ago) by lanius
Branch: MAIN
changelog:p

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

  ViewVC Help
Powered by ViewVC 1.1.20