summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-23 04:51:13 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-23 04:51:13 +0000
commit7a49b09c57089da424a59c9503b40a1bf747b179 (patch)
treebdb94d6b090642881e93e268c26b68e7314473dc /media-gfx/zgv/zgv-5.7-r1.ebuild
parentset ppc in keywords (Manifest recommit) (diff)
downloadgentoo-2-7a49b09c57089da424a59c9503b40a1bf747b179.tar.gz
gentoo-2-7a49b09c57089da424a59c9503b40a1bf747b179.tar.bz2
gentoo-2-7a49b09c57089da424a59c9503b40a1bf747b179.zip
stupid setuid bits BEGONE
Diffstat (limited to 'media-gfx/zgv/zgv-5.7-r1.ebuild')
-rw-r--r--media-gfx/zgv/zgv-5.7-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/zgv/zgv-5.7-r1.ebuild b/media-gfx/zgv/zgv-5.7-r1.ebuild
new file mode 100644
index 000000000000..852719cb4e32
--- /dev/null
+++ b/media-gfx/zgv/zgv-5.7-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/zgv/zgv-5.7-r1.ebuild,v 1.1 2004/01/23 04:51:13 vapier Exp $
+
+DESCRIPTION="A svgalib console image viewer"
+HOMEPAGE="http://www.svgalib.org/rus/zgv/"
+SRC_URI="http://www.svgalib.org/rus/zgv/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=media-libs/svgalib-1.4.2
+ >=media-libs/jpeg-6b-r2
+ media-libs/libpng
+ >=media-libs/tiff-3.5.5
+ >=sys-libs/zlib-1.1.4
+ sys-apps/gawk"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "/^CFLAGS=/s:=.*:=${CFLAGS}:" config.mk
+ sed -i "s:4755:0755:" src/Makefile
+ epatch ${FILESDIR}/${P}-gcc3.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_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
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY TODO
+
+ # Fix info files
+ 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
+}