diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-05-16 11:36:45 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-05-16 11:36:45 +0000 |
commit | b46c10db0751fce3159a05f592d28773fa46e347 (patch) | |
tree | 5bc4231e1b91f73b2fe1379bd730f923a53f70c4 /media-gfx/zgv | |
parent | Added "Usage" chapter (diff) | |
download | gentoo-2-b46c10db0751fce3159a05f592d28773fa46e347.tar.gz gentoo-2-b46c10db0751fce3159a05f592d28773fa46e347.tar.bz2 gentoo-2-b46c10db0751fce3159a05f592d28773fa46e347.zip |
Various install bug fixes
Diffstat (limited to 'media-gfx/zgv')
-rw-r--r-- | media-gfx/zgv/zgv-5.3.ebuild | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/media-gfx/zgv/zgv-5.3.ebuild b/media-gfx/zgv/zgv-5.3.ebuild index 5a52f9c8f6c0..346269c346e0 100644 --- a/media-gfx/zgv/zgv-5.3.ebuild +++ b/media-gfx/zgv/zgv-5.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Ryan Tolboom <ryan@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.3.ebuild,v 1.1 2001/03/29 23:43:58 ryan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.3.ebuild,v 1.2 2001/05/16 11:36:45 achim Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -15,13 +15,29 @@ DEPEND=">=media-libs/svgalib-1.4.2 >=sys-libs/zlib-1.1.3 >=media-libs/tiff-3.5.5" +src_unpack() { + unpack ${A} + cd ${S}/src + cp Makefile Makefile.orig + sed -e "s:-O2 -fomit-frame-pointer -finline-functions:${CFLAGS}:" \ + Makefile.orig > Makefile +} src_compile() { - try make + try make } src_install() { - - make install + dodir /usr/bin /usr/share/{info,man} + make PREFIX=${D}/usr INFODIR=${D}/usr/share/info \ + MANDIR=${D}/usr/share/man install + cd ${D}/usr/share/info + rm dir* + mv zgv zgv.info + for i in 1 2 3 4 + do + mv zgv-$i zgv.info-$i + done + cd ${S} dodoc AUTHORS NEWS README README.fonts SECURITY TODO } |