#!/bin/sh CWD=`pwd` cd /tmp tar xzvf $CWD/SDL-1.2.1.tar.gz cd SDL-1.2.1 ./configure --prefix=/usr make make install mkdir -p /usr/doc/SDL-1.2.1/html cp -a docs/index.html /usr/doc/SDL-1.2.1 cp -a docs/html/*.html /usr/doc/SDL-1.2.1/html cp -a BUGS COPYING CREDITS INSTALL README* TODO WhatsNew /usr/doc/SDL-1.2.1 chown -R root.root /usr/doc/SDL-1.2.1