#Packager: Richard Lapointe <richardl@laprjns.com>
#Former Packager(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=easypmp
pkgver=0.14
pkgrel=1rl	
#arch=noarch
source=(http://kent.dl.sourceforge.net/sourceforge/pmplib/pmplib-0.14.tar.gz)
sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://kent.dl.sourceforge.net/sourceforge/pmplib
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')


#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"easypmp (pmplib) is a portable music player database manager"
"easypmp is a command line utility used to create and maintain the"
" music database and playlists on a variety of portable media players"
"including the iRiver H100 and H300 series, the iRiver H10, U10 and"
" E10, the Samsung YH-820, YH-920 and YH-925, the MSI MEGA" 
"PLAYER 540 and the Philips HDD6320."
)


build() {
	NAME="pmplib"
	cd $startdir/src/$NAME-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}