#!/bin/sh CWD=`pwd` ARCH=i486 VERSION=III-10pre0 cd /tmp tar xzvf $CWD/cdparanoia-$VERSION.src.tar.gz cd cdparanoia-$VERSION chown -R root:root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; find . -perm 444 -exec chmod 644 {} \; find . -perm 400 -exec chmod 644 {} \; find . -perm 440 -exec chmod 644 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 775 -exec chmod 755 {} \; find . -perm 511 -exec chmod 755 {} \; find . -perm 711 -exec chmod 755 {} \; find . -perm 555 -exec chmod 755 {} \; ./configure --prefix=/usr $ARCH-slackware-linux make make install mkdir -p /usr/doc/cdparanoia-$VERSION cp -a FAQ.txt GPL README cdparanoia.1.jp /usr/doc/cdparanoia-$VERSION chown -R root:root /usr/doc/cdparanoia-$VERSION chmod 755 /usr/lib/libcdda*.so mkdir -p /install cat $CWD/slack-desc > /install/slack-desc