blob: a4b36b12947b3d06e4d4a3be8dafb192b66a9ce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>
S=${WORKDIR}/${P}
DESCRIPTION="fbi a framebuffer image viewer"
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
sed -e "s:-O2:${CFLAGS}:" Makefile |cat >Makefile
cd ${S}/libpcd
sed -e "s:-O2:${CFLAGS}:" Makefile |cat >Makefile
}
src_compile() {
make CC=gcc || die
}
src_install() {
make prefix=${D}/usr \
mandir=${D}/usr/share/man/man1 \
install || die
dodoc COPYING README
}
|