blob: 51b515c36d6e1df7cf985a90bbcf6cbe1658c7d6 (
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
38
39
40
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.5_p2.ebuild,v 1.1 2002/03/15 11:53:21 seemant Exp $
MY_P=${PN}-0.6.5p2
S=${WORKDIR}/${MY_P}
DESCRIPTION="Hypertext info and man viewer based on (n)curses"
SRC_URI="http://zeus.polsl.gliwice.pl/~pborys/stable-version/${MY_P}.tar.gz"
HOMEPAGE="http://zeus.polsl.gliwice.pl/~pborys/"
DEPEND="virtual/glibc
>=sys-libs/ncurses-5.2
nls? ( >=sys-devel/gettext-0.10.39 )
>=sys-devel/bison-1.28"
src_compile() {
local myconf
if [ "`use readline`" ] ; then
myconf="${myconf} --with-readline"
fi
if [ -z "`use nls`" ] ; then
myconf="${myconf} --disable-nls"
else
myconf="${myconf} --enable-nls"
fi
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
$myconf || die "./configure failed"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
}
|