IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var
STRIPLIB=y
STRIPBIN=y
SETATTR=y

ARCH=i386
BUILD=1

# pkginfo
VERSION=1.2.4
PROGNAME="XMMS - Multimedia player for the X Window System"
DESC="\
XMMS is a multimedia player for unix systems. XMMS stands for X MultiMedia  \n\
System and can play media files such as MP3, MOD's, WAV and others with the \n\
use of Input plugins."

# maintainer
MAINTAINER="Robert Stan <robalo@linuxmafia.org>"
SOURCE=http://www.xmms.org

# package name
PKGNAME=xmms

compile() {
   ### build xmms
   tar xvzf $CWD/xmms-$VERSION.tar.gz
   cd xmms-$VERSION
   CFLAGS=-O2 ./configure --prefix=/usr \
				    --with-catgets \
				    --with-gnome
   CFLAGS=-O2 make
}

install() {
   ### install xmms
   make install
   mkdir -p /usr/doc/xmms-$VERSION
   cp AUTHORS COPYING ChangeLog FAQ NEWS README TODO /usr/doc/xmms-$VERSION
}