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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jan 23 04:51:13 2004 UTC (16 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
stupid setuid bits BEGONE

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.7.ebuild,v 1.2 2003/10/07 06:49:29 brandy Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="A svgalib console image viewer."
7 SRC_URI="http://www.svgalib.org/rus/zgv/${P}.tar.gz"
8 HOMEPAGE="http://www.svgalib.org/rus/zgv"
9
10 SLOT="0"
11 LICENSE="GPL-2"
12 KEYWORDS="~x86"
13
14 DEPEND=">=media-libs/svgalib-1.4.2
15 >=media-libs/jpeg-6b-r2
16 media-libs/libpng
17 >=media-libs/tiff-3.5.5
18 >=sys-libs/zlib-1.1.4
19 sys-apps/gawk"
20
21 src_unpack() {
22 unpack ${A}
23
24 cd ${S}/src
25 cp Makefile Makefile.orig
26 sed -e "s:-O2 -fomit-frame-pointer -finline-functions:${CFLAGS}:" \
27 Makefile.orig > Makefile
28 epatch ${FILESDIR}/${P}-gcc3.patch
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 INFODIR=${D}/usr/share/info \
39 MANDIR=${D}/usr/share/man/man1 \
40 install || die
41
42 # Fix info files
43 cd ${D}/usr/share/info
44 rm dir*
45 mv zgv zgv.info
46 for i in 1 2 3 4
47 do
48 mv zgv-$i zgv.info-$i
49 done
50 cd ${S}
51
52 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
53 }

  ViewVC Help
Powered by ViewVC 1.1.20