DOCS="AUTHORS COPYING FAQ NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=1.2.7 PROGNAME="XMMS - X Multimedia System" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ xmms: XMMS-$VERSION\n\ xmms:\n\ xmms: XMMS is a cross-platform multimedia player. Since it uses the WinAmp\n\ xmms: GUI, it can use WinAmp skins. It can play audio formats such as mp3,\n\ xmms: mod, s3m, and ogg. It has support for input, output, general, and\n\ xmms: visualization plugins.\n\ xmms:\n\ xmms:\n\ xmms:\n\ xmms:\n\ 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="xmms-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -march=$ARCH" compile() { tar xvyf $CWD/xmms-$VERSION.tar.bz2 ; cd xmms-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done CFLAGS=$PKGOPT ./configure --prefix=/usr \ --localstatedir=/var/lib \ --without-gnome \ --disable-opengl || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/xmms-$VERSION cp $DOCS /usr/doc/xmms-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }