IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.7.6 PROGNAME="normalize $VERSION" DESC="\ normalize (adjusts volume levels of audio files) \n\ \n\ normalize is a tool for adjusting the volume of audio files to a \n\ standard level. This is useful for things like creating mix CDs \n\ from mp3 collections, where different recording levels on \n\ different albums can cause the volume to vary greatly from song \n\ to song. The package also contains an XMMS plugin. \n\ \n\ Chris Vaill is the author of normalize." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://www1.cs.columbia.edu/~cvaill/normalize/ PKGNAME=normalize-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/normalize-$VERSION.tar.bz2 cd normalize-$VERSION/ chown -R root.root . 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 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --enable-xmms \ --with-mad \ --without-audiofile make } install() { make install DESTDIR=/package-normalize mkdir -p /package-normalize/usr/doc/normalize-$VERSION cp -a COPYING INSTALL NEWS README THANKS TODO \ /package-normalize/usr/doc/normalize-$VERSION ( cd /package-normalize/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-normalize/usr/bin } special() { cd $PKG mv package-normalize/* ./ rmdir package-normalize cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-normalize/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }