void-packages/srcpkgs/libmms/template

45 lines
949 B
Plaintext
Raw Normal View History

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