/[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.1 - (hide annotations) (download)
Fri Jan 23 04:51:13 2004 UTC (16 years, 1 month ago) by vapier
Branch: MAIN
stupid setuid bits BEGONE

1 vapier 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.7.ebuild,v 1.2 2003/10/07 06:49:29 brandy Exp $
4    
5     DESCRIPTION="A svgalib console image viewer"
6     HOMEPAGE="http://www.svgalib.org/rus/zgv/"
7     SRC_URI="http://www.svgalib.org/rus/zgv/${P}.tar.gz"
8    
9     LICENSE="GPL-2"
10     SLOT="0"
11     KEYWORDS="x86"
12    
13     DEPEND=">=media-libs/svgalib-1.4.2
14     >=media-libs/jpeg-6b-r2
15     media-libs/libpng
16     >=media-libs/tiff-3.5.5
17     >=sys-libs/zlib-1.1.4
18     sys-apps/gawk"
19    
20     src_unpack() {
21     unpack ${A}
22     cd ${S}
23     sed -i "/^CFLAGS=/s:=.*:=${CFLAGS}:" config.mk
24     sed -i "s:4755:0755:" src/Makefile
25     epatch ${FILESDIR}/${P}-gcc3.patch
26     }
27    
28     src_compile() {
29     emake || die
30     }
31    
32     src_install() {
33     dodir /usr/bin /usr/share/info /usr/share/man/man1
34     make PREFIX=${D}/usr \
35     INFODIR=${D}/usr/share/info \
36     MANDIR=${D}/usr/share/man/man1 \
37     install || die
38     dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
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 ; do
45     mv zgv-$i zgv.info-$i
46     done
47     }

  ViewVC Help
Powered by ViewVC 1.1.20