#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=libmms
pkgver=0.6.2
pkgrel=1rl
source=("http://downloads.sourceforge.net/libmms/libmms-$pkgver.tar.gz")
docs=("authors" "copying.lib" "changelog" "install" "news" "readme" "readme.licence" "todo")
url="http://sourceforge.net/projects/libmms"

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (microsoft streaming protocol library)"
"LibMMS aims to be common mms:// and mmsh:// (Microsoft streaming"
"protocols) parsing library, licensed on LGPL, and thus usable by many"
"projects that don't use GPL."
)


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