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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Apr 27 21:52:20 2004 UTC (15 years, 9 months ago) by agriffis
Branch: MAIN
Changes since 1.1: +4 -2 lines
Add inherit eutils

1 agriffis 1.2 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.2 # $Header: /home/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.7-r1.ebuild,v 1.1 2004/01/23 04:51:13 vapier Exp $
4    
5     inherit eutils
6 vapier 1.1
7     DESCRIPTION="A svgalib console image viewer"
8     HOMEPAGE="http://www.svgalib.org/rus/zgv/"
9     SRC_URI="http://www.svgalib.org/rus/zgv/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="x86"
14    
15     DEPEND=">=media-libs/svgalib-1.4.2
16     >=media-libs/jpeg-6b-r2
17     media-libs/libpng
18     >=media-libs/tiff-3.5.5
19     >=sys-libs/zlib-1.1.4
20     sys-apps/gawk"
21    
22     src_unpack() {
23     unpack ${A}
24     cd ${S}
25     sed -i "/^CFLAGS=/s:=.*:=${CFLAGS}:" config.mk
26     sed -i "s:4755:0755:" src/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     dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
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 ; do
47     mv zgv-$i zgv.info-$i
48     done
49     }

  ViewVC Help
Powered by ViewVC 1.1.20