Compiling id3v2 under Cygwin
Brought to you by:
myers_carpenter
#!/bin/bash
#Compiling id3v2 under Cygwin:
# You can run this with bash
#0. Prerequisites
#Install zlib and libiconv with Cygwin setup.exe
#1. id3lib
#Get the tarball from http://id3lib.sf.net and unpack it
curl http://easynews.dl.sourceforge.net/sourceforge/id3lib/id3lib-3.8.3.tar.gz | tar xvz
cd id3lib-3.8.3/
./configure
make
make install
cd ..
#2. id3v2
#Get the tarball from http://id3v2.sf.net and unpack it
curl http://easynews.dl.sourceforge.net/sourceforge/id3v2/id3v2-0.1.11.tar.gz | tar xvz
cd id3v2-0.1.11/
# apply patch http://tinyurl.com/a2jtln
mv Makefile Makefile.original
sed 's/-lz -lid3 -g -o $@ $^/-g -o $@ $^ -lid3 -lz -liconv/' Makefile.original > Makefile
make
make install
cd ..
echo Finished.
Original post as a downloadable file