# $Id: Portfile,v 1.1 2005/03/05 22:38:11 toby Exp $

PortSystem 1.0
name             alac_decoder
version          0.1.0
categories       audio
maintainers      toby@opendarwin.org
description      basic decoder for Apple Lossless Audio Codec files
long_description \
	This is a basic decoder for Apple Lossless Audio Codec files \
	(ALAC). ALAC is a proprietary lossless audio compression scheme. \
	Apple never released any documents on the format. What I provide \
	here is a C implementation of a decoder, written from reverse \
	engineering the file format. It turns out that most of the \
	algorithms in the codec are fairly well known. ALAC uses an \
	adaptive FIR prediction algorithm and stores the error values \
	using a modified rice or golumb algorithm.
homepage         http://craz.net/programs/itunes/alac.html
platforms        darwin
master_sites     http://craz.net/programs/itunes/files/
checksums        md5 f554fc11ee41a30bc5baf15a0fd07256

worksrcdir       ${name}

configure        {}

build.target

destroot {
	xinstall -m 555 ${worksrcpath}/alac ${destroot}${prefix}/bin
	xinstall -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 444 ${worksrcpath}/README \
		${destroot}${prefix}/share/doc/${name}
}
