DOCS="ACKNOWLEDGEMENTS AUTHORS COPY* NEWS NOTES README TODO docs" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.2.3 PROGNAME="audiofile" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ audiofile: audiofile-$VERSION\n\ audiofile:\n\ audiofile: The Audio File Library provides an elegant API for accessing a\n\ audiofile: variety of audio file formats, such as AIFF/AIFF-C, WAVE, and\n\ audiofile: NeXT/Sun .snd/.au, in a manner independent of file and data formats.\n\ audiofile:\n\ audiofile:\n\ audiofile:\n\ audiofile:\n\ audiofile:\n\ audiofile:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://oss.sgi.com/projects/audiofile/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="audiofile-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/audiofile-$VERSION.tar.gz ; cd audiofile-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/audiofile-$VERSION cp -a $DOCS /usr/doc/audiofile-$VERSION } attributes() { echo "No special attributes..." } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }