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

Contents of /media-gfx/zgv/zgv-5.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 6 02:00:52 2006 UTC (13 years, 6 months ago) by chriswhite
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Security punts for bug #140498.
(Portage version: 2.1.1_pre4-r2)
 (Signed Manifest commit)

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.8.ebuild,v 1.1 2004/11/06 15:30:05 lanius 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 sed -i -e 's:$(RM):echo:' src/Makefile
29 sed -i -e 's:$(RM):echo:' doc/Makefile
30 epatch ${FILESDIR}/zgv-5.8-integer-overflow-fix.diff
31 }
32
33 src_compile() {
34 emake || die
35 }
36
37 src_install() {
38 dodir /usr/bin /usr/share/info /usr/share/man/man1
39 make PREFIX=${D}/usr \
40 INFODIR=${D}/usr/share/info \
41 MANDIR=${D}/usr/share/man/man1 \
42 install || die
43 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
44
45 # Fix info files
46 cd ${D}/usr/share/info
47 rm dir*
48 mv zgv zgv.info
49 for i in 1 2 3 4 ; do
50 mv zgv-$i zgv.info-$i
51 done
52 }

  ViewVC Help
Powered by ViewVC 1.1.20