44 lines
949 B
Text
44 lines
949 B
Text
# Template file for 'libmms'
|
|
pkgname=libmms
|
|
version=0.6
|
|
revision=6
|
|
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=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
|
|
}
|
|
}
|