Skip to content

Instantly share code, notes, and snippets.

@chrisjz
Created October 11, 2017 05:16
Show Gist options
  • Save chrisjz/13c1dcb134d552cc7cc0f092ee38f340 to your computer and use it in GitHub Desktop.
Save chrisjz/13c1dcb134d552cc7cc0f092ee38f340 to your computer and use it in GitHub Desktop.
Install libmad on Amazon Linux
#!/bin/sh
#source: http://www.linuxfromscratch.org/blfs/view/6.3/multimedia/libmad.html
#source 2: http://wiki.linuxfromscratch.org/blfs/wiki/libmad
wget http://downloads.sourceforge.net/mad/libmad-0.15.1b.tar.gz
tar -xvf libmad-0.15.1b.tar.gz
rm libmad-0.15.1b.tar.gz
cd libmad-0.15.1b
sed -i '/-fforce-mem/d' configure
./configure --prefix=/usr &&
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment