a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
PortSystem 1.0
name alac_decoder
version 0.1.0
categories audio
maintainers nomaintainer@macports.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}
use_configure no
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}
}