/[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.1.1 - (show annotations) (download) (vendor branch)
Wed Nov 30 09:37:37 2005 UTC (14 years, 2 months ago) by chriswhite
Changes since 1.1: +5 -2 lines
*** empty log message ***

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.7-r1.ebuild,v 1.4 2004/07/14 18:35:15 agriffis Exp $
4
5 inherit eutils
6
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 IUSE=""
15
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