summaryrefslogtreecommitdiff
blob: f32e804cda0371bdbf35c2434ae6824f4d58883e (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/fags/fags-0.2.1.ebuild,v 1.1 2002/06/25 10:26:11 bangert Exp $


S=${WORKDIR}/${P}
DESCRIPTION="The Free AudioGalaxy Satellite.  An open source alternative"
HOMEPAGE="http://cljwwqelyxosotul.sess.tty0.org/page/fags"
SRC_URI="http://cljwwqelyxosotul.sess.tty0.org/files/${PN}/${P}.tar.gz"
LICENSE="GPL-2"

DEPEND="oggvorbis? ( media-libs/libvorbis )
	media-sound/mp3info"

src_compile() {

	local myconf

	use oggvorbis || myconf="${myconf} --disable-vorbis"

	econf ${myconf} || die
	emake || die
}

src_install() {

	einstall || die
	dodoc AUTHORS README COPYING INSTALL ChangeLog NEWS TODO

}

pkg_postinst() {

	einfo "Run this once, then change the settings in ~/.fags/config"
	einfo "Then run it again."

}