summaryrefslogtreecommitdiff
blob: 7c10997a099aba90153e57c169f872096980566f (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/straw/straw-0.19.1.ebuild,v 1.4 2003/09/06 02:05:10 msterret Exp $

DESCRIPTION="rss news aggregator"
HOMEPAGE="http://www.nongnu.org/straw/"
SRC_URI="http://savannah.nongnu.org/download/${PN}/${PN}.pkg/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE=""
DEPEND="virtual/python
	>=gnome-base/libglade-2
	>=gnome-base/libgnome-2.0.1
	>=dev-python/gnome-python-1.99.13
	>=dev-python/pygtk-1.99.13-r1
	>=dev-python/bsddb3-3.4.0
	>=dev-python/pyxml-0.8.1
	>=dev-python/egenix-mx-base-2
	=dev-python/adns-python-1.0.0"

src_unpack() {
	unpack ${A}

	cd ${S}
	mv Makefile Makefile.orig
	sed -e "s:-d \$(BINDIR) \$(LIBDIR) \$(DATADIR):-d \$(BINDIR) \$(LIBDIR) \$(DATADIR) \$(APPLICATIONSDIR) \$(ICONDIR):" Makefile.orig > Makefile || die
}

src_compile() {
	emake || die
}

src_install() {
	emake PREFIX=${D}/usr install || die

	dodoc NEWS README TODO
}