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

Contents of /media-gfx/xzgv/xzgv-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (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.7: +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.8.ebuild,v 1.7 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 sys-apps/gawk
16 media-libs/libpng
17 media-libs/jpeg
18 media-libs/tiff
19 sys-libs/zlib
20 =x11-libs/gtk+-1.2*
21 >=media-libs/imlib-1.0"
22
23 src_unpack() {
24 unpack ${A}
25
26 cd ${S}
27 cp config.mk config.mk.orig
28 sed -i -e "s:-O2 -Wall:${CFLAGS}:" config.mk
29
30 case "${ARCH}" in
31 "x86")
32 ;;
33 *)
34 sed -i -e "s/CFLAGS+=-DINTERP_MMX/#&/" config.mk
35 ;;
36 esac
37 }
38
39 src_compile() {
40 emake || die
41 }
42
43 src_install() {
44 dodir /usr/bin /usr/share/info /usr/share/man/man1
45 make PREFIX=${D}/usr \
46 SHARE_INFIX=/share \
47 INFO_DIR_UPDATE=no \
48 MANDIR=${D}/usr/share/man/man1 \
49 install || die
50
51 # Fix info files
52 cd ${D}/usr/share/info
53 for i in 1 2 3
54 do
55 mv xzgv-$i.gz xzgv.info-$i.gz
56 done
57 gzip -dc xzgv.gz | \
58 sed -e 's:^xzgv-:xzgv\.info-:g' | \
59 gzip -9c > xzgv.info.gz
60 rm xzgv.gz
61
62 cd ${S}
63
64 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
65 }

  ViewVC Help
Powered by ViewVC 1.1.20