summaryrefslogtreecommitdiff
blob: 8985a91a41a0af7e626cd97e249430c035bd8139 (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
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Erik Van Reeth <erik@vanreeth.org>

A=${P}.tar.bz2
S=${WORKDIR}/${P}
DESCRIPTION="A newsreader for GNOME."
SRC_URI="http://pan.rebelbase.com/download/${PV}/${A}"
HOMEPAGE="http://pan.rebelbase.com/"

DEPEND="virtual/x11 nls? ( sys-devel/gettext )
	>=gnome-base/gnome-libs-1.0.16
        gtkhtml? ( >=gnome-base/gtkhtml-0.8.3 )"

src_compile() {
        local myconf
        if [ -z "`use nls`" ] ; then
          myconf="--disable-nls"
        fi
        if [ "`use gtkhtml`" ] ; then
          myconf="$myconf --enable-html"
        fi
	try ./configure --prefix=/opt/gnome $myconf
	try make

}

src_install () {

	try make prefix=${D}/opt/gnome install
	dodoc AUTHORS COPYING ChangeLog NEWS README TODO

}