summaryrefslogtreecommitdiff
blob: 38b6cbb582a5e8566775e10e723f8c845e255421 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-news/glitter/glitter-1.0.ebuild,v 1.7 2003/09/07 00:16:42 msterret Exp $

DESCRIPTION="Glitter - a binary downloader for newsgroups"
HOMEPAGE="http://www.mews.org.uk/glitter/"
SRC_URI="http://www.mews.org.uk/glitter/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"
IUSE=""
DEPEND="gnome-base/gnome-libs"

src_unpack() {
	unpack ${A}
	echo "Patching gary for use with perl 5.8"
	cd ${S}; patch < ${FILESDIR}/${P}-gary-perl58.patch
}

src_compile() {

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--sysconfdir=/etc || die "./configure failed"

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}