# Template file for 'libmms'
pkgname=libmms
version=0.6
revision=2
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=custom-install
short_desc="MMS stream protocol library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1f894f33b5e0334bd7c75343480bdf3a9cf79232aa92085c03f1a67e7d4ceb9d
long_desc="
 libmms is a library for downloading (streaming) media files using the mmst
 and mmsh protocols."

subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run glib
Add_dependency build pkg-config
Add_dependency build glib-devel

do_build()
{
	./configure --prefix=/usr CFLAGS="-fPIC -DPIC" && make ${makejobs}
}

do_install()
{
	make DESTDIR=${DESTDIR} install
}
