summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/xzgv')
-rw-r--r--media-gfx/xzgv/files/digest-xzgv-0.71
-rw-r--r--media-gfx/xzgv/xzgv-0.7-r1.ebuild16
-rw-r--r--media-gfx/xzgv/xzgv-0.7.ebuild58
3 files changed, 8 insertions, 67 deletions
diff --git a/media-gfx/xzgv/files/digest-xzgv-0.7 b/media-gfx/xzgv/files/digest-xzgv-0.7
deleted file mode 100644
index e6717c919a9c..000000000000
--- a/media-gfx/xzgv/files/digest-xzgv-0.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 37b5bd8286de9f1047f603879460b364 xzgv-0.7.tar.gz 297485
diff --git a/media-gfx/xzgv/xzgv-0.7-r1.ebuild b/media-gfx/xzgv/xzgv-0.7-r1.ebuild
index 947061a6f64e..071ad658e8c4 100644
--- a/media-gfx/xzgv/xzgv-0.7-r1.ebuild
+++ b/media-gfx/xzgv/xzgv-0.7-r1.ebuild
@@ -1,14 +1,15 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xzgv/xzgv-0.7-r1.ebuild,v 1.1 2002/06/29 02:13:35 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xzgv/xzgv-0.7-r1.ebuild,v 1.2 2002/07/23 05:18:07 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="An X image viewer."
SRC_URI="http://xzgv.browser.org/${P}.tar.gz"
HOMEPAGE="http://xzgv.browser.org/"
-SLOT=""
+SLOT="0"
LICENSE="GPL-2"
+KEYWORDS="x86"
DEPEND="virtual/x11
media-libs/libpng
@@ -38,9 +39,9 @@ src_compile() {
src_install() {
dodir /usr/bin /usr/share/info /usr/share/man/man1
- make PREFIX=${D}/usr \
- SHARE_INFIX=/share \
- INFO_DIR_UPDATE=no \
+ make PREFIX=${D}/usr \
+ SHARE_INFIX=/share \
+ INFO_DIR_UPDATE=no \
MANDIR=${D}/usr/share/man/man1 \
install || die
@@ -50,8 +51,8 @@ src_install() {
do
mv xzgv-$i.gz xzgv.info-$i.gz
done
- gzip -dc xzgv.gz | \
- sed -e 's:^xzgv-:xzgv\.info-:g' | \
+ gzip -dc xzgv.gz | \
+ sed -e 's:^xzgv-:xzgv\.info-:g' | \
gzip -9c > xzgv.info.gz
rm xzgv.gz
@@ -59,4 +60,3 @@ src_install() {
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
}
-
diff --git a/media-gfx/xzgv/xzgv-0.7.ebuild b/media-gfx/xzgv/xzgv-0.7.ebuild
deleted file mode 100644
index 907d5719f630..000000000000
--- a/media-gfx/xzgv/xzgv-0.7.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xzgv/xzgv-0.7.ebuild,v 1.3 2002/07/11 06:30:38 drobbins Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="An X image viewer."
-SRC_URI="http://xzgv.browser.org/${P}.tar.gz"
-HOMEPAGE="http://xzgv.browser.org/"
-
-DEPEND=">=x11-base/xfree-4.0.3
- >=media-libs/jpeg-6b-r2
- >=media-libs/libpng-1.0.12
- >=media-libs/tiff-3.5.5
- >=sys-libs/zlib-1.1.3-r2
- =x11-libs/gtk+-1.2*
- >=media-libs/imlib-1.0"
-
-src_unpack() {
-
- unpack ${P}.tar.gz
-
- cd ${S}
- cp config.mk config.mk.orig
- sed -e "s:-O2 -Wall:${CFLAGS}:" \
- config.mk.orig > config.mk
-
-}
-
-src_compile() {
-
- emake || die
-
-}
-
-src_install() {
-
- dodir /usr/bin /usr/share/info /usr/man/man1
- make PREFIX=${D}/usr \
- SHARE_INFIX=/share \
- INFO_DIR_UPDATE=no \
- install || die
-
- # Fix info files
- cd ${D}/usr/share/info
- for i in 1 2 3
- do
- mv xzgv-$i.gz xzgv.info-$i.gz
- done
- gzip -dc xzgv.gz | \
- sed -e 's:^xzgv-:xzgv\.info-:g' | \
- gzip -9c > xzgv.info.gz
- rm xzgv.gz
-
- cd ${S}
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
-}
-