DOCS="AUTHORS COPYING HISTORY NEWS README THANKS TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=3.8.0pre2 PROGNAME="id3lib" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ id3lib: id3lib-$VERSION\n\ id3lib:\n\ id3lib: This package provides a software library for manipulating\n\ id3lib: ID3v1 and ID3v2 tags. It provides a convenient interface for\n\ id3lib: software developers to include standards-compliant ID3v1/2\n\ id3lib: tagging capabilities in their applications. Features include\n\ id3lib: identification of valid tags, automatic size conversions,\n\ id3lib: (re)synchronisation of tag frames, seamless tag (de)compression,\n\ id3lib: and optional padding facilities.\n\ id3lib:\n\ id3lib:" # maintainer ARCH=i386 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://id3lib.sourceforge.net/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/l/ # package name PKGNAME="id3lib-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/id3lib-$VERSION.tar.gz ; cd id3lib-$VERSION CXXFLAGS=$PKGOPT ./configure --prefix=/usr --disable-debug || exit 1 CXXFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/id3lib-$VERSION cp -a $DOCS /usr/doc/id3lib-$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..." }