summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-10-14 08:27:26 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-10-14 08:27:26 +0000
commit0d0b7757961739c5e5b724046ce65a9dab507060 (patch)
treede0be89f057fd650a1e134365f5ffd84473d6605 /media-gfx/zgv
parentassimilated incoming apmd fix (diff)
downloadhistorical-0d0b7757961739c5e5b724046ce65a9dab507060.tar.gz
historical-0d0b7757961739c5e5b724046ce65a9dab507060.tar.bz2
historical-0d0b7757961739c5e5b724046ce65a9dab507060.zip
added new zgv, fixed man page that installed into wrong dir
Diffstat (limited to 'media-gfx/zgv')
-rw-r--r--media-gfx/zgv/files/digest-zgv-5.31
-rw-r--r--media-gfx/zgv/files/digest-zgv-5.51
-rw-r--r--media-gfx/zgv/zgv-5.5.ebuild (renamed from media-gfx/zgv/zgv-5.3.ebuild)34
3 files changed, 23 insertions, 13 deletions
diff --git a/media-gfx/zgv/files/digest-zgv-5.3 b/media-gfx/zgv/files/digest-zgv-5.3
deleted file mode 100644
index 8dd1f8b60336..000000000000
--- a/media-gfx/zgv/files/digest-zgv-5.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5de66ca1977a05b72508f80a2943ffa9 zgv-5.3.tar.gz
diff --git a/media-gfx/zgv/files/digest-zgv-5.5 b/media-gfx/zgv/files/digest-zgv-5.5
new file mode 100644
index 000000000000..8b8b0795aa24
--- /dev/null
+++ b/media-gfx/zgv/files/digest-zgv-5.5
@@ -0,0 +1 @@
+MD5 795e082dc738b94a2565981c14cf55ea zgv-5.5.tar.gz
diff --git a/media-gfx/zgv/zgv-5.3.ebuild b/media-gfx/zgv/zgv-5.5.ebuild
index 57165b692d1d..67ea2ac32d87 100644
--- a/media-gfx/zgv/zgv-5.3.ebuild
+++ b/media-gfx/zgv/zgv-5.5.ebuild
@@ -1,34 +1,43 @@
# 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.3 2001/05/29 17:28:19 achim Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
-DESCRIPTION="zgv an svgalib console image viewer"
-SRC_URI="http://www.svgalib.org/rus/zgv/"${A}
+DESCRIPTION="A svgalib console image viewer."
+SRC_URI="http://www.svgalib.org/rus/zgv/${P}.tar.gz"
HOMEPAGE="http://www.svgalib.org/rus/zgv"
DEPEND=">=media-libs/svgalib-1.4.2
- >=media-libs/libpng-1.0.9
- >=media-libs/tiff-3.5.5"
+ >=media-libs/jpeg-6b-r2
+ >=media-libs/libpng-1.0.12
+ >=media-libs/tiff-3.5.5
+ >=sys-libs/zlib-1.1.3-r2"
+
src_unpack() {
+
unpack ${A}
+
cd ${S}/src
cp Makefile Makefile.orig
sed -e "s:-O2 -fomit-frame-pointer -finline-functions:${CFLAGS}:" \
- Makefile.orig > Makefile
+ Makefile.orig > Makefile
}
+
src_compile() {
- try make
+ emake || die
}
src_install() {
- dodir /usr/bin /usr/share/{info,man}
- make PREFIX=${D}/usr INFODIR=${D}/usr/share/info \
- MANDIR=${D}/usr/share/man install
+
+ dodir /usr/bin /usr/share/info /usr/share/man/man1
+ make PREFIX=${D}/usr \
+ INFODIR=${D}/usr/share/info \
+ MANDIR=${D}/usr/share/man/man1 \
+ install || die
+
+ # Fix info files
cd ${D}/usr/share/info
rm dir*
mv zgv zgv.info
@@ -37,5 +46,6 @@ src_install() {
mv zgv-$i zgv.info-$i
done
cd ${S}
- dodoc AUTHORS NEWS README README.fonts SECURITY TODO
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
}