blob: 47408897bfd1e20ddf94075fe4e589f6f795c4a0 (
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
41
42
43
44
45
46
47
48
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
S=${WORKDIR}/${P}
DESCRIPTION="A newsreader for GNOME."
SRC_URI="http://pan.rebelbase.com/download/releases/${PV}/SOURCE/${P}.tar.bz2"
HOMEPAGE="http://pan.rebelbase.com/"
SLOT="0"
DEPEND="virtual/x11
nls? ( sys-devel/gettext )
>=gnome-base/gnome-libs-1.4.1.2-r1
>=media-libs/gdk-pixbuf-0.11.0-r1
>=dev-libs/libxml-1.8.11
gtkhtml? ( >=gnome-extra/gtkhtml-0.14.0-r1 )"
src_compile() {
local myconf=""
if [ -z "`use nls`" ]
then
myconf="${myconf} --disable-nls"
mkdir intl
touch intl/libgettext.h
fi
use gtkhtml && myconf="${myconf} --enable-html"
./configure --host=${CHOST} \
--prefix=/usr \
--sysconfdir=/etc \
${myconf} || die
# Doesn't work with -j 4 (hallski)
make || die
}
src_install() {
make \
prefix=${D}/usr \
sysconfdir=${D}/etc \
install
dodoc AUTHORS COPYING ChangeLog NEWS README TODO
}
|