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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Oct 14 08:27:26 2001 UTC (18 years, 3 months ago) by azarah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
added new zgv, fixed man page that installed into wrong dir

1 # Copyright 1999-2001 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Ryan Tolboom <ryan@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.3.ebuild,v 1.3 2001/05/29 17:28:19 achim Exp $
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="zgv an svgalib console image viewer"
9 SRC_URI="http://www.svgalib.org/rus/zgv/"${A}
10 HOMEPAGE="http://www.svgalib.org/rus/zgv"
11
12 DEPEND=">=media-libs/svgalib-1.4.2
13 >=media-libs/libpng-1.0.9
14 >=media-libs/tiff-3.5.5"
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}/src
19 cp Makefile Makefile.orig
20 sed -e "s:-O2 -fomit-frame-pointer -finline-functions:${CFLAGS}:" \
21 Makefile.orig > Makefile
22 }
23 src_compile() {
24
25 try make
26 }
27
28 src_install() {
29 dodir /usr/bin /usr/share/{info,man}
30 make PREFIX=${D}/usr INFODIR=${D}/usr/share/info \
31 MANDIR=${D}/usr/share/man install
32 cd ${D}/usr/share/info
33 rm dir*
34 mv zgv zgv.info
35 for i in 1 2 3 4
36 do
37 mv zgv-$i zgv.info-$i
38 done
39 cd ${S}
40 dodoc AUTHORS NEWS README README.fonts SECURITY TODO
41 }

  ViewVC Help
Powered by ViewVC 1.1.20