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

ARCH=i386
BUILD=1

# pkginfo
VERSION=2.0.2
PROGNAME="Extended Module Player"
DESC="Extended Module Player (xmp) 2.0.2"

# maintainer
MAINTAINER="David Cantrell <david@slackware.com>"
SOURCE=http://xmp.helllabs.org

# package name
PKGNAME=xmp-$VERSION-$ARCH-$BUILD

compile() {
   ### build xmp
   tar xvzf $CWD/xmp-2.0.2.tar.gz
   cd xmp-2.0.2
   ./configure --prefix=/usr \
               --disable-alsa \
               --disable-xmms \
               --with-x
   make
}

install() {
   ### install xmp
   make install
   mkdir -p /usr/doc/xmp-2.0.2
   cp INSTALL README docs/COPYING docs/CREDITS docs/ChangeLog \
      docs/README* /usr/doc/xmp-2.0.2
}

special() {
   rm -rf /etc/xmp.conf.old
   rm -rf /etc/xmp-modules.conf.old
   rm -rf $PKG/etc/xmp.conf.old
   rm -rf $PKG/etc/xmp-modules.conf.old
}
