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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jul 23 05:18:07 2002 UTC (17 years, 11 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
repoman'd

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-gfx/xzgv/xzgv-0.7.ebuild,v 1.3 2002/07/11 06:30:38 drobbins Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="An X image viewer."
7 SRC_URI="http://xzgv.browser.org/${P}.tar.gz"
8 HOMEPAGE="http://xzgv.browser.org/"
9
10 DEPEND=">=x11-base/xfree-4.0.3
11 >=media-libs/jpeg-6b-r2
12 >=media-libs/libpng-1.0.12
13 >=media-libs/tiff-3.5.5
14 >=sys-libs/zlib-1.1.3-r2
15 =x11-libs/gtk+-1.2*
16 >=media-libs/imlib-1.0"
17
18 src_unpack() {
19
20 unpack ${P}.tar.gz
21
22 cd ${S}
23 cp config.mk config.mk.orig
24 sed -e "s:-O2 -Wall:${CFLAGS}:" \
25 config.mk.orig > config.mk
26
27 }
28
29 src_compile() {
30
31 emake || die
32
33 }
34
35 src_install() {
36
37 dodir /usr/bin /usr/share/info /usr/man/man1
38 make PREFIX=${D}/usr \
39 SHARE_INFIX=/share \
40 INFO_DIR_UPDATE=no \
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 }
58

  ViewVC Help
Powered by ViewVC 1.1.20