# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

RESTRICT="nomirror"
IUSE=""
DESCRIPTION="Mac2flac is a convenient command-line frontend for the mac and flac libraries for converting files from Monkeys Audio format to Flac."
HOMEPAGE="http://orford.org/mac2flac/"
SRC_URI="http://orford.org/assets/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND=">=dev-libs/glib-2.0
	>=media-libs/flac-1.2
	>=media-sound/mac-3.99.4"
	
src_compile() {
	local myconf

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

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