libmad ------------------------------------------ MAD (libmad) is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented. Runtime requirements: cygwin-1.5.3 or newer Build requirements: cygwin-1.5.3 or newer Canonical homepage: http://www.underbit.com/products/mad/ Canonical download: ftp://ftp.mars.org/pub/mpeg/ ------------------------------------ Build instructions: unpack libmad-0.15.1b-EL-2-src.tar.bz2 if you use setup to install this src package, it will be unpacked under /usr/src automatically cd /usr/src and see below in "Port Notes" ------------------------------------------- Files included in the binary distro usr |-- bin | `-- cygmad-0.dll |-- doc | `-- Cygwin | `-- libmad-0.15.1b.README |-- include | `-- mad.h `-- lib |-- libmad.a |-- libmad.dll.a `-- libmad.la ------------------ Port Notes: CFLAGS="-O4 -mcpu=i686 -march=i686" ./configure --prefix=/usr --enable-speed --enable-fpm=intel --enable-sso --disable-debugging --enable-fast-install --disable-dependency-tracking --disable-libtool-lock make Relibtoolize by hand: gcc -shared -Wl,-export-all -Wl,--out-implib=libmad.dll.a -o cygmad-0.dll version.o fixed.o bit.o timer.o stream.o frame.o synth.o decoder.o layer12.o layer3.o huffman.o Will produce: -rw-r--r-- 1 user group 28976 Jul 8 13:33 libmad.dll.a -rwxr-xr-x 1 user group 100254 Jul 8 13:33 cygmad-0.dll libmad.dll.a will be installed in usr/lib cygmad-0.dll will be installed in usr/bin Installation: export IPREFIX=/tmp/libmad-0.15.1b-INSTALL # for packaging make install DESTDIR=$IPREFIX mkdir -p -- . $IPREFIX/usr/bin /usr/bin/install -c libmad.dll.a $IPREFIX/usr/lib /usr/bin/install -c cygmad-0.dll $IPREFIX/usr/bin mkdir -p -- . $IPREFIX/usr/doc/Cygwin /usr/bin/install -c -m 644 libmad-0.15.1b.README $IPREFIX/usr/doc/Cygwin/libmad-0.15.1b.README ----- version 0.15.1b-EL-2 ----- Packaged with dll and README ----- version 0.15.1b-EL-1 ----- Initial release Cygwin port maintained by: Eric LASSAUGE http://lassauge.free.fr/cygwin/