blob: e58be5c846487c16b35984cc0872ea7e5a818dc3 (
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
49
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/lopster/lopster-1.2.2-r1.ebuild,v 1.2 2005/05/30 22:02:54 sekretarz Exp $
inherit eutils
IUSE="nls oggvorbis zlib flac"
DESCRIPTION="A Napster Client using GTK"
HOMEPAGE="http://lopster.sourceforge.net"
SRC_URI="mirror://sourceforge/lopster/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
RDEPEND="=x11-libs/gtk+-1.2*
nls? ( sys-devel/gettext )
zlib? ( sys-libs/zlib )
flac? ( media-libs/flac )
oggvorbis? ( >=media-libs/libvorbis-1.0 )"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.59
>=sys-devel/automake-1.9"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PV}-bugfixes-1.patch
cd ${S}
export WANT_AUTOCONF=2.5
./autogen.sh
}
src_compile() {
econf \
--with-pthread \
--with-zlib \
`use_enable nls` \
`use_with zlib` \
`use_with flac` \
`use_with oggvorbis ogg` || die "econf failed"
emake || die
}
src_install () {
einstall || die
dodoc AUTHORS BUGS README ChangeLog NEWS TODO
}
|