/[gentoo-x86]/media-gfx/xzgv/xzgv-0.7-r1.ebuild
Gentoo

Contents of /media-gfx/xzgv/xzgv-0.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu May 19 04:05:23 2005 UTC (15 years, 1 month ago) by tester
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Fixed homepage and src_uri, removed vulnerable versions (see GLSA 200501-09) and marked stable on amd64, closes bugs #42092 and #74069
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/xzgv/xzgv-0.7-r1.ebuild,v 1.11 2005/01/05 16:32:01 chriswhite Exp $
4
5 DESCRIPTION="An X image viewer."
6 SRC_URI="http://xzgv.browser.org/${P}.tar.gz"
7 HOMEPAGE="http://xzgv.browser.org/"
8
9 SLOT="0"
10 LICENSE="GPL-2"
11 KEYWORDS="x86 -sparc"
12 IUSE=""
13
14 DEPEND="virtual/x11
15 media-libs/libpng
16 media-libs/jpeg
17 media-libs/tiff
18 sys-libs/zlib
19 =x11-libs/gtk+-1.2*
20 >=media-libs/imlib-1.0"
21
22 src_unpack() {
23 unpack ${A}
24
25 cd ${S}
26 cp config.mk config.mk.orig
27 sed -e "s:-O2 -Wall:${CFLAGS}:" \
28 config.mk.orig > config.mk
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 SHARE_INFIX=/share \
39 INFO_DIR_UPDATE=no \
40 MANDIR=${D}/usr/share/man/man1 \
41 install || die
42
43 # Fix info files
44 cd ${D}/usr/share/info
45 for i in 1 2 3
46 do
47 mv xzgv-$i.gz xzgv.info-$i.gz
48 done
49 gzip -dc xzgv.gz | \
50 sed -e 's:^xzgv-:xzgv\.info-:g' | \
51 gzip -9c > xzgv.info.gz
52 rm xzgv.gz
53
54 cd ${S}
55
56 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
57 }

  ViewVC Help
Powered by ViewVC 1.1.20