Lines 1-19
Link Here
|
1 |
# Copyright 1999-2001 Gentoo Technologies, Inc. |
1 |
# Copyright 1999-2001 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License, v2 or later |
2 |
# Distributed under the terms of the GNU General Public License, v2 or later |
3 |
# Author Karl Trygve Kalleberg <karltk@gentoo.org> |
3 |
# Author Karl Trygve Kalleberg <karltk@gentoo.org> |
4 |
# /space/gentoo/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.3.ebuild,v 1.1 2001/11/11 22:10:20 karltk Exp |
|
|
5 |
|
4 |
|
6 |
S=${WORKDIR}/${P} |
5 |
S=${WORKDIR}/${PN}-0.6.5p2 |
7 |
DESCRIPTION="Hypertext info and man viewer based on (n)curses" |
6 |
DESCRIPTION="Hypertext info and man viewer based on (n)curses" |
8 |
SRC_URI="http://zeus.polsl.gliwice.pl/~pborys/stable-version/pinfo-0.6.3.tar.gz" |
7 |
SRC_URI="http://zeus.polsl.gliwice.pl/~pborys/stable-version/pinfo-0.6.5p2.tar.gz" |
9 |
HOMEPAGE="http://zeus.polsl.gliwice.pl/~pborys/" |
8 |
HOMEPAGE="http://zeus.polsl.gliwice.pl/~pborys/" |
10 |
DEPEND="virtual/glibc |
9 |
DEPEND="virtual/glibc |
11 |
>=sys-libs/ncurses-5.2 |
10 |
>=sys-libs/ncurses-5.2 |
12 |
>=sys-devel/gettext-0.10.39 |
11 |
>=sys-devel/gettext-0.10.39 |
13 |
>=sys-devel/bison-1.28" |
12 |
>=sys-devel/bison-1.28 |
|
|
13 |
nls? ( sys-devel/gettext )" |
14 |
|
14 |
|
15 |
src_compile() { |
15 |
src_compile() { |
16 |
local myconf |
16 |
local myconf |
|
|
17 |
|
18 |
if [ -z "`use nls`" ] ; then |
19 |
myconf="${myconf} --disable-nls" |
20 |
else |
21 |
myconf="${myconf} -- enable-nls" |
22 |
fi |
17 |
if [ "`use readline`" ] ; then |
23 |
if [ "`use readline`" ] ; then |
18 |
myconf="$myconf --with-readline" |
24 |
myconf="$myconf --with-readline" |
19 |
fi |
25 |
fi |