IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.0.1 PROGNAME="libvorbis $VERSION" DESC="\ libvorbis (Ogg Vorbis library) \n\ \n\ This library supports the Vorbis General Audio Compression Codec \n\ (commonly known as Ogg Vorbis). Ogg Vorbis is a fully open, \n\ non-proprietary, patent-and-royalty-free, general-purpose compressed \n\ audio format for audio and music at fixed and variable bitrates. \n\ \n\ The libvorbis library requires libao and libogg. You'll find some \n\ basic tools for creating and using Ogg Vorbis files in the \n\ vorbis-tools package." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/libvorbis PKGNAME=libvorbis-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/libvorbis-$VERSION.tar.gz cd libvorbis-$VERSION/ chown -R root.root . find . -perm 777 -exec chmod 755 {} \; find . -perm 664 -exec chmod 644 {} \; ./configure --prefix=/usr \ --build=s390-slackare-linux \ --host=s390-slackare-linux \ --target=s390-slackare-linux make } install() { make install DESTDIR=/package-libvorbis mv /package-libvorbis/usr/share/doc /package-libvorbis/usr/ cp -a AUTHORS COPYING HACKING README \ /package-libvorbis/usr/doc/libvorbis-$VERSION } special() { cd $PKG mv package-libvorbis/* ./ rmdir package-libvorbis cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-libvorbis/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }