summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-05-16 11:36:45 +0000
committerAchim Gottinger <achim@gentoo.org>2001-05-16 11:36:45 +0000
commit7bf50043af7cfc78a16641874935f3b022b0eadf (patch)
tree43355915fd036a6a52dcd350667058890e2fd318 /media-gfx/zgv
parentAdded "Usage" chapter (diff)
downloadhistorical-7bf50043af7cfc78a16641874935f3b022b0eadf.tar.gz
historical-7bf50043af7cfc78a16641874935f3b022b0eadf.tar.bz2
historical-7bf50043af7cfc78a16641874935f3b022b0eadf.zip
Various install bug fixes
Diffstat (limited to 'media-gfx/zgv')
-rw-r--r--media-gfx/zgv/zgv-5.3.ebuild24
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
}