summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-10-22 20:53:14 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-10-22 20:53:14 +0000
commit2d88f27a077142c2eb84f8b0519d78e15f3af490 (patch)
treea411f9003868eccea48e3414f184a8941cf1bb73 /media-gfx/fbi/fbi-1.11.ebuild
parentfixup (diff)
downloadhistorical-2d88f27a077142c2eb84f8b0519d78e15f3af490.tar.gz
historical-2d88f27a077142c2eb84f8b0519d78e15f3af490.tar.bz2
historical-2d88f27a077142c2eb84f8b0519d78e15f3af490.zip
fixup, install missing bin + manpage
Diffstat (limited to 'media-gfx/fbi/fbi-1.11.ebuild')
-rw-r--r--media-gfx/fbi/fbi-1.11.ebuild31
1 files changed, 15 insertions, 16 deletions
diff --git a/media-gfx/fbi/fbi-1.11.ebuild b/media-gfx/fbi/fbi-1.11.ebuild
index 86363afd30eb..a4b36b12947b 100644
--- a/media-gfx/fbi/fbi-1.11.ebuild
+++ b/media-gfx/fbi/fbi-1.11.ebuild
@@ -1,38 +1,37 @@
# 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/fbi/fbi-1.11.ebuild,v 1.1 2001/10/17 17:38:11 ryan Exp $
-A=fbi_1.11.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="fbi a framebuffer image viewer"
-SRC_URI="http://www.strusel007.de/linux/misc/"${A}
+SRC_URI="http://www.strusel007.de/linux/misc/`echo ${P} |sed -e 's:-:_:'`.tar.gz"
HOMEPAGE="http://www.strusel007.de/linux/fbi.html"
DEPEND=">=media-libs/jpeg-6b"
-src_unpack() {
- unpack ${A}
- cd ${S}/src
- cp Makefile Makefile.orig
- sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
- cd ${S}/libpcd
- cp Makefile Makefile.orig
- sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/src
+ sed -e "s:-O2:${CFLAGS}:" Makefile |cat >Makefile
+
+ cd ${S}/libpcd
+ sed -e "s:-O2:${CFLAGS}:" Makefile |cat >Makefile
}
src_compile() {
- try make CC=gcc
-
+ make CC=gcc || die
}
src_install() {
- dodoc README
- dobin src/fbi
- newman src/fbi.man fbi.1
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man/man1 \
+ install || die
+
+ dodoc COPYING README
}