# Template file for 'libmms'
pkgname=libmms
version=0.6.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel"
short_desc="MMS stream protocol library"
homepage="http://sourceforge.net/projects/libmms/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=01931b62172d7d7050fc9ef9b1b64162f3b6e9f6cc4415170192a32a0b7ea432
long_desc="
 libmms is a library for downloading (streaming) media files using the mmst
 and mmsh protocols."

libmms-devel_package() {
	depends="libglib-devel libmms>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

libmms_package() {
	pkg_install() {
		vmove usr
	}
}
