summaryrefslogtreecommitdiff
blob: 7eb03f0786ee594db13ddfb72051f9ca72e394f8 (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
# 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>
# $Header: /var/cvsroot/gentoo-x86/net-news/pan/pan-0.11.0.90.ebuild,v 1.1 2001/11/15 17:05:14 hallski Exp $


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

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

	use nls     || myconf=--disable-nls
	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
}