void-packages/srcpkgs/libmms/template

44 lines
952 B
Text
Raw Normal View History

2010-12-13 21:31:24 +00:00
# Template file for 'libmms'
pkgname=libmms
version=0.6
revision=6
hostmakedepends="pkg-config"
makedepends="libglib-devel"
2010-12-13 21:31:24 +00:00
short_desc="MMS stream protocol library"
2013-03-31 07:51:20 +00:00
homepage="http://sourceforge.net/projects/libmms/"
license="LGPL-2.1"
2010-12-13 21:31:24 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
2010-12-13 21:31:24 +00:00
checksum=1f894f33b5e0334bd7c75343480bdf3a9cf79232aa92085c03f1a67e7d4ceb9d
long_desc="
libmms is a library for downloading (streaming) media files using the mmst
and mmsh protocols."
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} CFLAGS="-fPIC -DPIC"
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
}
libmms-devel_package() {
depends="libglib-devel libmms>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
libmms_package() {
pkg_install() {
vmove usr
}
}