DOCS="AUTHORS COPY* NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=0.3.5 PROGNAME="SMPEG XMMS plugin" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ smpeg-xmms: smpeg-xmms-$VERSION\n\ smpeg-xmms:\n\ smpeg-xmms: smpeg-xmms is a XMMS Input plugin that allows XMMS to playback\n\ smpeg-xmms: mpeg video.\n\ smpeg-xmms: \n\ smpeg-xmms: Requires xmms,sdl,smpeg\n\ smpeg-xmms:\n\ smpeg-xmms:\n\ smpeg-xmms:\n\ smpeg-xmms:\n\ smpeg-xmms:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://www.xmms.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/xap/ # package name PKGNAME="smpeg-xmms-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/smpeg-xmms-$VERSION.tar.gz ; cd smpeg-xmms-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/usr || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/smpeg-xmms-$VERSION cp -a $DOCS /usr/doc/smpeg-xmms-$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..." }