toolame - Optimized mpeg-1/2 layer II audio encoder ChangeLog

HOWTO


# toolame
# =======
# The first version consists of a 'toolame' binary.  The second one is
# the librarized version that MPlayer uses.

# If you ever need to uninstall it, skip down to the bottom.


# toolame 02l
# ===========
cd
test -f installed/toolame-02l.tgz && mv installed/toolame-02l.tgz .
test ! -f toolame-02l.tgz &&
wget http://download.sf.net/toolame/toolame-02l.tgz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "toolame-*" -exec rm -r {} \;
tar xzvf ~/toolame-02l.tgz
cd toolame-02l
test $UID = 0 && chown -R root:root .

# Naturally if you don't have a Pentium IV, you'll want to set ARCH to
# something else.  See 'man gcc' for other types (it depends on your version
# of gcc, or I'd list them here).  If you use a version of gcc < 3.2.x,
# pentium4 is not a valid type (then you'd use i686).

make ARCH=-march=pentium4
su -c "install -s toolame /usr/local/bin/"
cd
mkdir -p -m 0700 installed
rm -f installed/toolame-*.tgz
mv toolame-02l.tgz installed/


# toolame 02m-beta8
# =================
cd
test -f installed/toolame-02m-beta8.tar.bz2 &&
mv installed/toolame-02m-beta8.tar.bz2 .
test ! -f toolame-02m-beta8.tar.bz2 &&
wget http://users.tpg.com.au/adslblvi/toolame/toolame-02m-beta8.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "toolame-*" -exec rm -r {} \;
tar xjvf ~/toolame-02m-beta8.tar.bz2
cd toolame-02m-beta8
test $UID = 0 && chown -R root:root .

# Naturally if you don't have a Pentium IV, you'll want to set ARCH to
# something else.  See 'man gcc' for other types (it depends on your version
# of gcc, or I'd list them here).  If you use a version of gcc < 3.2.x,
# pentium4 is not a valid type (then you'd use i686).

make ARCH=-march=pentium4

# Become root to install it
su

install -s stoolame toolame /usr/local/bin/
install -m 644 libtoolame/toolame.h /usr/local/include/
install libtoolame/libtoolame.a /usr/local/lib/

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/toolame-*.tar.* installed/toolame-*.tgz
mv toolame-02m-beta8.tar.bz2 installed/


# If you ever want to uninstall toolame, this should do it:
su -c "rm -f /usr/local/bin/toolame /usr/local/bin/stoolame \
/usr/local/include/toolame.h /usr/local/lib/libtoolame.a"
find ~/src -maxdepth 1 -type d -name "toolame-*" -exec rm -r {} \;
rm -f ~/installed/toolame-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2005-12-14 11:41am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]