/[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.4 - (hide annotations) (download)
Wed Jul 14 18:35:15 2004 UTC (15 years, 7 months ago) by agriffis
Branch: MAIN
Changes since 1.3: +2 -1 lines
sync IUSE (missing)

1 agriffis 1.3 # Copyright 1999-2004 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.4 # $Header: /var/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.7-r1.ebuild,v 1.3 2004/06/24 22:54:21 agriffis Exp $
4 agriffis 1.2
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 agriffis 1.4 IUSE=""
15 vapier 1.1
16     DEPEND=">=media-libs/svgalib-1.4.2
17     >=media-libs/jpeg-6b-r2
18     media-libs/libpng
19     >=media-libs/tiff-3.5.5
20     >=sys-libs/zlib-1.1.4
21     sys-apps/gawk"
22    
23     src_unpack() {
24     unpack ${A}
25     cd ${S}
26     sed -i "/^CFLAGS=/s:=.*:=${CFLAGS}:" config.mk
27     sed -i "s:4755:0755:" src/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     dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
42    
43     # Fix info files
44     cd ${D}/usr/share/info
45     rm dir*
46     mv zgv zgv.info
47     for i in 1 2 3 4 ; do
48     mv zgv-$i zgv.info-$i
49     done
50     }

  ViewVC Help
Powered by ViewVC 1.1.20